DO NOT MERGE Fixed UXRE toast not showing correctly

Move UX restriction message logic into PreferenceControllers so it can
be added and removed whenever a preference refreshes, ensuring the
toast is enable/disabled accurately.

Bug: 170122685
Test: manual, make -j50 RunCarSettingsRoboTests ROBOTEST_FILTER=com.android.car.settings.common.PreferenceControllerTest
Change-Id: I5b26413f1b2a528a4547561dacb82184997e129d
3 files changed
tree: 3dda37d889a4c1efe987ce01642f5b54585bf02f
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. PREUPLOAD.cfg