commit | 627d4db7030344a2cc66c30cbf56676e4d274917 | [log] [tgz] |
---|---|---|
author | Mehdi Alizadeh <mett@google.com> | Mon Feb 04 13:52:03 2019 -0800 |
committer | Mehdi Alizadeh <mett@google.com> | Thu Feb 21 18:55:16 2019 +0000 |
tree | 1e248e747325e9bfdc5a4ea1e7b8610a77a38472 | |
parent | f24aad94ed11ab50b385d34f90713c36d3650bc4 [diff] |
Enforce MANAGE_APP_PREDICTIONS on hasShareTargets ShortcutManager#hasShareTargets() is used in ShareSheet, which is moving out of system process. So we need to annotate hasShareTargets as systemApi and enforce permission on the caller. Bug: 123779604 Test: atest ShortcutManagerTest1 Change-Id: Ib2352f0e8600b0e792405af5b9b61b380c050d28