From 5ad978c173c85dbd319100736c4995c4b4c5c4ca Mon Sep 17 00:00:00 2001 From: Michael W Date: Wed, 17 Jun 2020 17:37:09 +0200 Subject: [PATCH] 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 --- build/envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/envsetup.sh b/build/envsetup.sh index f1fafc58..fbe566c6 100644 --- a/build/envsetup.sh +++ b/build/envsetup.sh @@ -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