-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sm8250-common: import common/kona overlays from nio
https://github.com/LineageOS/android_device_motorola_nio at 03bb670fb7e1236ebe54e06351ddaa05fb4e58f6
- Loading branch information
Showing
71 changed files
with
6,430 additions
and
1 deletion.
There are no files selected for viewing
72 changes: 72 additions & 0 deletions
72
overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
Copyright (C) 2015-2016 The CyanogenMod Project | ||
2017-2018 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> | ||
<!-- 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> | ||
|
||
<!-- 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 | ||
LIGHTS_ADJUSTABLE_BATTERY_LED_BRIGHTNESS = 128 | ||
For example, a device support pulsating, RGB notification and | ||
battery LEDs would set this config to 11. --> | ||
<integer name="config_deviceLightCapabilities" translatable="false">248</integer> | ||
|
||
<!-- Whether device has screen with higher aspect ratio --> | ||
<bool name="config_haveHigherAspectRatioScreen">true</bool> | ||
|
||
<!-- Defines the actions shown in advanced reboot submenu --> | ||
<string-array name="config_restartActionsList"> | ||
<item>restart</item> | ||
<item>restart_recovery</item> | ||
<item>restart_bootloader</item> | ||
<item>restart_fastboot</item> | ||
</string-array> | ||
</resources> |
20 changes: 20 additions & 0 deletions
20
...lay-lineage/packages/apps/Dialer/java/com/android/dialer/callrecord/res/values/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (C) 2016 The CyanogenMod 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> | ||
<bool name="call_recording_enabled">true</bool> | ||
<integer name="call_recording_audio_source">4</integer> | ||
</resources> |
28 changes: 28 additions & 0 deletions
28
overlay-lineage/packages/apps/Settings/res/values/config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> | ||
<!-- Defines the location of the fingerprint sensor on the device | ||
0 = back | ||
1 = front | ||
2 = left side | ||
3 = right side | ||
--> | ||
<integer name="config_fingerprintSensorLocation">3</integer> | ||
|
||
<!-- Whether to show min refresh rate in display settings --> | ||
<bool name="config_show_min_refresh_rate_switch">true</bool> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- Copyright (C) 2012 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. | ||
--> | ||
|
||
<!-- Camera app resources that may need to be customized | ||
for different hardware or product builds. --> | ||
<resources> | ||
<!-- Enable support for camera api v2 --> | ||
<bool name="support_camera_api_v2">true</bool> | ||
|
||
<!-- Opens back camera using openLegacy() and forces api v1 --> | ||
<bool name="back_camera_open_legacy">false</bool> | ||
|
||
<!-- Opens front camera using openLegacy() and forces api v1 --> | ||
<bool name="front_camera_open_legacy">false</bool> | ||
|
||
<!-- Enable support for bokeh mode --> | ||
<bool name="support_bokeh_mode">true</bool> | ||
</resources> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include $(call all-subdir-makefiles) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
include $(call all-subdir-makefiles) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
LOCAL_PATH:= $(call my-dir) | ||
include $(CLEAR_VARS) | ||
|
||
LOCAL_PRODUCT_MODULE := true | ||
LOCAL_CERTIFICATE := platform | ||
|
||
LOCAL_SRC_FILES := $(call all-subdir-java-files) | ||
|
||
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res | ||
|
||
LOCAL_PACKAGE_NAME := CarrierConfigResCommon | ||
LOCAL_SDK_VERSION := current | ||
|
||
LOCAL_AAPT_FLAGS := --keep-raw-values | ||
|
||
include $(BUILD_RRO_PACKAGE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!--Copyright (c) 2018, Qualcomm Technologies, Inc. | ||
All Rights Reserved. | ||
--> | ||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.android.carrierconfig.overlay.common"> | ||
<!-- Apks with greater priority can override the configs here. --> | ||
<overlay android:priority="100" android:targetPackage="com.android.carrierconfig" android:isStatic="true" /> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
This NOTICE file contains certain notices of software components included | ||
with the software that Qualcomm Technologies, Inc. ("Qualcomm Technologies") | ||
is required to provide you. Notwithstanding anything in the notices in this | ||
file, your use of these software components together with the | ||
Qualcomm Technologies software (Qualcomm Technologies software hereinafter | ||
referred to as "Software") is subject to the terms of your license from | ||
Qualcomm Technologies. Compliance with all copyright laws and software | ||
license agreements included in the notice section of this file are the | ||
responsibility of the user. Except as may be granted by separate express | ||
written agreement, this file provides no license to any patents, | ||
trademarks, copyrights, or other intellectual property. | ||
|
||
Copyright (c) 2018 Qualcomm Technologies, Inc. | ||
All rights reserved. | ||
Qualcomm is a registered trademark and registered service mark of | ||
QUALCOMM Incorporated. All other trademarks and service marks are the | ||
property of their respective owners. | ||
________________________________________ | ||
NOTICES | ||
________________________________________ | ||
|
||
Copyright (c) 2014-2018 The Linux Foundation. All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted (subject to the limitations in the | ||
disclaimer below) provided that the following conditions are met: | ||
|
||
* Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
* Redistributions in binary form must reproduce the above | ||
copyright notice, this list of conditions and the following | ||
disclaimer in the documentation and/or other materials provided | ||
with the distribution. | ||
* Neither the name of the Linux Foundation nor the names of its | ||
contributors may be used to endorse or promote products derived | ||
from this software without specific prior written permission. | ||
|
||
NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE | ||
GRANTED BY THIS LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT | ||
HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED | ||
WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF | ||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | ||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | ||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | ||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | ||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | ||
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
Oops, something went wrong.