Request fewer historical notifications.
Bug: 8280039 Change-Id: I1cf2f96d0f159f58fc61572e78ea33f1c49cfed9
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user