Drop API level for notification compatibility BG to 8 (from 10)

Bug 5713262

As we had concrete styles for achieving the right text styling as of
Gingerbread, don't punsh apps that used them correctly.

Change-Id: I1e373a0238edd6bdab2d0f96588d9cb92a20b31f
This commit is contained in:
Adam Powell
2011-12-05 15:38:51 -08:00
parent da926cf284
commit ad9deec87c
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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);