To override the default Google DNS, Cloudflare offers an app for their 1.1.1.1 DNS service. You can also use the VPN of your choice to override the default DNS server. Firefox for Android users have the additional option of setting the DNS over HTTPS server used in the browser.
In the developer options of the Settings app on LineageOS, you can enable "Kill app back button" which kills the foreground app when you long-press the back button. There are also 2 free and open source apps (requiring root access) that may be of interest to you: OS Monitor is a task manager that can kill apps on demand, and Drowser automatically kills the apps of your choice when the screen turns off:
Finally, although you need to flash the su add-on to enable root access, you only have to do it one time, and the add-on persists across updates (until you flash another file to remove it).
https://android.stackexchange.com/questions/134963/change-th...
To override the default Google DNS, Cloudflare offers an app for their 1.1.1.1 DNS service. You can also use the VPN of your choice to override the default DNS server. Firefox for Android users have the additional option of setting the DNS over HTTPS server used in the browser.
https://1.1.1.1
https://github.com/schwabe/ics-openvpn
https://www.ghacks.net/2018/04/02/configure-dns-over-https-i...
In the developer options of the Settings app on LineageOS, you can enable "Kill app back button" which kills the foreground app when you long-press the back button. There are also 2 free and open source apps (requiring root access) that may be of interest to you: OS Monitor is a task manager that can kill apps on demand, and Drowser automatically kills the apps of your choice when the screen turns off:
https://f-droid.org/en/packages/com.eolwral.osmonitor/
https://gitlab.com/juanitobananas/drowser
Finally, although you need to flash the su add-on to enable root access, you only have to do it one time, and the add-on persists across updates (until you flash another file to remove it).
https://download.lineageos.org/extras