Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 833bccc6 authored by Lais Andrade's avatar Lais Andrade
Browse files

[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
parent 5a911013
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment