Fix Android path to request media scan for removable media.
In Android, a removable media labelled as "UNTITLED" is mounted at /storage/removable_UNTITLED instead of /storage/UNTITLED. This behavior change was made by ag/6513597, but Chrome side didn't follow the changed paths. *Example* CrOS path: /removable/media/UNTITLED/foo.jpg Wrong path to request media scan (today's behavior): /storage/UNTITLED/foo.jpg Correct path to request media scan: /storage/removable_UNTITLED/foo.jpg This CL alters the path in Chrome side, since Android side can't tell if the requested path is on a removable device or not. Bug: 1000163 Test: Manually tested on Kevin. Change-Id: I318735135900ed47f144bff13a51965b0bcb0ee0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1787620 Commit-Queue: Naoki Fukino <fukino@chromium.org> Reviewed-by:Yusuke Sato <yusukes@chromium.org> Reviewed-by:
Ryo Hashimoto <hashimoto@chromium.org> Cr-Commit-Position: refs/heads/master@{#694192}
Showing
Please register or sign in to comment