From 40aca2ceb463eed16960df325559786ece655311 Mon Sep 17 00:00:00 2001 From: Xiaohui Chen Date: Thu, 3 Sep 2015 11:29:45 -0700 Subject: [PATCH] Remove dead Nsd checkbox It seems to be dead from few years ago. This cl just cleans things up. See b/6449478 for context. Change-Id: Ida5eca16df88c866d3557e12dcde8884706810c6 --- res/values/strings.xml | 6 -- res/xml/wireless_settings.xml | 6 -- src/com/android/settings/NsdEnabler.java | 85 ------------------- .../android/settings/WirelessSettings.java | 17 ---- 4 files changed, 114 deletions(-) delete mode 100644 src/com/android/settings/NsdEnabler.java diff --git a/res/values/strings.xml b/res/values/strings.xml index da2d24b3c36..89de03c4f22 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -1386,12 +1386,6 @@ When this feature is turned on, you can beam app content to another NFC-capable device by holding the devices close together. For example, you can beam Browser pages, YouTube videos, People contacts, and more.\n\nJust bring the devices together (typically back to back) and then touch your screen. The app determines what gets beamed. - - - Network service discovery - - Allow apps on other devices to discover apps on this device - Wi\u2011Fi diff --git a/res/xml/wireless_settings.xml b/res/xml/wireless_settings.xml index f08de5e826c..96f26ac3d25 100644 --- a/res/xml/wireless_settings.xml +++ b/res/xml/wireless_settings.xml @@ -76,12 +76,6 @@ android:targetClass="com.android.settings.wimax.WimaxSettings" /> - - getNonIndexableKeys(Context context) { final ArrayList result = new ArrayList(); - result.add(KEY_TOGGLE_NSD); - final UserManager um = (UserManager) context.getSystemService(Context.USER_SERVICE); final boolean isSecondaryUser = !um.isAdminUser(); final boolean isWimaxEnabled = !isSecondaryUser