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
diff --git a/build/envsetup.sh b/build/envsetup.sh
index c4ceb93..ba19ba1 100644
--- a/build/envsetup.sh
+++ b/build/envsetup.sh
@@ -891,7 +891,7 @@
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