diff options
-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); |