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

Commit 7f0e3b59 authored by Eugene Susla's avatar Eugene Susla Committed by android-build-merger
Browse files

Merge "Fix Companion UI crash on configuration change" into oc-dev

am: c1e3ab35

Change-Id: Ia856f6b9c5db4f5b061930469650321bc1452497
parents 806ee59c c1e3ab35
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -93,9 +93,9 @@ public class DeviceChooserActivity extends Activity {
    }

    @Override
    protected void onPause() {
        super.onPause();
        if (!isFinishing()) {
    protected void onStop() {
        super.onStop();
        if (!isFinishing() && !isChangingConfigurations()) {
            cancel();
        }
    }