Update Android quirks documentation

This commit is contained in:
Gioacchino Mazzurco 2018-03-12 17:06:01 +01:00
parent ce56a201c4
commit e9b49e122f
No known key found for this signature in database
GPG Key ID: A1FBCA3872E87051

View File

@ -159,9 +159,14 @@ export BACKUP_DIR="org.retroshare.android.qml_app.backup"
adb root
## Launch the app to make sure the parent directory exists and has proper owner
adb shell monkey -p org.retroshare.android.qml_app -c android.intent.category.LAUNCHER 1
sleep 1s
adb shell am force-stop org.retroshare.android.qml_app
sleep 1s
APP_OWNER="$(adb shell busybox ls -lnd ${ORIG_DIR} | awk '{print $3":"$4}')"
adb shell rm -rf ${ORIG_DIR}/files
adb push ${BACKUP_DIR}/files/ ${ORIG_DIR}/files/