diff options
Diffstat (limited to 'src/com/android/settings/deviceinfo/StorageItemPreference.java')
-rw-r--r-- | src/com/android/settings/deviceinfo/StorageItemPreference.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/deviceinfo/StorageItemPreference.java b/src/com/android/settings/deviceinfo/StorageItemPreference.java index e4f3ff9..87e827e 100644 --- a/src/com/android/settings/deviceinfo/StorageItemPreference.java +++ b/src/com/android/settings/deviceinfo/StorageItemPreference.java @@ -39,7 +39,7 @@ public class StorageItemPreference extends Preference { super(context); if (colorRes != 0) { - this.color = context.getResources().getColor(colorRes); + this.color = context.getColor(colorRes); final Resources res = context.getResources(); final int width = res.getDimensionPixelSize(R.dimen.device_memory_usage_button_width); |