20.0: bringup mata

Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
Tad 2023-02-01 17:30:46 -05:00
parent baa0252c6b
commit 4155cec7e3
No known key found for this signature in database
GPG key ID: B286E9F57A07424B
5 changed files with 207 additions and 4 deletions

View file

@ -84,18 +84,20 @@ if enter "packages/apps/Updater"; then
sed -i 's/Constants.UPDATE_RECOVERY_PROPERTY, false)/Constants.UPDATE_RECOVERY_PROPERTY, true)/' src/org/lineageos/updater/UpdatesActivity.java &>/dev/null || true; #Always update recovery by default 18.1+
fi;
fi [[ "$DOS_VERSION" == "LineageOS-14.1" ]]; then
if [[ "$DOS_VERSION" == "LineageOS-14.1" ]]; then
if enter "vendor/cm"; then #14.1
sed -i 's/ro.config.notification_sound=Argon.ogg/ro.config.notification_sound=Pong.ogg/' config/common*.mk &>/dev/null || true;
sed -i 's/ro.config.alarm_alert=Hassium.ogg/ro.config.alarm_alert=Alarm_Buzzer.ogg/' config/common*.mk &>/dev/null || true;
fi;
fi;
fi [[ "$DOS_VERSION" != "LineageOS-14.1" ]]; then
else
if enter "vendor/lineage"; then #15.1+
sed -i 's/ro.config.notification_sound=Argon.ogg/ro.config.notification_sound=Pong.ogg/' config/common*.mk &>/dev/null || true;
sed -i 's/ro.config.alarm_alert=Hassium.ogg/ro.config.alarm_alert=Alarm_Buzzer.ogg/' config/common*.mk &>/dev/null || true;
fi;
fi;
cd "$DOS_BUILD_BASE";