Shortcut integration with AppSearch (Part 6)
Removes the limitation on the number of shortcuts. Since the shortcuts have been moved into AppSearch, it no longer occupies system ram. As a result we can safely removes the limitaion on the number of shortcuts. Bug: 151359749 Test: atest ShortcutManagerTest1 ShortcutManagerTest2 ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5 ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8 ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11 Test: atest CtsShortcutManagerTestCases Change-Id: I7b901b854f08d9aa24d8d223e41b10c7f94925ec
This commit is contained in:
@@ -171,7 +171,7 @@ public class ShortcutService extends IShortcutService.Stub {
|
||||
static final int DEFAULT_MAX_UPDATES_PER_INTERVAL = 10;
|
||||
|
||||
@VisibleForTesting
|
||||
static final int DEFAULT_MAX_SHORTCUTS_PER_ACTIVITY = 15;
|
||||
static final int DEFAULT_MAX_SHORTCUTS_PER_ACTIVITY = Integer.MAX_VALUE;
|
||||
|
||||
@VisibleForTesting
|
||||
static final int DEFAULT_MAX_ICON_DIMENSION_DP = 96;
|
||||
|
||||
Reference in New Issue
Block a user