diff options
author | Joey Hess <joey@kitenet.net> | 2013-05-04 16:31:23 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-05-04 16:31:23 -0400 |
commit | b76228d1878a0caa35ca6ad996052d8474a3fc4e (patch) | |
tree | 5e23b91f687c76c9090a4e8ba4b05524e38d48cf /standalone/android | |
parent | a210689fff14d3a1b2b8c41b17d9384a3d41cb8c (diff) |
add android.permission.WRITE_MEDIA_STORAGE
Needed to access removable media such as USB drives.
May only work with newer versions of Android.
Diffstat (limited to 'standalone/android')
-rw-r--r-- | standalone/android/term.patch | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/standalone/android/term.patch b/standalone/android/term.patch index 9794d1af2..e7e2983c8 100644 --- a/standalone/android/term.patch +++ b/standalone/android/term.patch @@ -1,3 +1,15 @@ +diff --git a/AndroidManifest.xml b/AndroidManifest.xml +index b0e866a..1ab8515 100644 +--- a/AndroidManifest.xml ++++ b/AndroidManifest.xml +@@ -7,6 +7,7 @@ + <uses-feature android:name="android.hardware.touchscreen" android:required="false" /> + <uses-permission android:name="android.permission.INTERNET" /> + <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> ++ <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> + <uses-permission android:name="android.permission.WAKE_LOCK" /> + <permission android:name="jackpal.androidterm.permission.RUN_SCRIPT" + android:label="@string/perm_run_script" diff --git a/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java b/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java index f6952f0..1a8df8f 100644 --- a/examples/widget/src/jackpal/androidterm/sample/telnet/TermActivity.java @@ -12,7 +24,7 @@ index f6952f0..1a8df8f 100644 Process exec = null; try { diff --git a/res/values/defaults.xml b/res/values/defaults.xml -index 67287b2..c2103ba 100644 +index 67287b2..9b7cfcd 100644 --- a/res/values/defaults.xml +++ b/res/values/defaults.xml @@ -13,10 +13,10 @@ |