From 7bcac24b492398cd8a88be14886d5ff81abfb171 Mon Sep 17 00:00:00 2001 From: Tad Date: Thu, 29 Jun 2017 10:47:10 -0400 Subject: [PATCH] Only ship Silence on phones --- Patches/LineageOS-14.1/android_vendor_cm/sce.mk | 4 ---- Scripts/LAOS-14.1_Patches.sh | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/Patches/LineageOS-14.1/android_vendor_cm/sce.mk b/Patches/LineageOS-14.1/android_vendor_cm/sce.mk index 9e4b3ab6..c682838d 100644 --- a/Patches/LineageOS-14.1/android_vendor_cm/sce.mk +++ b/Patches/LineageOS-14.1/android_vendor_cm/sce.mk @@ -14,7 +14,3 @@ PRODUCT_PACKAGES += \ # Offline Calendar #PRODUCT_PACKAGES += \ # OfflineCalendar - -# Slience -PRODUCT_PACKAGES += \ - Silence diff --git a/Scripts/LAOS-14.1_Patches.sh b/Scripts/LAOS-14.1_Patches.sh index 50b7485d..a5d5e2fe 100755 --- a/Scripts/LAOS-14.1_Patches.sh +++ b/Scripts/LAOS-14.1_Patches.sh @@ -65,6 +65,7 @@ enter "build" patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing sed -i 's|echo "ro.build.user=$USER"|echo "ro.build.user=emy"|' tools/buildinfo.sh; #Override build user sed -i 's|echo "ro.build.host=`hostname`"|echo "ro.build.host=dosbm"|' tools/buildinfo.sh; #Override build host +sed -i 's/messaging/Silence/' target/product/*.mk; #Replace AOSP Messaging app with Silence TODO: Refine this enter "device/qcom/sepolicy" patch -p1 < $patches"android_device_qcom_sepolicy/0001-Camera_Fix.patch" #Fix camera on user builds