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

Commit 5abad3f5 authored by Suprabh Shukla's avatar Suprabh Shukla
Browse files

Fixing Install button not enabled on resume

In cases where an app had a long list of permissions the Install button
was not being enabled.

Test: Manually clicked on an apk that required a long list of
permissions. Checked that the install button is enabled. Switch out and
back to the activity to force a pause/resume. The button gets disabled
and enabled as expected.

Bug: 35056974
Change-Id: I2ef7d5ce4e137969c70d2929271620c2bcb723f2
parent 3f5c440d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -541,7 +541,7 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen
        super.onResume();

        if (mOk != null) {
            mOk.setEnabled(mOkCanInstall);
            mOk.setEnabled(true);
        }
    }