From ac207243b02f894b7a6a8a8306bd6430b2ed364b Mon Sep 17 00:00:00 2001 From: Danny Lin Date: Sun, 7 Nov 2021 06:29:12 -0800 Subject: [PATCH] list-files: Ignore mainline system files --- src/commands/list-files.ts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/commands/list-files.ts b/src/commands/list-files.ts index e004bc0..7725e73 100644 --- a/src/commands/list-files.ts +++ b/src/commands/list-files.ts @@ -23,7 +23,8 @@ const IGNORE_EXTS = new Set([ // Prefixes for files to ignore const IGNORE_PREFIXES = paths([ // GMS - `product/usr/srec + `system/etc/permissions/privapp-permissions-google.xml +product/usr/srec product/app/arcore/arcore.apk product/app/CalculatorGooglePrebuilt/CalculatorGooglePrebuilt.apk product/app/CalendarGooglePrebuilt/CalendarGooglePrebuilt.apk @@ -72,6 +73,16 @@ product/priv-app/Velvet/Velvet.apk product/priv-app/WellbeingPrebuilt/WellbeingPrebuilt.apk system_ext/priv-app/GoogleServicesFramework/GoogleServicesFramework.apk`, + // Mainline system + `system/apex/com.google.android. +system/app/GoogleExtShared/GoogleExtShared.apk +system/app/GooglePrintRecommendationService/GooglePrintRecommendationService.apk +system/priv-app/DocumentsUIGoogle/DocumentsUIGoogle.apk +system/priv-app/GooglePackageInstaller/GooglePackageInstaller.apk +system/priv-app/NetworkPermissionConfigGoogle/NetworkPermissionConfigGoogle.apk +system/priv-app/NetworkStackGoogle/NetworkStackGoogle.apk +system/priv-app/TagGoogle/TagGoogle.apk`, + // Google Dialer `product/etc/permissions/com.google.android.dialer.support.xml`,