Commit 5ad978c1 authored by Michael W's avatar Michael W Committed by Bruno Martins
Browse files

envsetup: dopush: Correct paths

* In order to automatically restart the system when pushing SystemUI, the
  path must actually be correct
* Since android 10 it's in system/*product*/priv-app and 11 will move
  it again, so just match it anywhere
* Make framework also location independent

Change-Id: I4a9eb1edbbb21ab8abe17815c606921f7a538b7f
parent cadcc2b5
......@@ -883,7 +883,7 @@ EOF
fi
adb shell restorecon "$TARGET"
;;
/system/priv-app/SystemUI/SystemUI.apk|/system/framework/*)
*/SystemUI.apk|*/framework/*)
# Only need to stop services once
if ! $stop_n_start; then
adb shell stop
......
Supports Markdown
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