Skip to content

Commit 9a856f4

Browse files
adampAndroid (Google) Code Review
authored andcommitted
Merge "Drop API level for notification compatibility BG to 8 (from 10)" into ics-mr1
2 parents 7b6aff2 + ad9deec commit 9a856f4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -973,7 +973,7 @@ void applyLegacyRowBackground(StatusBarNotification sbn, View content) {
973973
} catch (NameNotFoundException ex) {
974974
Slog.e(TAG, "Failed looking up ApplicationInfo for " + sbn.pkg, ex);
975975
}
976-
if (version > 0 && version < Build.VERSION_CODES.HONEYCOMB) {
976+
if (version > 0 && version < Build.VERSION_CODES.GINGERBREAD) {
977977
content.setBackgroundResource(R.drawable.notification_row_legacy_bg);
978978
} else {
979979
content.setBackgroundResource(R.drawable.notification_row_bg);

packages/SystemUI/src/com/android/systemui/statusbar/tablet/TabletStatusBar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1836,7 +1836,7 @@ void applyLegacyRowBackground(StatusBarNotification sbn, View content) {
18361836
} catch (NameNotFoundException ex) {
18371837
Slog.e(TAG, "Failed looking up ApplicationInfo for " + sbn.pkg, ex);
18381838
}
1839-
if (version > 0 && version < Build.VERSION_CODES.HONEYCOMB) {
1839+
if (version > 0 && version < Build.VERSION_CODES.GINGERBREAD) {
18401840
content.setBackgroundResource(R.drawable.notification_row_legacy_bg);
18411841
} else {
18421842
content.setBackgroundResource(R.drawable.notification_row_bg);

0 commit comments

Comments
 (0)