Home
last modified time | relevance | path

Searched refs:mP2pEnablePreference (Results 1 – 1 of 1) sorted by relevance

/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddPrintersFragment.java56 private SwitchPreference mP2pEnablePreference; field in AddPrintersFragment
76 mP2pEnablePreference = (SwitchPreference) getPreferenceScreen() in onCreate()
105 mP2pEnablePreference.setOnPreferenceClickListener(preference -> { in onStart()
106 if (mP2pEnablePreference.isChecked()) { in onStart()
107 mP2pEnablePreference.setChecked(false); in onStart()
150 mP2pEnablePreference.setChecked(true); in updateP2pPreferences()
157 mP2pEnablePreference.setChecked(false); in updateP2pPreferences()