mirror of
https://github.com/ARM-software/devlib.git
synced 2025-06-20 22:15:12 +01: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:
@ -957,6 +957,11 @@ class AndroidTarget(Target):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
@property
|
||||||
|
@memoized
|
||||||
|
def external_storage(self):
|
||||||
|
return self.execute('echo $EXTERNAL_STORAGE').strip()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@memoized
|
@memoized
|
||||||
def screen_resolution(self):
|
def screen_resolution(self):
|
||||||
|
Reference in New Issue
Block a user