am 9a856f4e: Merge "Drop API level for notification compatibility BG to 8 (from 10)" into ics-mr1
* commit '9a856f4ee7b49f735e31b57a09bee2f033ce20a5': Drop API level for notification compatibility BG to 8 (from 10)
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