commit | b1e8dab967330b34d499b83a8112cbb3015a1e53 | [log] [tgz] |
---|---|---|
author | Daniel Sandler <dsandler@android.com> | Mon Sep 26 20:06:19 2011 -0400 |
committer | Daniel Sandler <dsandler@android.com> | Mon Sep 26 20:06:19 2011 -0400 |
tree | 498591163649e56935a1298d3c0ffff0d2d4f738 | |
parent | a6ccaa736d18d1ee375162e9df9d2aad8db869e5 [diff] [blame] |
Remove "excessive sync" icon. Bug: 5354985 Change-Id: Ie0ce3448ff33c3211d79e8c699f5709561f463b0
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java index 05e171c..9bee5df 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
@@ -64,6 +64,8 @@ private static final int INET_CONDITION_THRESHOLD = 50; + private static final boolean SHOW_SYNC_ICON = false; + private final Context mContext; private final StatusBarManager mService; private final Handler mHandler = new Handler(); @@ -195,6 +197,7 @@ } private final void updateSyncState(Intent intent) { + if (!SHOW_SYNC_ICON) return; boolean isActive = intent.getBooleanExtra("active", false); boolean isFailing = intent.getBooleanExtra("failing", false); mService.setIconVisibility("sync_active", isActive);