mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-24 23:19:31 -05:00
Use HTTPS for GLPals
Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
3943ebc749
commit
626821d12d
@ -518,7 +518,7 @@ hardenLocationConf() {
|
||||
sed -i 's|xtrapath3|xtrapath6|' "$gpsConfig" &>/dev/null || true;
|
||||
#Enable HTTPS (IZatCloud supports HTTPS)
|
||||
sed -i 's|http://xtrapath|https://xtrapath|' "$gpsConfig" &>/dev/null || true;
|
||||
#sed -i 's|http://gllto|https://gllto|' "$gpsConfig" &>/dev/null || true; XXX: GLPals has an invaid certificate
|
||||
sed -i 's|http://gllto|https://gllto|' "$gpsConfig" &>/dev/null || true;
|
||||
echo "Enhanced location services for $gpsConfig";
|
||||
}
|
||||
export -f hardenLocationConf;
|
||||
@ -544,7 +544,7 @@ hardenLocationFWB() {
|
||||
sed -i 's|xtrapath3|xtrapath6|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true;
|
||||
#Enable HTTPS (IZatCloud supports HTTPS)
|
||||
sed -i 's|http://xtrapath|https://xtrapath|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true;
|
||||
#sed -i 's|http://gllto|https://gllto|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true; XXX: GLPals has an invaid certificate
|
||||
sed -i 's|http://gllto|https://gllto|' "$dir"/frameworks/base/core/res/res/values*/*.xml &>/dev/null || true;
|
||||
echo "Enhanced location services for $dir";
|
||||
}
|
||||
export -f hardenLocationFWB;
|
||||
|
@ -540,6 +540,7 @@ if enterAndClear "device/samsung/tuna"; then
|
||||
#git revert --no-edit e53eea6426da49dfb542929d5aa686667f4d416f; #restore releasetools #TODO
|
||||
rm setup-makefiles.sh; #broken, deblobber will still function
|
||||
sed -i 's|vendor/maguro/|vendor/|' libgps-shim/gps.c; #fix dlopen not found
|
||||
sed -i 's|http://gllto|https://gllto|' cmhw/org/cyanogenmod/hardware/LongTermOrbits.java; #Use HTTPS for PSDS
|
||||
#See: https://review.lineageos.org/q/topic:tuna-sepolicies
|
||||
applyPatch "$DOS_PATCHES/android_device_samsung_tuna/0001-fix_denial.patch"; #(nailyk)
|
||||
applyPatch "$DOS_PATCHES/android_device_samsung_tuna/0002-fix_denial.patch";
|
||||
|
Loading…
Reference in New Issue
Block a user