1
0
mirror of https://github.com/ARM-software/devlib.git synced 2025-02-07 05:30:44 +00:00

AndroidTarget: Adds property to retrieve path of external storage

In andoid terms the external storage usually means the internal emulated
sdcard located at '/sdcard/'. This is the usually the root location used for
applications to read files that are not part of the application itself
from.
This commit is contained in:
Marc Bonnici 2017-11-07 09:21:57 +00:00
parent aca3d451f7
commit 6fae051deb

View File

@ -957,6 +957,11 @@ class AndroidTarget(Target):
except KeyError:
return None
@property
@memoized
def external_storage(self):
return self.execute('echo $EXTERNAL_STORAGE').strip()
@property
@memoized
def screen_resolution(self):