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
gugelfrei
Michael W 4 years ago committed by Bruno Martins
parent cadcc2b501
commit 5ad978c173

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

Loading…
Cancel
Save