From c2d6e555d625ad423f24b73aaf1cad2209e40843 Mon Sep 17 00:00:00 2001 From: yoonkyungkim Date: Tue, 24 Oct 2023 15:07:26 +0900 Subject: [PATCH] Delete Shusky media_profiles from device/google media_profile contains potentially sensitive data. These files should not be located in device/google, since this folder history is visible in AOSP. Test: build success(source build/envsetup.sh && lunch husky/shiba/ripcurrent-trunk_staging-userdebug && m) Test: Manual test with GCA(video recording) Bug: 305170657 Change-Id: Ia9976f9ec1760c43fa88780133bd06c34318bf6a --- device-husky.mk | 4 - device-ripcurrent.mk | 4 - device-shiba.mk | 2 - media_profiles_husky.xml | 1808 --------------------------------- media_profiles_ripcurrent.xml | 1808 --------------------------------- media_profiles_shiba.xml | 1440 -------------------------- 6 files changed, 5066 deletions(-) delete mode 100644 media_profiles_husky.xml delete mode 100644 media_profiles_ripcurrent.xml delete mode 100644 media_profiles_shiba.xml diff --git a/device-husky.mk b/device-husky.mk index 057648f..4fc1d3e 100644 --- a/device-husky.mk +++ b/device-husky.mk @@ -72,10 +72,6 @@ PRODUCT_COPY_FILES += \ device/google/shusky/husky/radio/husky_camera_rear_tele_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/camera_rear_tele_mipi_coex_table.csv \ device/google/shusky/husky/radio/husky_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv -# Camera -PRODUCT_COPY_FILES += \ - device/google/shusky/media_profiles_husky.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml - # NFC PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ diff --git a/device-ripcurrent.mk b/device-ripcurrent.mk index 2fc2522..703397e 100644 --- a/device-ripcurrent.mk +++ b/device-ripcurrent.mk @@ -55,10 +55,6 @@ PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \ device/google/shusky/conf/init.recovery.device.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.ripcurrent.rc -# Camera -PRODUCT_COPY_FILES += \ - device/google/shusky/media_profiles_ripcurrent.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml - # NFC PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ diff --git a/device-shiba.mk b/device-shiba.mk index fff5cfa..4e28fef 100644 --- a/device-shiba.mk +++ b/device-shiba.mk @@ -54,8 +54,6 @@ PRODUCT_COPY_FILES += \ device/google/shusky/shiba/radio/shiba_display_primary_mipi_coex_table.csv:$(TARGET_COPY_OUT_VENDOR)/etc/modem/display_primary_mipi_coex_table.csv # Camera -PRODUCT_COPY_FILES += \ - device/google/shusky/media_profiles_shiba.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml PRODUCT_PROPERTY_OVERRIDES += \ persist.vendor.camera.rls_range_supported=false diff --git a/media_profiles_husky.xml b/media_profiles_husky.xml deleted file mode 100644 index 8abc330..0000000 --- a/media_profiles_husky.xml +++ /dev/null @@ -1,1808 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media_profiles_ripcurrent.xml b/media_profiles_ripcurrent.xml deleted file mode 100644 index 6e2977d..0000000 --- a/media_profiles_ripcurrent.xml +++ /dev/null @@ -1,1808 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/media_profiles_shiba.xml b/media_profiles_shiba.xml deleted file mode 100644 index 1da2154..0000000 --- a/media_profiles_shiba.xml +++ /dev/null @@ -1,1440 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -