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:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user