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

Commit 9f331baa authored by Sumedh Sen's avatar Sumedh Sen Committed by Gerrit Code Review
Browse files

Merge "Re-land "Show failure dialog when app can't be installed due to secureFRP"" into main

parents c9f2c27a db1de85e
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -290,7 +290,14 @@ public class InstallInstalling extends AlertActivity {
                        broadcastIntent,
                        PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_MUTABLE);

                try {
                    session.commit(pendingIntent.getIntentSender());
                } catch (Exception e) {
                    Log.e(LOG_TAG, "Cannot install package: ", e);
                    launchFailure(PackageInstaller.STATUS_FAILURE,
                        PackageManager.INSTALL_FAILED_INTERNAL_ERROR, null);
                    return;
                }
                mCancelButton.setEnabled(false);
                setFinishOnTouchOutside(false);
            } else {