Fix toast showing when rapidly toggling bluetooth

BluetoothDeviceProfilePreference disables the preference when toggling
bluetooth profiles. Tapping again during this state will prompt the dpm
pop up. Instead, only set the disabled click listener when the
restricted flag is set.

Bug: 217278077
Test: manual, atest com.android.car.settings.bluetooth.BluetoothDeviceProfilesPreferenceControllerTest
Change-Id: I3ae7cd6d029fe0da79ede990a336eec23a98ef03
(cherry picked from commit e6d0cb72166feae0b8d9f9c777b85b11d5ca0095)
6 files changed