Commit 1022c6bc authored by Rashed Abdel-Tawab's avatar Rashed Abdel-Tawab

push-update: Don't leave adb in root mode

Change-Id: I90d5a86bb943f137a44e70be508ee6efb0c77ed8
parent 09e6fcab
......@@ -51,3 +51,6 @@ adb shell "killall org.lineageos.updater 2>/dev/null"
adb shell "sqlite3 /data/data/org.lineageos.updater/databases/updates.db" \
"\"INSERT INTO updates (status, path, download_id, timestamp, type, version, size)" \
" VALUES ($status, '$zip_path_device', '$id', $timestamp, '$type', '$version', $size)\""
# Exit root mode
adb unroot
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment