Loading services/core/java/com/android/server/notification/ZenModeHelper.java +3 −3 Original line number Diff line number Diff line Loading @@ -1161,13 +1161,13 @@ public class ZenModeHelper { final boolean showNotification = mIsBootComplete && zen != Global.ZEN_MODE_OFF && !isWatch && Settings.Global.getInt(mContext.getContentResolver(), && Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.SHOW_ZEN_UPGRADE_NOTIFICATION, 0) != 0 && Settings.Global.getInt(mContext.getContentResolver(), && Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.ZEN_SETTINGS_UPDATED, 0) != 1; if (isWatch) { Settings.Global.putInt(mContext.getContentResolver(), Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.SHOW_ZEN_UPGRADE_NOTIFICATION, 0); } Loading Loading
services/core/java/com/android/server/notification/ZenModeHelper.java +3 −3 Original line number Diff line number Diff line Loading @@ -1161,13 +1161,13 @@ public class ZenModeHelper { final boolean showNotification = mIsBootComplete && zen != Global.ZEN_MODE_OFF && !isWatch && Settings.Global.getInt(mContext.getContentResolver(), && Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.SHOW_ZEN_UPGRADE_NOTIFICATION, 0) != 0 && Settings.Global.getInt(mContext.getContentResolver(), && Settings.Secure.getInt(mContext.getContentResolver(), Settings.Secure.ZEN_SETTINGS_UPDATED, 0) != 1; if (isWatch) { Settings.Global.putInt(mContext.getContentResolver(), Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.SHOW_ZEN_UPGRADE_NOTIFICATION, 0); } Loading