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 | 3 + res/xml/security_dashboard_settings.xml | 6 + .../ExecSpawnPreferenceController.java | 106 ++++++++++++++++++ .../settings/security/SecuritySettings.java | 1 + 4 files changed, 116 insertions(+) create mode 100644 src/com/android/settings/security/ExecSpawnPreferenceController.java diff --git a/res/values/strings.xml b/res/values/strings.xml index 0d68efa6c9..406165be65 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -13116,6 +13116,9 @@ 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 d6754c0932..20f0d4df5b 100644 --- a/res/xml/security_dashboard_settings.xml +++ b/res/xml/security_dashboard_settings.xml @@ -63,6 +63,12 @@ android:entries="@array/auto_reboot_entries" android:entryValues="@array/auto_reboot_values" /> + +