Fix some dark theme issues

Bug: 21117509
Bug: 21077345
Bug: 21480587
Change-Id: I61bcd6631288b0e51204ac8bf134c44b2800e0fe
This commit is contained in:
Jason Monk
2015-06-03 10:53:03 -04:00
parent fb32790adc
commit cb8ccbb3b5
13 changed files with 62 additions and 18 deletions

View File

@@ -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);