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

Commit 1e775631 authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Finish whole installation on cancel dialog.

If the user does not want to enable "unknown sources" and clicks
"cancel" the whole installation should finish.

Fixes: 28683865
Change-Id: I2582141ea777e5b2e14dd690b3c3fb8039cff2d4
parent 1dba1776
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ public class PackageInstallerActivity extends Activity implements OnCancelListen
                    .setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
                        public void onClick(DialogInterface dialog, int which) {
                            Log.i(TAG, "Finishing off activity so that user can navigate to settings manually");
                            finish();
                            finishAffinity();
                        }})
                    .setPositiveButton(R.string.settings, new DialogInterface.OnClickListener() {
                        public void onClick(DialogInterface dialog, int which) {