push-update: Don't leave adb in root mode
Change-Id: I90d5a86bb943f137a44e70be508ee6efb0c77ed8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user