1. fix the chart % info will flash issue by deferring the showing time until the chart content is ready to show (set default as invisible) 2. fix the category title will flash issue by set the default value as empty to avoid refresh the title twice in the start time Bug: 177406865 Test: make SettingsRoboTests Change-Id: If8f247cf5b01c529bc5e4d18fcf409ba296cc2f4
35 lines
1.3 KiB
XML
35 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- Copyright (C) 2017 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.
|
|
-->
|
|
|
|
<PreferenceScreen
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:settings="http://schemas.android.com/apk/res-auto"
|
|
android:key="power_usage_advanced_screen"
|
|
android:title="@string/advanced_battery_title"
|
|
settings:keywords="@string/keywords_battery">
|
|
|
|
<com.android.settings.fuelgauge.BatteryHistoryPreference
|
|
android:key="battery_graph"/>
|
|
|
|
<PreferenceCategory
|
|
android:key="app_list"/>
|
|
|
|
<com.android.settingslib.widget.FooterPreference
|
|
android:title="@string/battery_usage_screen_footer"
|
|
android:selectable="false"
|
|
settings:searchable="false"/>
|
|
</PreferenceScreen>
|