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
This commit is contained in:
Michael W
2020-06-17 17:37:09 +02:00
committed by Bruno Martins
parent 2759a5b50e
commit a28fa6de34

View File

@@ -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