Add 2 second backlight timeout option and fix power menu - 'Bootloader' should be 'Download' for SGS2

Change-Id: I189ecfcc31bc8df83b5759960bac48c890ce3742
This commit is contained in:
David van Tonder 2011-11-10 12:44:55 -05:00 committed by Ladios Jonquil
parent f267e14e26
commit a76d1a2b8e
3 changed files with 40 additions and 0 deletions

View File

@ -22,6 +22,7 @@
<string-array name="backlight_timeout_entries">
<item>總是開啟</item>
<item>2秒</item>
<item>5秒</item>
<item>10秒</item>
<item>15秒</item>

View File

@ -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>

View 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>