Adding LauncherApps apis for suspended packages
The suspending app can provide a Bundle of information to be used by the launcher for handling suspended packages. Added APIs: - getSuspendedPackageLauncherExtras(String, UserHandle): To retrieve the launcher extras for the given package and user. - Callback#onPackagesSuspended(String[], UserHandle, Bundle): A callback that will be invoked with the package names and the launcher extras whenever sent packages are suspended. Test: atest com.android.server.pm.SuspendPackagesTest Bug: 76119578 Change-Id: I505d134809639a57c3314f994af34d576d905e74
Loading
Please register or sign in to comment