Skip to content

Commit 097a35b

Browse files
dsandlerAndroid Git Automerger
authored andcommitted
am 25bb73e: Merge "Remove "excessive sync" icon." into ics-factoryrom
* commit '25bb73eb1bc16921cc013b9b150c2d440d650c39': Remove "excessive sync" icon.
2 parents 53a7af3 + 25bb73e commit 097a35b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ public class PhoneStatusBarPolicy {
6464

6565
private static final int INET_CONDITION_THRESHOLD = 50;
6666

67+
private static final boolean SHOW_SYNC_ICON = false;
68+
6769
private final Context mContext;
6870
private final StatusBarManager mService;
6971
private final Handler mHandler = new Handler();
@@ -195,6 +197,7 @@ private final void updateAlarm(Intent intent) {
195197
}
196198

197199
private final void updateSyncState(Intent intent) {
200+
if (!SHOW_SYNC_ICON) return;
198201
boolean isActive = intent.getBooleanExtra("active", false);
199202
boolean isFailing = intent.getBooleanExtra("failing", false);
200203
mService.setIconVisibility("sync_active", isActive);

0 commit comments

Comments
 (0)