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 553d210a17..e090ad8a05 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -747,6 +747,9 @@ Auto reboot Automatically reboot the device, if the phone hasn\'t been unlocked within the selected number of hours. + 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 61e2db495a..3a06288497 100644 --- a/res/xml/security_dashboard_settings.xml +++ b/res/xml/security_dashboard_settings.xml @@ -69,6 +69,12 @@ android:entries="@array/auto_reboot_entries" android:entryValues="@array/auto_reboot_values" /> + +