Only ship Silence on phones

This commit is contained in:
Tad 2017-06-29 10:47:10 -04:00
parent 5a2d807666
commit 7bcac24b49
2 changed files with 1 additions and 4 deletions

View File

@ -14,7 +14,3 @@ PRODUCT_PACKAGES += \
# Offline Calendar # Offline Calendar
#PRODUCT_PACKAGES += \ #PRODUCT_PACKAGES += \
# OfflineCalendar # OfflineCalendar
# Slience
PRODUCT_PACKAGES += \
Silence

View File

@ -65,6 +65,7 @@ enter "build"
patch -p1 < $patches"android_build/0001-Automated_Build_Signing.patch" #Automated build signing 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.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|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" enter "device/qcom/sepolicy"
patch -p1 < $patches"android_device_qcom_sepolicy/0001-Camera_Fix.patch" #Fix camera on user builds patch -p1 < $patches"android_device_qcom_sepolicy/0001-Camera_Fix.patch" #Fix camera on user builds