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

Commit 443380ff authored by Benjamin Franz's avatar Benjamin Franz
Browse files

Temporarily whitelist GmsCore for unknown sources

Bug: 34599122
Test: manual
Change-Id: I7eadb014318a2051dbe4f706b938032468f9abb7
parent 4152d83a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -65,6 +65,11 @@ public class InstallStart extends Activity {
        nextActivity.putExtra(PackageInstallerActivity.EXTRA_ORIGINAL_SOURCE_INFO, sourceInfo);
        nextActivity.putExtra(Intent.EXTRA_ORIGINATING_UID, originatingUid);

        // STOPSHIP(http://b/34599122): Remove this special casing once GmsCore is updated
        if ("com.google.android.gms".equals(callingPackage)) {
            nextActivity.putExtra(Intent.EXTRA_NOT_UNKNOWN_SOURCE, true);
        }

        if (PackageInstaller.ACTION_CONFIRM_PERMISSIONS.equals(intent.getAction())) {
            nextActivity.setClass(this, PackageInstallerActivity.class);
        } else {