diff options
author | Dianne Hackborn <hackbod@google.com> | 2014-10-08 17:59:18 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-10-08 17:59:19 +0000 |
commit | 89b196958fee07475765bd3c458098464ba16f2e (patch) | |
tree | 08c0d22686180c281faaeb1e9c5e9cc93405dcb3 /packages | |
parent | 908a4f9a4372a9627e821b5800936095b0f0b5b0 (diff) | |
parent | 955d8d69ea6caabce1461dc25b339b9bf9dc61a6 (diff) | |
download | frameworks_base-89b196958fee07475765bd3c458098464ba16f2e.zip frameworks_base-89b196958fee07475765bd3c458098464ba16f2e.tar.gz frameworks_base-89b196958fee07475765bd3c458098464ba16f2e.tar.bz2 |
Merge "Put in real "code" (aka marketing) name." into lmp-dev
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java index eef4a5a..9492a14 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java @@ -696,7 +696,7 @@ public abstract class BaseStatusBar extends SystemUI implements if (entry.expanded.getId() != com.android.internal.R.id.status_bar_latest_event_content) { // Using custom RemoteViews if (entry.targetSdk >= Build.VERSION_CODES.GINGERBREAD - && entry.targetSdk < Build.VERSION_CODES.L) { + && entry.targetSdk < Build.VERSION_CODES.LOLLIPOP) { entry.row.setShowingLegacyBackground(true); entry.legacy = true; } @@ -712,7 +712,7 @@ public abstract class BaseStatusBar extends SystemUI implements } if (entry.icon != null) { - if (entry.targetSdk >= Build.VERSION_CODES.L) { + if (entry.targetSdk >= Build.VERSION_CODES.LOLLIPOP) { entry.icon.setColorFilter(mContext.getResources().getColor(android.R.color.white)); } else { entry.icon.setColorFilter(null); @@ -1385,7 +1385,7 @@ public abstract class BaseStatusBar extends SystemUI implements Drawable iconDrawable = StatusBarIconView.getIcon(mContext, ic); icon.setImageDrawable(iconDrawable); - if (entry.targetSdk >= Build.VERSION_CODES.L + if (entry.targetSdk >= Build.VERSION_CODES.LOLLIPOP || mNotificationColorUtil.isGrayscaleIcon(iconDrawable)) { icon.setBackgroundResource( com.android.internal.R.drawable.notification_icon_legacy_bg); |