OSDN Git Service

OPP: Prevent sending intent while orientation change
authorHemant Gupta <hemantg@codeaurora.org>
Thu, 1 Feb 2018 13:50:29 +0000 (19:20 +0530)
committerHansong Zhang <hsz@google.com>
Tue, 13 Feb 2018 18:53:34 +0000 (18:53 +0000)
commit3483fc3638b73e77a5116524a56802b2dd82d6bb
tree87df56139173a22ada06796f95c891d26f30da37
parentf5848d0f4d648ea810d3f0f3b9e7fe39c8fd0cf9
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
AndroidManifest.xml