summaryrefslogtreecommitdiffstats
path: root/src/com/android/settings/privacyguard
diff options
context:
space:
mode:
authorDiogo Ferreira <defer@cyngn.com>2015-01-05 17:56:53 +0000
committerRoman Birg <roman@cyngn.com>2015-11-03 12:21:36 -0800
commit0551bfe0f25d59cb37bad31d58fc1e1c7e711abe (patch)
tree231133feb1059e6d7fca1b520ee9ef508a5625d5 /src/com/android/settings/privacyguard
parent5dbce4fec2fc4dcdbf2a2800d03b8b4eade5d41a (diff)
downloadpackages_apps_Settings-0551bfe0f25d59cb37bad31d58fc1e1c7e711abe.zip
packages_apps_Settings-0551bfe0f25d59cb37bad31d58fc1e1c7e711abe.tar.gz
packages_apps_Settings-0551bfe0f25d59cb37bad31d58fc1e1c7e711abe.tar.bz2
PrivacyGuard: Tint the enabled icon
The enabled icon was white and when enabled, the icon would get the exact same color as the background, rendering impossible to see. Change-Id: I4dc2b52cfca46abf2eff28a0b25918d42cf39f09
Diffstat (limited to 'src/com/android/settings/privacyguard')
-rw-r--r--src/com/android/settings/privacyguard/PrivacyGuardAppListAdapter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/settings/privacyguard/PrivacyGuardAppListAdapter.java b/src/com/android/settings/privacyguard/PrivacyGuardAppListAdapter.java
index 49555a9..57047b9 100644
--- a/src/com/android/settings/privacyguard/PrivacyGuardAppListAdapter.java
+++ b/src/com/android/settings/privacyguard/PrivacyGuardAppListAdapter.java
@@ -109,7 +109,7 @@ public class PrivacyGuardAppListAdapter extends BaseAdapter implements SectionIn
appHolder.icon.setImageDrawable(icon != null ? icon : mDefaultImg);
int privacyGuardDrawableResId = app.privacyGuardEnabled
- ? R.drawable.ic_privacy_guard :
+ ? R.drawable.ic_privacy_guard_on :
R.drawable.ic_privacy_guard_off;
appHolder.privacyGuardIcon.setImageResource(privacyGuardDrawableResId);