diff options
| author | 2021-07-20 00:01:29 +0000 | |
|---|---|---|
| committer | 2021-07-21 18:08:24 +0000 | |
| commit | 19a655d70c100253b5874f3d9b751877b348e5c4 (patch) | |
| tree | 4c140335afc4a72f40834c529509ccd386607e90 /libs/androidfw/misc.cpp | |
| parent | 72922c8a85af2e0e834ff3de52d05510b191bddb (diff) | |
Prevend user spoofing in isRequestPinItemSupported
This CL ensure the caller process is from the same user when calling
ShortcutService#isRequestPinItemSupported.
Bug: 191772737
Test: atest ShortcutManagerTest1 ShortcutManagerTest2
    ShortcutManagerTest3 ShortcutManagerTest4 ShortcutManagerTest5
    ShortcutManagerTest6 ShortcutManagerTest7 ShortcutManagerTest8
    ShortcutManagerTest9 ShortcutManagerTest10 ShortcutManagerTest11
    ShortcutManagerTest12
Test: atest CtsShortcutManagerTestCases
Change-Id: Icab7cdf25b870b88ecfde9b99e107bbeda0eb485
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions