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

Commit bd92abbf authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "OPP: Fix Window leak in Alert Activity." am: e554c793 am: 6f4a4701

Change-Id: I8c54a029b73b0e6dcd0c5e1363ab2ed36360de4d
parents 35f219d7 6f4a4701
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -112,4 +112,13 @@ public abstract class AlertActivity extends Activity implements DialogInterface.
        if (mAlert == null) return;
        mAlert.getButton(identifier).setEnabled(enable);
    }

    @Override
    protected void onDestroy() {
        if (mAlert != null) {
            mAlert.dismiss();
        }
        super.onDestroy();
    }

}