Merge "Drop API level for notification compatibility BG to 8 (from 10)" into ics-mr1

This commit is contained in:
Adam Powell
2011-12-05 17:38:23 -08:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -973,7 +973,7 @@ public class PhoneStatusBar extends StatusBar {
} catch (NameNotFoundException ex) { } catch (NameNotFoundException ex) {
Slog.e(TAG, "Failed looking up ApplicationInfo for " + sbn.pkg, 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); content.setBackgroundResource(R.drawable.notification_row_legacy_bg);
} else { } else {
content.setBackgroundResource(R.drawable.notification_row_bg); content.setBackgroundResource(R.drawable.notification_row_bg);

View File

@@ -1836,7 +1836,7 @@ public class TabletStatusBar extends StatusBar implements
} catch (NameNotFoundException ex) { } catch (NameNotFoundException ex) {
Slog.e(TAG, "Failed looking up ApplicationInfo for " + sbn.pkg, 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); content.setBackgroundResource(R.drawable.notification_row_legacy_bg);
} else { } else {
content.setBackgroundResource(R.drawable.notification_row_bg); content.setBackgroundResource(R.drawable.notification_row_bg);