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

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

More whitelisting

Bug 34973771

Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Change-Id: I77c7001b31a963dfabe8036647a2e51ede6a759f
parent 402a384a
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -245,9 +245,12 @@ public class LauncherAppsService extends SystemService {

                    // STOPSHIP Remove the whitelist.
                    if ("com.google.android.talk".equals(callingPackage)
                            || "com.google.android.quicksearchbox".equals(callingPackage)) {
                            || "com.google.android.quicksearchbox".equals(callingPackage)
                            || "com.google.android.googlequicksearchbox".equals(callingPackage)
                            ) {
                        return false;
                    }
                    // STOPSHIP Change it to 'e'.
                    Slog.wtfStack(TAG, message + " by " + callingPackage + " for another profile "
                            + targetUserId + " from " + callingUserId);