InstallManagerService: Clear notification on privileged install complete
* Without privileged extension, the install proceeds to user interaction which is where the notification is cleared. * When the privileged extension is installed that doesn't happen, so the download notification doesn't get cleared
This commit is contained in:
parent
4f420c55d0
commit
46fc6dbbfd
@ -335,6 +335,7 @@ public class InstallManagerService extends Service {
|
||||
Apk apkComplete = removeFromActive(downloadUrl);
|
||||
|
||||
PackageManagerCompat.setInstaller(getPackageManager(), apkComplete.packageName);
|
||||
if (PrivilegedInstaller.isDefault(context)) cancelNotification(downloadUrl);
|
||||
|
||||
localBroadcastManager.unregisterReceiver(this);
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user