diff options
| author | 2022-02-08 06:22:47 +0000 | |
|---|---|---|
| committer | 2022-10-18 04:30:49 +0000 | |
| commit | b3192809643eff948d9457c8a7b36b968a7388a1 (patch) | |
| tree | 5772819e12b058aca3ad07099fadabe066bef9a3 /api/api.go | |
| parent | 9142d8c9369a142742f7be75879eb24141e340ea (diff) | |
Backport missing permission check for querying main activity intent
- This was fixed in T in ag/16820166, but the original code was
submitted in S. This ensures that the caller of this method
is either holding the ACCESS_SHORTCUTS permission or is the
default launcher.
Bug: 229256049
Test: atest WMShellUnitTests
Change-Id: Ib233ad754a6c6e3c4e0d0e10ed788ab8e055cccc
Merged-In: Ib233ad754a6c6e3c4e0d0e10ed788ab8e055cccc
(cherry picked from commit f4ed441e180d7113b5f6ebfe711e61a2dd3fd8b1)
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions