Bluetooth-OPP: Handle temporary permissions issue with G Photos
Use case:
1. Launch G Photos
2. Share numerous files Using BT
3. Allow file reception via Bluetooth at the other end
4. Cancel transfer inbetween at other end
5. Send same file from Outbound transfer History
Result:
A security exception would be thrown and the device
Fails the file transfer.
Root Cause:
Some applications permissions are temporary (G Photos), so once the client
Apps task stack is finished, the file is no longer accessible.
Fix:
So Grant permission to each Uri to avoid a security exception.
Change-Id: I6bbaf1f737bbcaeac6f136fefdf4b0cdc3ba6eaa
1 file changed