summaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-11-12 22:00:36 +0000
committerThomas Martitz <kugel@rockbox.org>2010-11-12 22:00:36 +0000
commitf7c83ff96909dad66d76b63f4ff47fdb31b32d6b (patch)
treec7ce3cb345ddcbe819df6bf8e9d56469a69b882a /android
parent123bebeada5dce220d8ce96d31ed711cb13d8d05 (diff)
downloadrockbox-f7c83ff96909dad66d76b63f4ff47fdb31b32d6b.tar.gz
rockbox-f7c83ff96909dad66d76b63f4ff47fdb31b32d6b.tar.bz2
rockbox-f7c83ff96909dad66d76b63f4ff47fdb31b32d6b.zip
Android: Use adb install -r to reinstall the app, as it doesn't remove icons from the homescreen.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28568 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'android')
-rwxr-xr-xandroid/installApk.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/android/installApk.sh b/android/installApk.sh
index 5f3b0224d8..2cb98a1c01 100755
--- a/android/installApk.sh
+++ b/android/installApk.sh
@@ -1,8 +1,5 @@
#!/bin/sh
ADB="$ANDROID_SDK_PATH/tools/adb"
-if [ "$1" = "-r" ]; then
- echo 'pm uninstall org.rockbox; exit' | $ADB shell
-fi
-$ADB install rockbox.apk
+$ADB install -r rockbox.apk
echo 'am start -W -a android.intent.action.MAIN -n org.rockbox/.RockboxActivity; exit' | $ADB shell