Sunny Goyal fb5096d07b Preventing a shortcut which requires permissions from being added to
homescreen

A shortcut can be added by any app as INSTALL_SHORTCUT is a normal
level permission. But the intent is actually launched by the launcher
app which can have other permission as well.

> When adding a shortcut from the broadcast, verify that the intent does
not require any permission
> When adding a shortcut using the two-step drop process, verify that
the source app also has the permission to create such a shortcut

Bug: 30778130
Change-Id: I710a490d69019dc25709db5a97020c20d9325007
2016-09-08 14:41:01 -07:00
2016-07-28 13:06:21 -07:00
S
Description
No description provided
696 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 56.1%
Kotlin 43%
AIDL 0.3%
JavaScript 0.2%
CSS 0.2%