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

Commit 76d453ff authored by Eric Biggers's avatar Eric Biggers
Browse files

StorageManagerService: stop using IPackageManager::isOnlyCoreApps()

Due to the removal of support for Full Disk Encryption, this method
always returns false.  In preparation for removing it, stop calling it
from StorageManagerService::onVolumeCreatedLocked().

Bug: 208476087
Change-Id: Ia976bcdb7dc78622202fa63b77c80139b8ed13a7
parent ac256182
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -1557,10 +1557,6 @@ class StorageManagerService extends IStorageManager.Stub

    @GuardedBy("mLock")
    private void onVolumeCreatedLocked(VolumeInfo vol) {
        if (mPmInternal.isOnlyCoreApps()) {
            Slog.d(TAG, "System booted in core-only mode; ignoring volume " + vol.getId());
            return;
        }
        final ActivityManagerInternal amInternal =
                LocalServices.getService(ActivityManagerInternal.class);