OPP: Trigger media scan after transferred file
Use case:
1. Receive an image via Bluetooth.
2. Launch Album/Google Photos app.
3. Check if received file can be displayed.
Error:
After step 2, received picture via Bluetooth from
remote phone is not displayed in Album/Google Photos.
Root cause:
The Update Thread didn't trigger the media scan after
media files received successfully
With commit Ied9a640b96d59e6c2e6b171b0ac3c08173f0ecd7
trigger function was removed leading to this issue.
Fix:
Add scan File function back whenever arrayPos increased,
so, the UI will be up to date.
Test: Able to view file successfully after above usecase.
Bug: 109787940
Change-Id: I6727347b466b8e7371f25502449d01557a645865
1 file changed