Add 2 second backlight timeout option and fix power menu - 'Bootloader' should be 'Download' for SGS2
Change-Id: I189ecfcc31bc8df83b5759960bac48c890ce3742
This commit is contained in:
parent
f267e14e26
commit
a76d1a2b8e
@ -22,6 +22,7 @@
|
||||
|
||||
<string-array name="backlight_timeout_entries">
|
||||
<item>總是開啟</item>
|
||||
<item>2秒</item>
|
||||
<item>5秒</item>
|
||||
<item>10秒</item>
|
||||
<item>15秒</item>
|
||||
|
@ -34,6 +34,7 @@
|
||||
|
||||
<string-array name="backlight_timeout_entries">
|
||||
<item>Always On</item>
|
||||
<item>2 seconds</item>
|
||||
<item>5 seconds</item>
|
||||
<item>10 seconds</item>
|
||||
<item>15 seconds</item>
|
||||
@ -42,6 +43,7 @@
|
||||
|
||||
<string-array name="backlight_timeout_entries_values" translatable="false">
|
||||
<item>-1</item>
|
||||
<item>2000</item>
|
||||
<item>5000</item>
|
||||
<item>10000</item>
|
||||
<item>15000</item>
|
||||
|
37
overlay/frameworks/base/core/res/res/values/arrays.xml
Normal file
37
overlay/frameworks/base/core/res/res/values/arrays.xml
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* //device/apps/common/assets/res/any/colors.xml
|
||||
**
|
||||
** Copyright 2006, 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.
|
||||
*/
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
|
||||
<!-- Defines the shutdown options shown in the reboot dialog. -->
|
||||
<array name="shutdown_reboot_options" translatable="false">
|
||||
<item>@string/reboot_reboot</item>
|
||||
<item>@string/reboot_recovery</item>
|
||||
<item>@string/reboot_download</item>
|
||||
</array>
|
||||
|
||||
<!-- Do not translate. Defines the shutdown actions passed to the kernel.
|
||||
The first item should be empty for regular reboot. -->
|
||||
<string-array name="shutdown_reboot_actions" translatable="false">
|
||||
<item></item>
|
||||
<item>recovery</item>
|
||||
<item>bootloader</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user