Skip to content
Commit 547c4f70 authored by Pinyao Ting's avatar Pinyao Ting
Browse files

Allow ShortcutPackage#findAll to return cached shortcuts.

Previously cached shortcuts are filtered from the result when it isn't
pinned, which prevents them from being used by other system services.

Bug: 175051424
Test: atest com.android.server.pm.ShortcutManagerTest1
            com.android.server.pm.ShortcutManagerTest2
            com.android.server.pm.ShortcutManagerTest3
            com.android.server.pm.ShortcutManagerTest4
            com.android.server.pm.ShortcutManagerTest5
            com.android.server.pm.ShortcutManagerTest6
            com.android.server.pm.ShortcutManagerTest7
            com.android.server.pm.ShortcutManagerTest8
            com.android.server.pm.ShortcutManagerTest9
            com.android.server.pm.ShortcutManagerTest10
            com.android.server.pm.ShortcutManagerTest11
Change-Id: I59b9f867da6291f98ed1d05899fcc9080f47455e
parent e0baa920
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment