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

Commit 8f774b90 authored by Stanley Wang's avatar Stanley Wang
Browse files

Update Adaptive brightness page.

- Use the IllustrationPreference widget and update the
  new illustration.

Fix: 192415034
Test: robotest and see the UI
Change-Id: I2feb3faab0abd2fa0fc36b8bb94f6b02ec3f7dd7
parent 371f6996
Loading
Loading
Loading
Loading
+0 −0

Empty file added.

+3 −5
Original line number Diff line number Diff line
@@ -20,12 +20,10 @@
    xmlns:settings="http://schemas.android.com/apk/res-auto"
    android:title="@string/auto_brightness_title">

    <com.android.settings.widget.VideoPreference
    <com.android.settingslib.widget.IllustrationPreference
        android:key="auto_brightness_video"
        android:title="@string/summary_placeholder"
        settings:animation="@raw/aab_brightness"
        settings:preview="@drawable/aab_brightness"
        settings:controller="com.android.settings.widget.VideoPreferenceController"/>
        settings:searchable="false"
        settings:lottie_rawRes="@raw/lottie_adaptive_brightness"/>

    <com.android.settings.widget.SettingsMainSwitchPreference
        android:key="auto_brightness"