[Catalyst] Migrate Adaptive brightness in the DisplayScreen

Migrate the AutoBrightnessPreferenceController to be a Catalyst type preference.

Test: atest AutoBrightnessScreenTest
Bug: 374712065
Flag: com.android.settings.flags.catalyst_screen_brightness_mode
Change-Id: I80d17a4f7fae237825ab84d1f428614affcb9065
This commit is contained in:
Sunny Shao
2024-10-22 11:25:28 +08:00
parent 2977bc7825
commit 369263156b
7 changed files with 252 additions and 1 deletions

View File

@@ -22,3 +22,9 @@ flag {
bug: "323791114"
}
flag {
name: "catalyst_screen_brightness_mode"
namespace: "android_settings"
description: "Flag for Adaptive brightness"
bug: "323791114"
}