Making the security checks and policy changes only when launching custom

shortcuts. This prevents launcher specific intents to unknowingly leak data.

Change-Id: I01343a9cee1f2a9a37a20aaf24e933e2771ecdbc
This commit is contained in:
Sunny Goyal
2016-05-31 15:01:35 -07:00
parent 05e4ba0d57
commit a7ce166b2e
3 changed files with 101 additions and 114 deletions
+1
View File
@@ -66,6 +66,7 @@ public class AppInfo extends ItemInfo {
itemType = LauncherSettings.BaseLauncherColumns.ITEM_TYPE_SHORTCUT;
}
@Override
public Intent getIntent() {
return intent;
}