Add brightness level and auto brightness preference in accessibility_settings_for_setup_wizard.xml. Since the flagging has not be supported yet for non-Manifest resources, for now we add the preferences by default, and update the preferece availablity status in each preference controllers based on the flag. Bug: 311093618 Flag: ACONFIG com.android.settings.accessibility.add_brightness_settings_in_suw DEVELOPMENT Test: manually atest AccessibilitySettingsForSetupWizardTest atest AutoBrightnessPreferenceFragmentForSetupWizardTest atest AutoBrightnessPreferenceControllerTest atest BrightnessLevelPreferenceControllerTest Change-Id: I350d99138bdd14bf28828a39e42f707b5b1066c1
25 lines
1.5 KiB
XML
25 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
Copyright (C) 2024 The Android Open Source Project
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:width="@dimen/accessibility_icon_foreground_size"
|
|
android:height="@dimen/accessibility_icon_foreground_size"
|
|
android:viewportWidth="960"
|
|
android:viewportHeight="960">
|
|
<path
|
|
android:fillColor="@android:color/white"
|
|
android:pathData="M480,932L346,800L160,800L160,614L28,480L160,346L160,160L346,160L480,28L614,160L800,160L800,346L932,480L800,614L800,800L614,800L480,932ZM480,680Q563,680 621.5,621.5Q680,563 680,480Q680,397 621.5,338.5Q563,280 480,280L480,680ZM480,820L580,720L720,720L720,580L820,480L720,380L720,240L580,240L480,140L380,240L240,240L240,380L140,480L240,580L240,720L380,720L480,820ZM480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480L480,480Z"/>
|
|
</vector> |