diff --git a/packages/apps/Settings/res/xml/development_prefs.xml b/packages/apps/Settings/res/xml/development_prefs.xml
index e8fe377..545e826 100755
--- a/packages/apps/Settings/res/xml/development_prefs.xml
+++ b/packages/apps/Settings/res/xml/development_prefs.xml
@@ -46,10 +46,10 @@
android:entries="@array/hdcp_checking_titles"
android:entryValues="@array/hdcp_checking_values" />
- <SwitchPreference
+ <!--<SwitchPreference
android:key="bt_hci_snoop_log"
android:title="@string/bt_hci_snoop_log"
- android:summary="@string/bt_hci_snoop_log_summary"/>
+ android:summary="@string/bt_hci_snoop_log_summary"/>-->
<com.android.settingslib.RestrictedSwitchPreference
android:key="oem_unlock_enable"
diff --git a/packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java b/packages/apps/Settings/src/com/android/settings/DevelopmentSettings.j
old mode 100644
new mode 100755
index ca139e8..85af4f5
--- a/packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java
+++ b/packages/apps/Settings/src/com/android/settings/DevelopmentSettings.java
@@ -405,7 +405,7 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
mBugreportInPower = findAndInitSwitchPref(BUGREPORT_IN_POWER_KEY);
mKeepScreenOn = (RestrictedSwitchPreference) findAndInitSwitchPref(KEEP_SCREEN_ON);
mAbcOn = (RestrictedSwitchPreference) findAndInitSwitchPref(ABC_ON);
- mBtHciSnoopLog = findAndInitSwitchPref(BT_HCI_SNOOP_LOG);
+ //mBtHciSnoopLog = findAndInitSwitchPref(BT_HCI_SNOOP_LOG);
mEnableOemUnlock = (RestrictedSwitchPreference) findAndInitSwitchPref(ENABLE_OEM_UNLOCK);
if (!showEnableOemUnlockPreference()) {
removePreference(mEnableOemUnlock);
@@ -704,8 +704,8 @@ public class DevelopmentSettings extends RestrictedSettingsFragment
updateSwitchPreference(mKeepScreenOn, Settings.Global.getInt(cr,
Settings.Global.STAY_ON_WHILE_PLUGGED_IN, 0) != 0);
updateSwitchPreference(mAbcOn,(SystemProperties.getInt("persist.sys.abc_switch",0)) != 0);
- updateSwitchPreference(mBtHciSnoopLog, Settings.Secure.getInt(cr,
- Settings.Secure.BLUETOOTH_HCI_LOG, 0) != 0);
+ //updateSwitchPreference(mBtHciSnoopLog, Settings.Secure.getInt(cr,
+ // Settings.Secure.BLUETOOTH_HCI_LOG, 0) != 0);
updateSwitchPreference(mDebugViewAttributes, Settings.Global.getInt(cr,
Settings.Global.DEBUG_VIEW_ATTRIBUTES, 0) != 0);
updateSwitchPreference(mForceAllowOnExternal, Settings.Global.getInt(cr,
RK3399 Android7.1去掉设置中的“开发者选项-启用蓝牙 HCI 信息收集日志”选项
最新推荐文章于 2023-11-29 09:31:22 发布