Revert "Disable DND status change notification on watches."

This reverts commit 506417450b.

Reason for revert: Looking for +2 from main Android team.

Change-Id: Ieae138d8a2acce814d6ddbef2545e319edd216fe
This commit is contained in:
Nick James
2018-07-03 16:37:25 +00:00
parent 506417450b
commit d7f77cfab7

View File

@@ -1182,11 +1182,8 @@ public class ZenModeHelper {
}
private void showZenUpgradeNotification(int zen) {
final boolean isWatch = mContext.getPackageManager().hasSystemFeature(
PackageManager.FEATURE_WATCH);
final boolean showNotification = mIsBootComplete
&& zen != Global.ZEN_MODE_OFF
&& !isWatch
&& Settings.Global.getInt(mContext.getContentResolver(),
Settings.Global.SHOW_ZEN_UPGRADE_NOTIFICATION, 0) != 0;