Fix for AssetManager.list() not working on some devices.

Some devices won't list contents of shared directory if path is
suffixed with '/'.

Test: build_and_run_benchmark.sh
Bug: 111975862
Change-Id: Ied2e7e591c6013b3502930fcc3198201f2ee7699
Merged-In: Ied2e7e591c6013b3502930fcc3198201f2ee7699
(cherry picked from commit 65646588d880141959bb2a455181cbcfde51e158)
1 file changed