From 29cd63fdda104a389142f269ed06c5845ce7bf14 Mon Sep 17 00:00:00 2001 From: Dmitry Muhomor Date: Mon, 28 Aug 2023 13:38:57 +0300 Subject: [PATCH] update overlay filters for felix and tangorpro Previously-removed overlays no longer break the resource parser. --- config/device/common/overlay-removal.yml | 13 +++++++++++-- config/device/felix.yml | 12 ------------ config/device/tangorpro.yml | 11 +++-------- 3 files changed, 14 insertions(+), 22 deletions(-) diff --git a/config/device/common/overlay-removal.yml b/config/device/common/overlay-removal.yml index 7489aa0..899c33b 100644 --- a/config/device/common/overlay-removal.yml +++ b/config/device/common/overlay-removal.yml @@ -14,6 +14,10 @@ filters: - android:string/config_feedbackIntent - android:string/config_helpIntent - android:string/config_helpPackage + # "Face unlock" is not shipped + - com.android.settings:bool/config_face_ + - com.android.settings:string/config_face_ + - com.android.settings:string/security_settings_face_ # Pixel SetupWizard - com.google.android.pixel.setupwizard # Unused @@ -42,8 +46,11 @@ filters: - com.google.android.flipendo # unused oma-dm stuff - com.android.omadm.service - regex: + substring: - branded_vpn + # "Face unlock" is not shipped + - /config_face_ + - /face_acquired match: - android:bool/config_adaptive_sleep_available - android:bool/config_assistLongPressHomeEnabledDefault @@ -196,18 +203,20 @@ filters: - com.android.providers.telephony:string/apn_source_service - com.android.server.telecom:string/call_diagnostic_service_package_name - com.android.server.telecom:string/dialer_default_class + - com.android.settings:bool/config_auto_rotate_face_detection_available - com.android.settings:bool/config_nfc_detection_point - com.android.settings:bool/config_show_communal_settings - com.android.settings:bool/config_show_reverse_charging - com.android.settings:bool/config_show_touch_sensitivity - com.android.settings:bool/config_suc_use_partner_resource + - com.android.settings:bool/config_suw_support_face_enroll - com.android.settings:drawable/$aware_assist_static__0 - com.android.settings:drawable/$aware_assist_static__1 - com.android.settings:drawable/aware_assist_static + - com.android.settings:integer-array/face_enroll_primary_buckets - com.android.settings:string-array/config_preinstalled_dream_components - com.android.settings:string-array/config_settings_slices_accessibility_components - com.android.settings:string-array/slice_allowlist_package_names - - com.android.settings:string/config_face_enroll_traffic_light_package - com.android.settings:string/security_settings_fingerprint_v2_enroll_introduction_message_learn_more - com.android.systemui:bool/config_touch_context_enabled - com.android.systemui:bool/config_wlc_support_enabled diff --git a/config/device/felix.yml b/config/device/felix.yml index d98b3ce..ea95cfe 100644 --- a/config/device/felix.yml +++ b/config/device/felix.yml @@ -8,15 +8,3 @@ platform: includes: - common/gen7pixel.yml - -filters: - overlay_files: - match: - # aapt2 parsing bug encountered within adevtool - - Flipendo__auto_generated_rro_product.apk - - HbmSVManager__auto_generated_rro_product.apk - - SettingsGoogle__auto_generated_rro_product.apk - - SettingsGoogleOverlayFelix.apk - - StorageManagerGoogle__auto_generated_rro_product.apk - - SystemUIGoogle__auto_generated_rro_product.apk - - Traceur__auto_generated_rro_product.apk diff --git a/config/device/tangorpro.yml b/config/device/tangorpro.yml index 9250151..f6a6574 100644 --- a/config/device/tangorpro.yml +++ b/config/device/tangorpro.yml @@ -11,11 +11,6 @@ includes: filters: overlay_files: - match: - # aapt2 parsing bug encountered within adevtool - - DockSetup__auto_generated_rro_product.apk - - Flipendo__auto_generated_rro_product.apk - - SettingsGoogle__auto_generated_rro_product.apk - - StorageManagerGoogle__auto_generated_rro_product.apk - - SystemUITitan__auto_generated_rro_product.apk - - Traceur__auto_generated_rro_product.apk + prefix: + # DockSetup itself is not shipped + - DockSetup__auto_generated_rro_