summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI
diff options
context:
space:
mode:
authorAdam Powell <adamp@google.com>2011-12-05 17:38:23 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-12-05 17:38:23 -0800
commit9a856f4ee7b49f735e31b57a09bee2f033ce20a5 (patch)
tree9d24d28b1bb11d8481e62e0914a16618c3900dcf /packages/SystemUI
parent7b6aff23735a9ef8759c5ecb4427784413e9b85b (diff)
parentad9deec87cae30f73e56f0f778fc3fb52035b325 (diff)
downloadframeworks_base-9a856f4ee7b49f735e31b57a09bee2f033ce20a5.zip
frameworks_base-9a856f4ee7b49f735e31b57a09bee2f033ce20a5.tar.gz
frameworks_base-9a856f4ee7b49f735e31b57a09bee2f033ce20a5.tar.bz2
Merge "Drop API level for notification compatibility BG to 8 (from 10)" into ics-mr1
Diffstat (limited to 'packages/SystemUI')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java2
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
index c69a145..3d49624 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
@@ -973,7 +973,7 @@ public class PhoneStatusBar extends StatusBar {
} catch (NameNotFoundException ex) {
Slog.e(TAG, "Failed looking up ApplicationInfo for " + sbn.pkg, ex);
}
- if (version > 0 && version < Build.VERSION_CODES.HONEYCOMB) {
+ if (version > 0 && version < Build.VERSION_CODES.GINGERBREAD) {
content.setBackgroundResource(R.drawable.notification_row_legacy_bg);
} else {
content.setBackgroundResource(R.drawable.notification_row_bg);
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
index 757ce0c..0cdcf28 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java
@@ -1836,7 +1836,7 @@ public class TabletStatusBar extends StatusBar implements
} catch (NameNotFoundException ex) {
Slog.e(TAG, "Failed looking up ApplicationInfo for " + sbn.pkg, ex);
}
- if (version > 0 && version < Build.VERSION_CODES.HONEYCOMB) {
+ if (version > 0 && version < Build.VERSION_CODES.GINGERBREAD) {
content.setBackgroundResource(R.drawable.notification_row_legacy_bg);
} else {
content.setBackgroundResource(R.drawable.notification_row_bg);