Fix disabled toast showing on view-only preferences

The UxRestricted toast should not be shown on preferences that are for
viewing only (AVAILABLE_FOR_VIEWING)

Bug: 168308383
Bug: 159910592
Test: manual, make -j50 RunCarSettingsRoboTests
ROBOTEST_FILTER=com.android.car.settings.common.SettingsFragmentTest

Change-Id: I05f0ce6aa4f1ece5b315a69919f20c98831d537a
Merged-In: I05f0ce6aa4f1ece5b315a69919f20c98831d537a
1 file changed
tree: 9ee558d0f3f162b28a5d486886baed681f7b5741
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg