From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 26 Mar 2022 20:35:37 -0400 Subject: [PATCH] add exec spawning toggle --- res/values/strings.xml | 2 + res/xml/security_dashboard_settings.xml | 6 + .../ExecSpawnPreferenceController.java | 106 ++++++++++++++++++ .../settings/security/SecuritySettings.java | 1 + 4 files changed, 115 insertions(+) create mode 100644 src/com/android/settings/security/ExecSpawnPreferenceController.java diff --git a/res/values/strings.xml b/res/values/strings.xml index 26ad0e54b2..d7f32ee319 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -11957,6 +11957,8 @@ Overrides the force-dark feature to be always-on + Enable secure app spawning + Launch apps in a more secure way than Android which takes slightly longer and increases memory usage by app processes. Enable native code debugging Generate useful logs / bug reports from crashes and permit debugging native code. diff --git a/res/xml/security_dashboard_settings.xml b/res/xml/security_dashboard_settings.xml index 06b3511ceb..75cc0b261d 100644 --- a/res/xml/security_dashboard_settings.xml +++ b/res/xml/security_dashboard_settings.xml @@ -64,6 +64,12 @@ android:entries="@array/auto_reboot_entries" android:entryValues="@array/auto_reboot_values" /> + +