summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2016-10-01 19:09:38 -0400
committerPliable Pixels <pliablepixels@gmail.com>2016-10-01 19:09:38 -0400
commit40ede2996c386fb4f58b2ede19ff5503ece628eb (patch)
tree96411d129f3f7b83455df7c6cf4cac2dc7e29171
parent3c898b92449dc5fd45cad61408ec7fb0a5b5707e (diff)
added phone state check to build
Former-commit-id: 31b6aaa8268b8994b491001ee0620ff89e1f83d1
-rwxr-xr-xbuild_android.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build_android.sh b/build_android.sh
index b9daded9..43182a9a 100755
--- a/build_android.sh
+++ b/build_android.sh
@@ -91,6 +91,9 @@ if [ "$BUILD_MODE" = "native" ] || [ "$BUILD_MODE" = "all" ]; then
~/Library/Android/sdk/build-tools/22.0.1/zipalign -v 4 android-release-unsigned.apk zmNinja.apk
rm -f android-release-unsigned.apk
cd ..
+ ./checkperms.sh release_files/zmNinja.apk
+ echo "*** Phone State Check:"
+ ./checkperms.sh release_files/zmNinja.apk | grep PHONE_STATE
fi