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

Commit ac1037c6 authored by Daniel Micay's avatar Daniel Micay
Browse files

stop incorrectly showing unknown sources prompt

435a65b4 changed this code and ended up
leaving out this return statement. It falls through to the code to deal
with requests from unknown sources even when the request was really from
a known source.

Change-Id: Ia1633989f8a177000d7bcec89184e0ebdc72aa74
parent 52ab98d2
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -474,6 +474,7 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen
        final boolean requestFromUnknownSource = isInstallRequestFromUnknownSource(getIntent());
        if (!requestFromUnknownSource) {
            initiateInstall();
            return;
        }

        // If the admin prohibits it, or we're running in a managed profile, just show error