[Catalyst] Migrate ring vibration switch preference
Migrate the base class VibrationTogglePreferenceController to use
catalyst metadata classes.
Create VibrationIntensitySettingsStore with a custom default value
based on device config. This storage allows intensity settings to be
handled by sliders or switch preferences seamlessly, and will be used
later for the migration of the slider preferences.
Migrate a single toggle for "ring vibration" to the VibrationScreen
hierarchy, using the new feature flag.
NO_IFTTT=migration ongoing, no need to update legacy controllers
Bug: 390338213
Flag: com.android.settings.flags.catalyst_vibration_intensity_screen_25q4
Test: VibrationIntensitySettingsStoreTest
RingVibrationIntensitySwitchPreferenceTest
Change-Id: I6dfad3de13b11c7aa0aed56065a177a876deb1e4
Loading
Please register or sign in to comment