Merge "Add separate system property to control user toggle"
This commit is contained in:
committed by
Android (Google) Code Review
commit
77ba214b1e
@@ -46,7 +46,7 @@ public class MemtagHelper {
|
|||||||
if (MemtagHelper.isForcedOff()) {
|
if (MemtagHelper.isForcedOff()) {
|
||||||
return BasePreferenceController.DISABLED_DEPENDENT_SETTING;
|
return BasePreferenceController.DISABLED_DEPENDENT_SETTING;
|
||||||
}
|
}
|
||||||
return SystemProperties.getBoolean("ro.arm64.memtag.bootctl_supported", false)
|
return SystemProperties.getBoolean("ro.arm64.memtag.bootctl_settings_toggle", false)
|
||||||
? BasePreferenceController.AVAILABLE
|
? BasePreferenceController.AVAILABLE
|
||||||
: BasePreferenceController.UNSUPPORTED_ON_DEVICE;
|
: BasePreferenceController.UNSUPPORTED_ON_DEVICE;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user