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

Skip to content
Commit f3786288 authored by Hemant Gupta's avatar Hemant Gupta
Browse files

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
parent b98edaf0
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