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

Skip to content
Commit db525f6a authored by Sravan Kumar V's avatar Sravan Kumar V Committed by Linux Build Service Account
Browse files

OPP: Handle Security Exception.

Use Case:
1. Pair remote with DUT.
2. Now go to G photos application to share images.
3. Select any image and try share.
4) Cancel operation (Decline Server side)
5) And try share again.

Failure:
"Unfortunately, Bluetooth share has stopped" error comes.

Root Cause:
For security reasons, the permissions are temporary, so once the client
app.s task stack is finished, the file is no longer accessible or some
content providers don't support the read permission.

Fix:
When tap the "try again" button on the send failed dialog, the
method "BluetoothOppSendFileInfo::generateFileInfo()" will be
call, there catching Security Exception and sending empty
BluetoohSendFileInfo.

Change-Id: I4520a91622c0532d7d0f8aeeb7ff76e9a3abe7a1
parent b98a64f9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment