Apply package visibility to LauncherApps.Callback
Applications could know package related events via registering and implementing the LaunchersApps.Callback. We should also apply the visibility to LauncherApps.Callback like what we did for Broadcast- Receiver. For removed one, using a new protected broadcast with the visibility allow list in the extra instead since the PackageSetting is already deleted and wouldn't be able to get its visibility allow list. Bug: 143946569 Test: atest AppEnumerationTests Test: atest ShortcutManagerLauncherCallbackTest Test: atest IncrementalLoadingProgressTest Test: atest NonIncrementalLoadingProgressTest Change-Id: If457e2d7892d9d4fbb8cf0ca230de423526eeb10
Loading
Please register or sign in to comment