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

Commit cb924157 authored by Rubin Xu's avatar Rubin Xu
Browse files

Revert "Fix bug in notification showing of silent package uninstallation"

I overlooked the intention of the notification, which is exactly to notify the user that an admin just removed a package. 

This reverts commit d73c615d.

Reason for revert: <INSERT REASONING HERE>

Change-Id: I3f68e9eb4ad299ddd05448cff358b61e409476a7
parent d73c615d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -808,7 +808,7 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements

        final PackageDeleteObserverAdapter adapter = new PackageDeleteObserverAdapter(mContext,
                statusReceiver, versionedPackage.getPackageName(),
                !canSilentlyInstallPackage, userId);
                canSilentlyInstallPackage, userId);
        if (mContext.checkCallingOrSelfPermission(android.Manifest.permission.DELETE_PACKAGES)
                    == PackageManager.PERMISSION_GRANTED) {
            // Sweet, call straight through!