Revert "Suppress injected launcher activity for apps that are vouched"
This reverts commit 8b45da90. Reason for revert: Local TOT is crashing with framework restarts, with the following stacktrace: 01-18 12:22:51.536 9326 9352 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: android.bg 01-18 12:22:51.536 9326 9352 E AndroidRuntime: java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.PACKAGE_CHANGED dat=package:com.verizon.mips.services flg=0x5000010 (has extras) } in com.android.server.pm.LauncherAppsService$LauncherAppsImpl$VouchesChangedMonitor@c231445 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0(LoadedApk.java:1554) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:873) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at android.os.Looper.loop(Looper.java:209) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at android.os.HandlerThread.run(HandlerThread.java:65) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to read from field 'android.os.Bundle android.content.pm.PackageItemInfo.metaData' on a null object reference 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at com.android.server.pm.LauncherAppsService$LauncherAppsImpl.updateVouches(LauncherAppsService.java:485) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at com.android.server.pm.LauncherAppsService$LauncherAppsImpl.updateVouches(LauncherAppsService.java:481) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at com.android.server.pm.LauncherAppsService$LauncherAppsImpl.access$200(LauncherAppsService.java:121) 01-18 12:22:51.536 9326 9352 E AndroidRuntime: at com.android.server.pm.LauncherAppsService$LauncherAppsImpl$VouchesChangedMonitor.onPackageModified(LauncherAppsService.java:916) Change-Id: If22d2355e17101bbf3e958b42ee101828f3ec532
Loading
Please register or sign in to comment