From 032c9f3ace579df654eb8e80e36d12feff8e3074 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Wed, 12 Oct 2022 00:45:44 +0000 Subject: [PATCH] Changes for October 2022 --- .../0001-treble-Lineage-ify.patch | 10 ++--- ...ARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch | 4 +- ...treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch | 4 +- .../0004-treble-Set-OTA-JSON-URL.patch | 4 +- .../0005-treble-Enable-call-recording.patch | 40 +++++++++++++++++++ ...> 0006-add-offline-charger-sepolicy.patch} | 4 +- 6 files changed, 53 insertions(+), 13 deletions(-) create mode 100644 patches_treble/device_phh_treble/0005-treble-Enable-call-recording.patch rename patches_treble/device_phh_treble/{0005-add-offline-charger-sepolicy.patch => 0006-add-offline-charger-sepolicy.patch} (77%) diff --git a/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch b/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch index 9b3e855..bb550ab 100644 --- a/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch +++ b/patches_treble/device_phh_treble/0001-treble-Lineage-ify.patch @@ -1,7 +1,7 @@ -From 26669a1e511d9622a55795b611ed10b4d55ee54f Mon Sep 17 00:00:00 2001 +From e9e544ab62732999ad6ef19df72310b80957f796 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 8 Aug 2021 01:43:40 +0000 -Subject: [PATCH 1/5] treble: Lineage-ify +Subject: [PATCH 1/6] treble: Lineage-ify Squash of: - Proper target names @@ -30,7 +30,7 @@ index 6a317e4..e69de29 100644 -PRODUCT_COPY_FILES += \ - device/sample/etc/apns-full-conf.xml:system/etc/apns-conf.xml diff --git a/base.mk b/base.mk -index 7020df2..c87986e 100644 +index d3a0a20..b6c1d25 100644 --- a/base.mk +++ b/base.mk @@ -8,12 +8,14 @@ PRODUCT_COPY_FILES := \ @@ -68,7 +68,7 @@ index 7020df2..c87986e 100644 #VNDK config files PRODUCT_COPY_FILES += \ diff --git a/generate.sh b/generate.sh -index 352fe12..623a9ce 100644 +index fac8208..84d1e3d 100644 --- a/generate.sh +++ b/generate.sh @@ -64,7 +64,7 @@ for part in a ab;do @@ -168,7 +168,7 @@ index 0000000..8df673a + 127 + diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml -index 89be3f6..bad8f29 100644 +index 0bc3350..045f4b3 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -22,7 +22,6 @@ diff --git a/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch b/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch index 6426c9f..9f3c9e9 100644 --- a/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch +++ b/patches_treble/device_phh_treble/0002-treble-Set-BOARD_EXT4_SHARE_DUP_BLOCKS-explicitly.patch @@ -1,7 +1,7 @@ -From 93b03ccb8f4572de3af7795da5572ea337f8fb80 Mon Sep 17 00:00:00 2001 +From 1c84a4ccc2b1f07c7512cf69a049d2d93e11c25a Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Sun, 8 Aug 2021 09:29:32 +0000 -Subject: [PATCH 2/5] treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly +Subject: [PATCH 2/6] treble: Set BOARD_EXT4_SHARE_DUP_BLOCKS explicitly Change-Id: I725443154fabde548d2e6c1b072d34c27596c421 --- diff --git a/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch b/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch index 0027e30..8d300f3 100644 --- a/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch +++ b/patches_treble/device_phh_treble/0003-treble-Set-TARGET_NO_KERNEL_OVERRIDE.patch @@ -1,7 +1,7 @@ -From 28e5f836e3bfc674e7466320f755751edd33886a Mon Sep 17 00:00:00 2001 +From c7cd350bd822cc161ee7da4d5f10239d6f267f44 Mon Sep 17 00:00:00 2001 From: Andy CrossGate Yan Date: Wed, 20 Oct 2021 11:30:25 +0000 -Subject: [PATCH 3/5] treble: Set TARGET_NO_KERNEL_OVERRIDE +Subject: [PATCH 3/6] treble: Set TARGET_NO_KERNEL_OVERRIDE Taken from Lineage generic targets - skips building kernel cleanly diff --git a/patches_treble/device_phh_treble/0004-treble-Set-OTA-JSON-URL.patch b/patches_treble/device_phh_treble/0004-treble-Set-OTA-JSON-URL.patch index 7db87b4..905dacc 100644 --- a/patches_treble/device_phh_treble/0004-treble-Set-OTA-JSON-URL.patch +++ b/patches_treble/device_phh_treble/0004-treble-Set-OTA-JSON-URL.patch @@ -1,7 +1,7 @@ -From dbd801eb83540152467c56bb328d415ebeb82685 Mon Sep 17 00:00:00 2001 +From 8140556b5d24e3b07785299c710b94d6451f2dda Mon Sep 17 00:00:00 2001 From: Alberto Ponces Date: Wed, 9 Feb 2022 12:34:47 +0000 -Subject: [PATCH 4/5] treble: Set OTA JSON URL +Subject: [PATCH 4/6] treble: Set OTA JSON URL Change-Id: I8f817b90d42629c208ceb45598daf5293850b953 --- diff --git a/patches_treble/device_phh_treble/0005-treble-Enable-call-recording.patch b/patches_treble/device_phh_treble/0005-treble-Enable-call-recording.patch new file mode 100644 index 0000000..83d4527 --- /dev/null +++ b/patches_treble/device_phh_treble/0005-treble-Enable-call-recording.patch @@ -0,0 +1,40 @@ +From 8c9a935e9f06bd41bc21ca42126422840e5f6075 Mon Sep 17 00:00:00 2001 +From: Andy CrossGate Yan +Date: Tue, 11 Oct 2022 11:29:02 +0000 +Subject: [PATCH 5/6] treble: Enable call recording + +Change-Id: I57ca3604363547419a566b37b5151b6b30c46d28 +--- + .../dialer/callrecord/res/values/config.xml | 20 +++++++++++++++++++ + 1 file changed, 20 insertions(+) + create mode 100644 overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml + +diff --git a/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml b/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml +new file mode 100644 +index 0000000..4cacde5 +--- /dev/null ++++ b/overlay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml +@@ -0,0 +1,20 @@ ++ ++ ++ ++ true ++ 4 ++ +-- +2.25.1 + diff --git a/patches_treble/device_phh_treble/0005-add-offline-charger-sepolicy.patch b/patches_treble/device_phh_treble/0006-add-offline-charger-sepolicy.patch similarity index 77% rename from patches_treble/device_phh_treble/0005-add-offline-charger-sepolicy.patch rename to patches_treble/device_phh_treble/0006-add-offline-charger-sepolicy.patch index d59faf2..2bc8584 100644 --- a/patches_treble/device_phh_treble/0005-add-offline-charger-sepolicy.patch +++ b/patches_treble/device_phh_treble/0006-add-offline-charger-sepolicy.patch @@ -1,7 +1,7 @@ -From 11c35f78a117c21de95131b8318bf41e53e4f4ec Mon Sep 17 00:00:00 2001 +From bc4df70c212cf14b52f0fb9a928524a4adbaf8e3 Mon Sep 17 00:00:00 2001 From: Victor Bo Date: Tue, 15 Sep 2020 21:26:45 -0400 -Subject: [PATCH 5/5] add offline charger sepolicy +Subject: [PATCH 6/6] add offline charger sepolicy --- sepolicy/gsicharger.te | 1 +