mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
Boot animation shine!
This commit is contained in:
parent
b0b71adf66
commit
bfa7e90d5e
@ -95,6 +95,13 @@ generateBootAnimationMask() {
|
||||
}
|
||||
export -f generateBootAnimationMask;
|
||||
|
||||
generateBootAnimationShine() {
|
||||
color=$1;
|
||||
output=$2;
|
||||
convert -size 1024x128 -define gradient:angle=90 gradient:"$color"-#9E9E9E \( +clone -flop \) +append "$output";
|
||||
}
|
||||
export -f generateBootAnimationShine;
|
||||
|
||||
audit2allowCurrent() {
|
||||
adb shell dmesg | audit2allow -p "$ANDROID_PRODUCT_OUT"/root/sepolicy;
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ sed -i '/CM_TARGET_PACKAGE/s/lineage/'"$REBRAND_ZIP_PREFIX"'/' core/Makefile;
|
||||
|
||||
enter "frameworks/base";
|
||||
generateBootAnimationMask "$REBRAND_NAME" "$REBRAND_BOOTANIMATION_FONT" core/res/assets/images/android-logo-mask.png;
|
||||
#TODO: update android-logo-shine.png from white to orange
|
||||
generateBootAnimationShine "#FF5722" core/res/assets/images/android-logo-shine.png;
|
||||
|
||||
enter "packages/apps/Settings";
|
||||
sed -i '/.*cmlicense_title/s/LineageOS/'"$REBRAND_NAME"'/' res/values*/cm_strings.xml;
|
||||
|
@ -36,7 +36,7 @@ sed -i 's|echo "ro.build.host=`hostname`"|echo "ro.build.host=dosbm"|' tools/bui
|
||||
|
||||
enter "frameworks/base";
|
||||
generateBootAnimationMask "$REBRAND_NAME" "$REBRAND_BOOTANIMATION_FONT" core/res/assets/images/android-logo-mask.png;
|
||||
#TODO: update android-logo-shine.png from white to orange
|
||||
generateBootAnimationShine "#FF5722" core/res/assets/images/android-logo-shine.png;
|
||||
|
||||
enter "lineage-sdk";
|
||||
sed -i '/.*lineage_version/s/LineageOS/'"$REBRAND_NAME"'/' lineage/res/res/values*/strings.xml;
|
||||
|
Loading…
Reference in New Issue
Block a user