Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24836c5f authored by Julia Reynolds's avatar Julia Reynolds
Browse files

Don't reset DND notification flag

The reset was only needed during development.

Change-Id: I3b850f156e1ebc512edcfe077dd4e83a7db22590
Fixes: 109661452
Test: create a new user (no notification). Upgrade from O: notification
parent 1b61d018
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -3726,17 +3726,7 @@ public class SettingsProvider extends ContentProvider {
                }

                if (currentVersion == 164) {
                    // Version 164: show zen upgrade notification
                    final SettingsState settings = getGlobalSettingsLocked();
                    final Setting currentSetting = settings.getSettingLocked(
                            Global.SHOW_ZEN_UPGRADE_NOTIFICATION);
                    if (!currentSetting.isNull()
                            && TextUtils.equals("0", currentSetting.getValue())) {
                        settings.insertSettingLocked(
                                Global.SHOW_ZEN_UPGRADE_NOTIFICATION, "1",
                                null, true, SettingsState.SYSTEM_PACKAGE_NAME);
                    }

                    // Version 164: REMOVED: show zen upgrade notification
                    currentVersion = 165;
                }