Skip to content
Commit 627d4db7 authored by Mehdi Alizadeh's avatar Mehdi Alizadeh
Browse files

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
parent f24aad94
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