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

Commit b521aeb9 authored by Zhendong Yang's avatar Zhendong Yang Committed by android-build-merger
Browse files

Merge "Fix crash when rotating HighPowerDetail dialog" am: 783ff437 am: 7598c620 am: 8711f405

am: 8c9e3db8

Change-Id: Ib6d620f89225a8258b1671d206bb617e5d1bf56f
parents f869b14e 8c9e3db8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -138,7 +138,7 @@ public class HighPowerDetail extends InstrumentedDialogFragment implements OnCli
    public void onDismiss(DialogInterface dialog) {
        super.onDismiss(dialog);
        Fragment target = getTargetFragment();
        if (target != null) {
        if (target != null && target.getActivity() != null) {
            target.onActivityResult(getTargetRequestCode(), 0, null);
        }
    }