Sync asset drop and smoother animation.
Bug: 5233703 Change-Id: I3fa52da71b78dcfa7842047b427c5121d3ac7e68
This commit is contained in:
@@ -112,16 +112,16 @@ public class AccountPreference extends Preference {
|
||||
int res;
|
||||
switch (status) {
|
||||
case SYNC_ENABLED:
|
||||
res = R.drawable.ic_sync_green;
|
||||
res = R.drawable.ic_sync_green_holo;
|
||||
break;
|
||||
case SYNC_DISABLED:
|
||||
res = R.drawable.ic_sync_grey;
|
||||
res = R.drawable.ic_sync_grey_holo;
|
||||
break;
|
||||
case SYNC_ERROR:
|
||||
res = R.drawable.ic_sync_red;
|
||||
res = R.drawable.ic_sync_red_holo;
|
||||
break;
|
||||
default:
|
||||
res = R.drawable.ic_sync_red;
|
||||
res = R.drawable.ic_sync_red_holo;
|
||||
Log.e(TAG, "Unknown sync status: " + status);
|
||||
}
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user