From dcf3d7c185a2b6c7eaf13f0ea9a866338fd40fd6 Mon Sep 17 00:00:00 2001 From: Mahaver Chopra Date: Wed, 11 May 2016 18:18:23 +0100 Subject: [PATCH] Disallow OEM unlock when DISALLOW_FACTORY_RESET applies Bug: 28339424 Change-Id: I2ccba997fc6c9ccfab802c0f49a9e2115a314552 --- res/xml/development_prefs.xml | 5 +++-- .../android/settings/DevelopmentSettings.java | 18 ++++++++++++++++-- 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml index 44cf585c2c7..cdee3286d96 100644 --- a/res/xml/development_prefs.xml +++ b/res/xml/development_prefs.xml @@ -51,10 +51,11 @@ android:title="@string/bt_hci_snoop_log" android:summary="@string/bt_hci_snoop_log_summary"/> - + android:summary="@string/oem_unlock_enable_summary" + settings:useAdditionalSummary="true"/>