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

Commit ed7aa2a3 authored by LuK1337's avatar LuK1337 Committed by Gerrit Code Review
Browse files

Fix FC after starting screen recording

mDialog seems to be null in some cases so it crashes everytime you start screen recording.
log: http://pastebin.com/UCdSumAD

Change-Id: I8dfc006311aeebb881d54f36bfadf78b2e841026
parent 21f34c6e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -114,8 +114,10 @@ public class MediaProjectionPermissionActivity extends Activity
    @Override
    protected void onDestroy() {
        super.onDestroy();
        if(mDialog != null) {
            mDialog.dismiss();
        }
    }

    @Override
    public void onClick(DialogInterface dialog, int which) {