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

Commit cbead6cf authored by Eugene Susla's avatar Eugene Susla
Browse files

Fix Companion UI crash on configuration change

Fixes: 38004370
Test: Ensure no more crash described in the bug.
Change-Id: I9c8266d545eff337760bf875cedfe90fc15e4b7c
parent 81a57133
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();
        }
    }