Request fewer historical notifications.

Bug: 8280039
Change-Id: I1cf2f96d0f159f58fc61572e78ea33f1c49cfed9
This commit is contained in:
Daniel Sandler
2013-02-27 13:38:30 -05:00
parent fbefc9453d
commit 1aeea8600f

View File

@@ -163,7 +163,7 @@ public class NotificationStation extends SettingsPreferenceFragment {
final int currentUserId = ActivityManager.getCurrentUser(); final int currentUserId = ActivityManager.getCurrentUser();
try { try {
StatusBarNotification[] nions = mNoMan.getHistoricalNotifications( StatusBarNotification[] nions = mNoMan.getHistoricalNotifications(
mContext.getPackageName(), 100); mContext.getPackageName(), 50);
List<HistoricalNotificationInfo> list List<HistoricalNotificationInfo> list
= new ArrayList<HistoricalNotificationInfo>(nions.length); = new ArrayList<HistoricalNotificationInfo>(nions.length);