Disable MTE developer option if device config overrides it
On the backend, the device config would already override the setting by
the UI.
(cherry picked from commit 65116faa29)
Bug: 269523554
Merged-In: Idd249e060a275b58a399349f202fc68b42964eb0
Change-Id: Idd249e060a275b58a399349f202fc68b42964eb0
This commit is contained in:
@@ -25,14 +25,14 @@ import com.android.settings.core.BasePreferenceController;
|
||||
import java.util.Arrays;
|
||||
|
||||
public class MemtagHelper {
|
||||
private static boolean isForcedOff() {
|
||||
public static boolean isForcedOff() {
|
||||
return "force_off"
|
||||
.equals(
|
||||
SystemProperties.get(
|
||||
"persist.device_config.memory_safety_native_boot.bootloader_override"));
|
||||
}
|
||||
|
||||
private static boolean isForcedOn() {
|
||||
public static boolean isForcedOn() {
|
||||
return "force_on"
|
||||
.equals(
|
||||
SystemProperties.get(
|
||||
|
||||
Reference in New Issue
Block a user