diff --git a/changeAppSettings.sh b/changeAppSettings.sh index be6dd2032..a8e5afc1e 100755 --- a/changeAppSettings.sh +++ b/changeAppSettings.sh @@ -801,6 +801,8 @@ esac if [ "$AccessSdCard" = "n" ]; then $SEDI "/==EXTERNAL_STORAGE==/ d" project/AndroidManifest.xml +else + $SEDI "/==NOT_EXTERNAL_STORAGE==/ d" project/AndroidManifest.xml fi if [ "$AccessInternet" = "n" ]; then diff --git a/project/AndroidManifestTemplate.xml b/project/AndroidManifestTemplate.xml index 124b769c0..693b4e663 100644 --- a/project/AndroidManifestTemplate.xml +++ b/project/AndroidManifestTemplate.xml @@ -45,11 +45,12 @@ - - - - - + + + + + + diff --git a/project/jni/application/xserver/AndroidAppSettings.cfg b/project/jni/application/xserver/AndroidAppSettings.cfg index 7c574faed..44f91128f 100644 --- a/project/jni/application/xserver/AndroidAppSettings.cfg +++ b/project/jni/application/xserver/AndroidAppSettings.cfg @@ -160,7 +160,7 @@ AppUsesMultitouch=y AppRecordsAudio=n # Application needs to access SD card. If your data files are bigger than 5 Mb, enable it. (y) / (n) -AccessSdCard= +AccessSdCard=n # Application needs Internet access. If you disable it, you'll have to bundle all your data files inside .apk (y) / (n) AccessInternet=y