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

Commit e554c793 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "OPP: Fix Window leak in Alert Activity."

parents 2ab71c29 21535adc
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();
    }

}