We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents da42e0f + b1e8dab commit 25bb73eCopy full SHA for 25bb73e
1 file changed
packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
@@ -64,6 +64,8 @@ public class PhoneStatusBarPolicy {
64
65
private static final int INET_CONDITION_THRESHOLD = 50;
66
67
+ private static final boolean SHOW_SYNC_ICON = false;
68
+
69
private final Context mContext;
70
private final StatusBarManager mService;
71
private final Handler mHandler = new Handler();
@@ -195,6 +197,7 @@ private final void updateAlarm(Intent intent) {
195
197
}
196
198
199
private final void updateSyncState(Intent intent) {
200
+ if (!SHOW_SYNC_ICON) return;
201
boolean isActive = intent.getBooleanExtra("active", false);
202
boolean isFailing = intent.getBooleanExtra("failing", false);
203
mService.setIconVisibility("sync_active", isActive);
0 commit comments