From 60cf364f1951a1ee79a12a21d3d848ddcde66357 Mon Sep 17 00:00:00 2001 From: Tad Date: Wed, 3 Apr 2019 19:04:37 -0400 Subject: [PATCH] Minor tweaks - init.sh: sort options - overlay: leave radioScanningTimeout default - hardenDefconfig: disable more components with CVEs - cherry picks - 16.0: trebuchet: tmp fix for default workspace overlay --- Misc/Features/CaptivePortalCheck.txt | 8 ++++++++ .../base/core/res/res/values/config.xml | 4 ---- Scripts/Common/Functions.sh | 3 ++- Scripts/LineageOS-14.1/Functions.sh | 2 +- Scripts/LineageOS-15.1/Functions.sh | 3 ++- Scripts/LineageOS-16.0/Patch.sh | 3 +++ Scripts/init.sh | 20 ++++++++++--------- 7 files changed, 27 insertions(+), 16 deletions(-) diff --git a/Misc/Features/CaptivePortalCheck.txt b/Misc/Features/CaptivePortalCheck.txt index 51024e24..7d97054e 100644 --- a/Misc/Features/CaptivePortalCheck.txt +++ b/Misc/Features/CaptivePortalCheck.txt @@ -31,3 +31,11 @@ List of known connectivity check endpoints + Fedora - OK - http://fedoraproject.org/static/hotspot.txt + Gnome - "NetworkManager is online" - http://nmcheck.gnome.org/check_network_status.txt + Mozilla - success - http://detectportal.firefox.com/success.txt + + + +export DOS_CONNECTIVITY_CHECK_HTTP="http://connectivitycheck.gstatic.com/generate_204"; #Options: Any endpoint that returns HTTP 204 repsonse +export DOS_CONNECTIVITY_CHECK_HTTPS="https://www.google.com/generate_204"; +export DOS_CONNECTIVITY_CHECK_FALLBACK="http://www.google.com/gen_204"; +export DOS_CONNECTIVITY_CHECK_FALLBACK_ALT="http://play.googleapis.com/generate_204"; +export DOS_CONNECTIVITY_CHECK_USERAGENT="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.32 Safari/537.36"; diff --git a/Patches/Common/android_vendor_divested/overlay/common/frameworks/base/core/res/res/values/config.xml b/Patches/Common/android_vendor_divested/overlay/common/frameworks/base/core/res/res/values/config.xml index 06d0b933..dea7202f 100644 --- a/Patches/Common/android_vendor_divested/overlay/common/frameworks/base/core/res/res/values/config.xml +++ b/Patches/Common/android_vendor_divested/overlay/common/frameworks/base/core/res/res/values/config.xml @@ -194,10 +194,6 @@ true - - 300000 -