Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 18280782 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Temporarily whitelist apps known to hit the wtf case

Bug: 34973771
Test: Manual tests with hangouts

Change-Id: If456649cb90164562cd71503119625454590d60d
parent 3600f7b6
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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);