mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2025-05-02 06:26:20 -04:00
18.1: forward port the hosts cache and wildcard support
These were likely missed when resolv/ moved out of netd into DnsResolver. Signed-off-by: Tad <tad@spotco.us>
This commit is contained in:
parent
94f342ac37
commit
9f9d418060
3 changed files with 745 additions and 0 deletions
|
@ -213,6 +213,11 @@ patch -p1 < "$DOS_PATCHES_COMMON/android_packages_inputmethods_LatinIME/0001-Voi
|
|||
patch -p1 < "$DOS_PATCHES_COMMON/android_packages_inputmethods_LatinIME/0002-Disable_Personalization.patch"; #Disable personalization dictionary by default (GrapheneOS)
|
||||
fi;
|
||||
|
||||
if enterAndClear "packages/modules/DnsResolver"; then
|
||||
patch -p1 < "$DOS_PATCHES/android_packages_modules_DnsResolver/0001-Hosts_Cache.patch"; #Sort and cache hosts file data for fast lookup
|
||||
patch -p1 < "$DOS_PATCHES/android_packages_modules_DnsResolver/0002-Wildcard_Hosts.patch"; #Support wildcards in cached hosts file
|
||||
fi;
|
||||
|
||||
if enterAndClear "packages/providers/TelephonyProvider"; then
|
||||
patch -p1 < "$DOS_PATCHES/android_packages_providers_TelephonyProvider/304614.patch"; #mcc/mnc fix
|
||||
patch -p1 < "$DOS_PATCHES/android_packages_providers_TelephonyProvider/312102.patch"; #mnc fix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue