Home
last modified time | relevance | path

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

/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DUserFragment.java83 private CheckBox mIsAdminCheckBox; field in UserFragment
112 mIsAdminCheckBox = view.findViewById(R.id.is_admin); in onViewCreated()
126 mIsAdminCheckBox.setOnClickListener((v) -> toggleAdmin()); in onViewCreated()
137 if (mIsAdminCheckBox.isChecked()) { in toggleAdmin()
288 mIsAdminCheckBox.setChecked(isAdmin); in updateState()
289 mIsAdminCheckBox.setEnabled(!isAdmin); // there's no API to "un-admin a user" in updateState()