From ed519187c5e5dbca75e38fdc10039c99ed4d8c69 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Fri, 3 Jan 2025 16:00:19 -0800 Subject: [PATCH] privacy: Show notification for privacy settings again - Since a new option has been introduced the privacy app. Tests: - When the patch is applied and service is restart, privacy app's setup is run again and notification is shown when it has already been dismissed. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Benedek Nagy --- plinth/modules/privacy/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plinth/modules/privacy/__init__.py b/plinth/modules/privacy/__init__.py index ee0c0efa5..7b5567954 100644 --- a/plinth/modules/privacy/__init__.py +++ b/plinth/modules/privacy/__init__.py @@ -26,7 +26,7 @@ class PrivacyApp(app_module.App): app_id = 'privacy' - _version = 3 + _version = 4 can_be_disabled = False @@ -64,7 +64,7 @@ class PrivacyApp(app_module.App): if old_version == 0: privileged.set_configuration(enable_popcon=True) - if old_version < 3: + if old_version < 4: _show_privacy_notification()