Commit 19ed417e authored by Tanmay Patil's avatar Tanmay Patil
Browse files

Fixes external storage path for SensorCtsHelper getSensorTestDirectory()

Uses getExternalStorageDirectory() instead of System.getenv("EXTERNAL_STORAGE")
getExternalStorageDirectory() returns external sdcard path if available else returns
path to emulated external storage and the correct user path unlike
System.getenv("EXTERNAL_STORAGE") that always returns emulated storage path.

Bug: 122847403
Test:  Run test module CtsSensorTestCases on Pixel/AAE platform.
Change-Id: I5bf27940812575b094f18974b0b41ffa5be815f6
parent 4bfe8b80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment