Merge "Disable MTE developer option if device config overrides it"
This commit is contained in:
committed by
Android (Google) Code Review
commit
1d86531600
@@ -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