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

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

Merge "Fix crash when rotating HighPowerDetail dialog"

am: 783ff437

Change-Id: Ie4f4856f6e4b1bb4970013b2425bb39d34383859
parents 0d600286 783ff437
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ public class HighPowerDetail extends DialogFragment implements OnClickListener,
    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);
        }
    }