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

Commit 8711f405 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

Change-Id: I97e9ef07df912e7bac3c4657272feab943bcb84e
parents f1342adb 7598c620
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);
        }
    }