[automerger] Remove notification dots setting for Launcher3Go am: c138515c4e

Change-Id: I2fdd2f33babf294140a649fafebc68d6e45b86d7
This commit is contained in:
Tony Wickham committed 2017-08-14 22:09:39 +00:00
commit d424b25be4
4 files changed
+23 -6

No files matched your search

@@ -98,6 +98,8 @@ public class SettingsActivity extends Activity {
getPreferenceScreen().removePreference(
findPreference(SessionCommitReceiver.ADD_ICON_PREFERENCE_KEY));
getPreferenceScreen().removePreference(iconBadgingPref);
} else if (!getResources().getBoolean(R.bool.notification_badging_enabled)) {
getPreferenceScreen().removePreference(iconBadgingPref);
} else {
// Listen to system notification badge settings while this UI is active.
mIconBadgingObserver = new IconBadgingObserver(
@@ -55,8 +55,6 @@ abstract class BaseFlags {
public static final boolean NO_ALL_APPS_ICON = true;
// When enabled the status bar may show dark icons based on the top of the wallpaper.
public static final boolean LIGHT_STATUS_BAR = false;
// When enabled icons are badged with the number of notifications associated with that app.
public static final boolean BADGE_ICONS = true;
// When enabled, icons not supporting {@link AdaptiveIconDrawable} will be wrapped in {@link FixedScaleDrawable}.
public static final boolean LEGACY_ICON_TREATMENT = true;
// When enabled, adaptive icons would have shadows baked when being stored to icon cache.
@@ -32,7 +32,6 @@ import android.util.Log;
import android.util.Pair;
import com.android.launcher3.LauncherModel;
import com.android.launcher3.config.FeatureFlags;
import com.android.launcher3.util.PackageUserKey;
import com.android.launcher3.util.SettingsObserver;
@@ -164,9 +163,6 @@ public class NotificationListener extends NotificationListenerService {
}
public static void setNotificationsChangedListener(NotificationsChangedListener listener) {
if (!FeatureFlags.BADGE_ICONS) {
return;
}
sNotificationsChangedListener = listener;
NotificationListener notificationListener = getInstanceIfConnected();