mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
Fixup previous commits
This commit is contained in:
parent
accb8bba37
commit
c914a655a5
6 changed files with 36 additions and 8 deletions
|
@ -99,7 +99,7 @@ generateBootAnimationShine() {
|
|||
color=$1;
|
||||
style=$2;
|
||||
output=$3;
|
||||
if [ "$style" = "gradient"]; then
|
||||
if [ "$style" = "gradient" ]; then
|
||||
convert -size 1024x128 -define gradient:angle=90 plasma:"$color" \( +clone -flop \) +append "$output";
|
||||
elif [ "$style" = "plasma" ]; then
|
||||
convert -size 2048x128 plasma:"$color" "$output";
|
||||
|
|
|
@ -84,6 +84,7 @@ sed -i 's|config_permissionReviewRequired">false|config_permissionReviewRequired
|
|||
patch -p1 < "$patches/android_frameworks_base/0001-Reduced_Resolution.patch"; #Allow reducing resolution to save power TODO: Add 800x480
|
||||
if [ "$MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$patches/android_frameworks_base/0003-Signature_Spoofing.patch"; fi; #Allow packages to spoof their signature (microG)
|
||||
if [ "$MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$patches/android_frameworks_base/0005-Harden_Sig_Spoofing.patch"; fi; #Restrict signature spoofing to system apps signed with the platform key
|
||||
if [ "$MICROG_INCLUDED" = "NLP" ]; then patch -p1 < "$patchesCommon/android_frameworks_base/0001-UnifiedNLP_Support.patch"; fi; #Add UnifiedNLP to location providers
|
||||
changeDefaultDNS;
|
||||
#patch -p1 < "$patches/android_frameworks_base/0007-Connectivity.patch"; #Change connectivity check URLs to ours
|
||||
patch -p1 < "$patches/android_frameworks_base/0008-Disable_Analytics.patch"; #Disable/reduce functionality of various ad/analytics libraries
|
||||
|
|
|
@ -84,6 +84,7 @@ sed -i 's/com.android.messaging/org.smssecure.smssecure/' core/res/res/values/co
|
|||
sed -i 's|config_permissionReviewRequired">false|config_permissionReviewRequired">true|' core/res/res/values/config.xml;
|
||||
if [ "$MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$patches/android_frameworks_base/0002-Signature_Spoofing.patch"; fi; #Allow packages to spoof their signature (microG)
|
||||
if [ "$MICROG_INCLUDED" = "FULL" ]; then patch -p1 < "$patches/android_frameworks_base/0003-Harden_Sig_Spoofing.patch"; fi; #Restrict signature spoofing to system apps signed with the platform key
|
||||
if [ "$MICROG_INCLUDED" = "NLP" ]; then patch -p1 < "$patchesCommon/android_frameworks_base/0001-UnifiedNLP_Support.patch"; fi; #Add UnifiedNLP to location providers
|
||||
changeDefaultDNS;
|
||||
#patch -p1 < "$patches/android_frameworks_base/0005-Connectivity.patch"; #Change connectivity check URLs to ours
|
||||
patch -p1 < "$patches/android_frameworks_base/0006-Disable_Analytics.patch"; #Disable/reduce functionality of various ad/analytics libraries
|
||||
|
|
|
@ -88,7 +88,7 @@ source "$scripts/Functions.sh";
|
|||
|
||||
export LC_ALL=C;
|
||||
|
||||
unalias cp;
|
||||
unalias mv;
|
||||
unalias rm;
|
||||
unalias ln;
|
||||
unalias cp &>/dev/null || true;
|
||||
unalias mv &>/dev/null || true;
|
||||
unalias rm &>/dev/null || true;
|
||||
unalias ln &>/dev/null || true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue