Fix some dark theme issues (Take 2)
Now with visible lock patterns! Both light and dark! Bug: 21117509 Bug: 21077345 Bug: 21480587 Bug: 21621900 Change-Id: Ibcf822faf7cbc83be43d757e0a6a9432ef3346af
This commit is contained in:
@@ -114,7 +114,8 @@ public class AccountPreference extends Preference {
|
||||
int res;
|
||||
switch (status) {
|
||||
case SYNC_ENABLED:
|
||||
res = R.drawable.ic_sync_green_holo;
|
||||
case SYNC_IN_PROGRESS:
|
||||
res = R.drawable.ic_settings_sync;
|
||||
break;
|
||||
case SYNC_DISABLED:
|
||||
res = R.drawable.ic_sync_grey_holo;
|
||||
@@ -122,9 +123,6 @@ public class AccountPreference extends Preference {
|
||||
case SYNC_ERROR:
|
||||
res = R.drawable.ic_sync_red_holo;
|
||||
break;
|
||||
case SYNC_IN_PROGRESS:
|
||||
res = R.drawable.ic_sync_green_holo;
|
||||
break;
|
||||
default:
|
||||
res = R.drawable.ic_sync_red_holo;
|
||||
Log.e(TAG, "Unknown sync status: " + status);
|
||||
|
Reference in New Issue
Block a user