Remove mixable dual LED code, it can be treated as a special case of the dual LED code.

Change-Id: I7f5e08ba10f2b798693a042962748b0d549cd67b
This commit is contained in:
Arne Coucheron 2011-09-02 01:30:33 +02:00
parent 40ff764698
commit c796b6b5d3
2 changed files with 33 additions and 4 deletions

View File

@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
* Copyright (C) 2007 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>
<string-array name="entries_dual_led_colors" translatable="false">
<item>@string/trackball_color_entry_use_app</item>
<item>@string/trackball_color_entry_green</item>
<item>@string/trackball_color_entry_red</item>
<item>@string/trackball_color_entry_amber</item>
</string-array>
<string-array name="values_dual_led_colors" translatable="false">
<item>default</item>
<item>green</item>
<item>red</item>
<item>yellow</item>
</string-array>
</resources>

View File

@ -10,10 +10,7 @@
<bool name="has_rgb_notification_led">false</bool>
<!-- Notification LED can show green and amber only -->
<bool name="has_dual_notification_led">false</bool>
<!-- Notification LED mixes up amber with green and red -->
<bool name="has_mixable_dual_notification_led">true</bool>
<bool name="has_dual_notification_led">true</bool>
<!-- LED Flashlight -->
<bool name="has_led_flash">false</bool>