diff options
author | 2017-02-23 18:33:13 +0000 | |
---|---|---|
committer | 2017-02-23 18:33:18 +0000 | |
commit | 112a5b62d85d288bd89819b2ffc49fa17020a05f (patch) | |
tree | b14fb3b7304cebe77ea772be26341d7da45f46f2 | |
parent | ba9e399ffd3d001e94dae930222f158baac70655 (diff) | |
parent | 18280782bc1a6faa2b3e3b1f609c17e9e197b44e (diff) |
Merge "Temporarily whitelist apps known to hit the wtf case"
-rw-r--r-- | services/core/java/com/android/server/pm/LauncherAppsService.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/pm/LauncherAppsService.java b/services/core/java/com/android/server/pm/LauncherAppsService.java index 96a25776e106..c11131a2af7e 100644 --- a/services/core/java/com/android/server/pm/LauncherAppsService.java +++ b/services/core/java/com/android/server/pm/LauncherAppsService.java @@ -242,6 +242,12 @@ public class LauncherAppsService extends SystemService { try { UserInfo callingUserInfo = mUm.getUserInfo(callingUserId); if (callingUserInfo.isManagedProfile()) { + + // STOPSHIP Remove the whitelist. + if ("com.google.android.talk".equals(callingPackage) + || "com.google.android.quicksearchbox".equals(callingPackage)) { + return false; + } Slog.wtfStack(TAG, message + " by " + callingPackage + " for another profile " + targetUserId + " from " + callingUserId); |