diff options
author | Isaac Chen <isaacchen@isaacchen.cn> | 2018-07-13 10:11:03 +0800 |
---|---|---|
committer | Isaac Chen <isaacchen@isaacchen.cn> | 2018-07-13 00:01:25 +0000 |
commit | 71ad0c9e5399aba0ac3cd20f1df41c9757cd6ca5 (patch) | |
tree | f9bd698e30cdb1e8a15fbebdd48e43b8f93272d0 /overlay-lineage/lineage-sdk/lineage | |
parent | 103f8c68ff04e04a8b6de1c97dfb520f9286b692 (diff) |
wayne: Initial bringup
Change-Id: I211da5781d8c7a16199fd8a18e1b00cfc9e01944
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
Diffstat (limited to 'overlay-lineage/lineage-sdk/lineage')
-rw-r--r-- | overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml new file mode 100644 index 0000000..b2a3f2c --- /dev/null +++ b/overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015-2016 The CyanogenMod Project + 2017 The LineageOS 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> + + <!-- All the capabilities of the LEDs on this device, stored as a bit field. + This integer should equal the sum of the corresponding value for each + of the following capabilities present: + + LIGHTS_RGB_NOTIFICATION_LED = 1 + LIGHTS_RGB_BATTERY_LED = 2 + LIGHTS_MULTIPLE_NOTIFICATION_LED = 4 (deprecated) + LIGHTS_PULSATING_LED = 8 + LIGHTS_SEGMENTED_BATTERY_LED = 16 + LIGHTS_ADJUSTABLE_NOTIFICATION_LED_BRIGHTNESS = 32 + LIGHTS_BATTERY_LED = 64 + + For example, a device with notification and battery lights that supports + pulsating and RGB control would set this config to 75. --> + <integer name="config_deviceLightCapabilities">104</integer> + + <!-- Hardware keys present on the device, stored as a bit field. + This integer should equal the sum of the corresponding value for each + of the following keys present: + 1 - Home + 2 - Back + 4 - Menu + 8 - Assistant (search) + 16 - App switch + 32 - Camera + 64 - Volume rocker + For example, a device with Home, Back and Menu keys would set this + config to 7. --> + <integer name="config_deviceHardwareKeys">64</integer> + + <!-- Hardware keys present on the device with the ability to wake, stored as a bit field. + This integer should equal the sum of the corresponding value for each + of the following keys present: + 1 - Home + 2 - Back + 4 - Menu + 8 - Assistant (search) + 16 - App switch + 32 - Camera + 64 - Volume rocker + For example, a device with Home, Back and Menu keys would set this + config to 7. --> + <integer name="config_deviceHardwareWakeKeys">64</integer> + +</resources> |