commit | 5f71bee3a83fa9465f03dcd1108c038f0339e3c5 | [log] [tgz] |
---|---|---|
author | Selim Cinek <cinek@google.com> | Wed Nov 18 10:25:23 2015 -0800 |
committer | Selim Cinek <cinek@google.com> | Mon Nov 30 17:45:15 2015 -0800 |
tree | a04ba17c92e5b5d83ea2c60f69b7fca3ce8070d4 | |
parent | 177fd4324ab89dc138b3d4c7472623ae9dc8c9d8 [diff] [blame] |
Determining the number of keyguard notifications dynamically Instead of having a fixed number, we are now calculating the number dynamically based on the available notifications. This is necessary since notifications might have different sizes now. Change-Id: I0cbe9b1c5fd731a89c242202846f42bec3fc57eb
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java index bbe5dd9..39a2986 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/tv/TvStatusBar.java
@@ -130,7 +130,7 @@ } @Override - protected int getMaxKeyguardNotifications() { + protected int getMaxKeyguardNotifications(boolean recompute) { return 0; }