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

Commit 1a7965e3 authored by Nikita Ioffe's avatar Nikita Ioffe
Browse files

Remove unused field from StagingManager

Test: m
Change-Id: I0684828edc0b279b7bf3e14e84bf837f14b30597
parent 83234be1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ public class PackageInstallerService extends IPackageInstaller.Stub implements

        mApexManager = am;

        mStagingManager = new StagingManager(pm, this, am, context);
        mStagingManager = new StagingManager(this, am, context);
    }

    boolean okToSendBroadcasts()  {
+1 −4
Original line number Diff line number Diff line
@@ -68,7 +68,6 @@ public class StagingManager {
    private static final String TAG = "StagingManager";

    private final PackageInstallerService mPi;
    private final PackageManagerService mPm;
    private final ApexManager mApexManager;
    private final PowerManager mPowerManager;
    private final Handler mBgHandler;
@@ -76,9 +75,7 @@ public class StagingManager {
    @GuardedBy("mStagedSessions")
    private final SparseArray<PackageInstallerSession> mStagedSessions = new SparseArray<>();

    StagingManager(PackageManagerService pm, PackageInstallerService pi, ApexManager am,
            Context context) {
        mPm = pm;
    StagingManager(PackageInstallerService pi, ApexManager am, Context context) {
        mPi = pi;
        mApexManager = am;
        mPowerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE);