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

Commit 3483fc36 authored by Hemant Gupta's avatar Hemant Gupta Committed by Hansong Zhang
Browse files

OPP: Prevent sending intent while orientation change

Steps:
1. Take any photo/picture and share it via Bluetooth
2. Before choosing remote device in Device Picker Activity, rotate
   the device.

Expected result:
File transfer should complete after selecting the device.

Actual result:
The dialog "Bluetooth share: File Unknown file not sent" is shown and
file sharing fails.

Fix:
Add configuration related check in manifest to avoid activity restart during
orientation change.

Test: File transferred successfully after step 2

Fixes: 72715713
Change-Id: I045c2940d3788059c9313e5501a7957608d8879c
parent f5848d0f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -432,6 +432,7 @@

        <activity android:name=".bluetooth.DevicePickerActivity"
                android:label="@string/device_picker"
                android:configChanges="orientation|keyboardHidden|screenSize"
                android:clearTaskOnLaunch="true">
            <intent-filter>
                <action android:name="android.bluetooth.devicepicker.action.LAUNCH" />