Skip to content

Commit b1e8dab

Browse files
committed
Remove "excessive sync" icon.
Bug: 5354985 Change-Id: Ie0ce3448ff33c3211d79e8c699f5709561f463b0
1 parent a6ccaa7 commit b1e8dab

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)