Add OP6T overlay
This commit is contained in:
parent
6f7fd75090
commit
3c8f80f6b5
6
OnePlus/OP6T-SystemUI/Android.mk
Normal file
6
OnePlus/OP6T-SystemUI/Android.mk
Normal file
|
@ -0,0 +1,6 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := treble-overlay-oneplus-op6t-systemui
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
9
OnePlus/OP6T-SystemUI/AndroidManifest.xml
Normal file
9
OnePlus/OP6T-SystemUI/AndroidManifest.xml
Normal file
|
@ -0,0 +1,9 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.xiaomi.redminote6pro.systemui"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="com.android.systemui"
|
||||
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
|
||||
android:requiredSystemPropertyValue="+OnePlus/OnePlus6T/OnePlus6T*"
|
||||
android:priority="58" />
|
||||
</manifest>
|
20
OnePlus/OP6T-SystemUI/res/values/dimens.xml
Normal file
20
OnePlus/OP6T-SystemUI/res/values/dimens.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
* Copyright (c) 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>
|
||||
<dimen name="rounded_corner_content_padding">8dp</dimen>
|
||||
</resources>
|
8
OnePlus/OP6T/Android.mk
Normal file
8
OnePlus/OP6T/Android.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := treble-overlay-oneplus-op6t
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
|
||||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
10
OnePlus/OP6T/AndroidManifest.xml
Normal file
10
OnePlus/OP6T/AndroidManifest.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.oneplus.op6"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="android"
|
||||
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
|
||||
android:requiredSystemPropertyValue="+OnePlus/OnePlus6T/OnePlus6T*"
|
||||
android:priority="57"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
22
OnePlus/OP6T/res/values-land/notch.xml
Normal file
22
OnePlus/OP6T/res/values-land/notch.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2017, 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>
|
||||
<!-- Height of the status bar -->
|
||||
<dimen name="status_bar_height">80px</dimen>
|
||||
</resources>
|
70
OnePlus/OP6T/res/values/config.xml
Normal file
70
OnePlus/OP6T/res/values/config.xml
Normal file
|
@ -0,0 +1,70 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="config_autoBrightnessResetAmbientLuxAfterWarmUp">true</bool>
|
||||
<bool name="config_automatic_brightness_available">true</bool>
|
||||
<integer name="config_autoBrightnessAmbientLightHorizon">10000</integer>
|
||||
<integer name="config_autoBrightnessBrighteningLightDebounce">2000</integer>
|
||||
<integer name="config_autoBrightnessDarkeningLightDebounce">4000</integer>
|
||||
<integer name="config_autoBrightnessInitialLightSensorRate">-1</integer>
|
||||
<integer name="config_autoBrightnessLightSensorRate">250</integer>
|
||||
<integer name="config_brightness_ramp_rate_fast">180</integer>
|
||||
<integer name="config_brightness_ramp_rate_slow">60</integer>
|
||||
<integer-array name="config_autoBrightnessLcdBacklightValues" />
|
||||
<integer-array name="config_autoBrightnessLevels">
|
||||
<item>1</item>
|
||||
<item>4</item>
|
||||
<item>12</item>
|
||||
<item>20</item>
|
||||
<item>40</item>
|
||||
<item>65</item>
|
||||
<item>95</item>
|
||||
<item>140</item>
|
||||
<item>200</item>
|
||||
<item>350</item>
|
||||
<item>650</item>
|
||||
<item>1300</item>
|
||||
<item>2000</item>
|
||||
<item>3300</item>
|
||||
<item>6000</item>
|
||||
<item>10000</item>
|
||||
</integer-array>
|
||||
|
||||
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||
<bool name="config_sustainedPerformanceModeSupported">true</bool>
|
||||
<bool name="config_supportAudioSourceUnprocessed">true</bool>
|
||||
<bool name="config_switch_phone_on_voice_reg_state_change">false</bool>
|
||||
<integer name="config_overrideHasPermanentMenuKey">2</integer>
|
||||
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
||||
<bool name="config_dozeAfterScreenOff">true</bool>
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="skip_restoring_network_selection">true</bool>
|
||||
<integer name="config_bluetooth_operating_voltage_mv">3300</integer>
|
||||
<bool name="config_bluetooth_hfp_inband_ringing_support">true</bool>
|
||||
<bool name="config_bluetooth_le_peripheral_mode_supported">true</bool>
|
||||
<integer name="config_screenBrightnessDark">2</integer>
|
||||
<integer name="config_screenBrightnessDim">6</integer>
|
||||
<bool name="config_allowAutoBrightnessWhileDozing">true</bool>
|
||||
<integer name="config_screenBrightnessDoze">17</integer>
|
||||
<integer name="config_screenBrightnessSettingMinimum">2</integer>
|
||||
<bool name="config_hotswapCapable">true</bool>
|
||||
|
||||
<integer-array name="config_longPressVibePattern">
|
||||
<item>0</item>
|
||||
<item>10</item>
|
||||
</integer-array>
|
||||
<integer-array name="config_virtualKeyVibePattern">
|
||||
<item>0</item>
|
||||
<item>10</item>
|
||||
</integer-array>
|
||||
<integer-array name="config_keyboardTapVibePattern">
|
||||
<item>10</item>
|
||||
</integer-array>
|
||||
<bool name="config_lidControlsSleep">true</bool>
|
||||
<bool name="config_wifi_batched_scan_supported">true</bool>
|
||||
<bool name="config_wifi_background_scan_support">true</bool>
|
||||
<bool name="config_wifi_dual_band_support">true</bool>
|
||||
|
||||
<!--<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>-->
|
||||
</resources>
|
27
OnePlus/OP6T/res/values/notch.xml
Normal file
27
OnePlus/OP6T/res/values/notch.xml
Normal file
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2017, 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>
|
||||
<!-- Height of the status bar in portrait -->
|
||||
<dimen name="status_bar_height_portrait">80px</dimen>
|
||||
<!-- Height of the status bar -->
|
||||
<dimen name="status_bar_height">80px</dimen>
|
||||
<!-- Height of the status bar in landscape -->
|
||||
<dimen name="status_bar_height_landscape">24dp</dimen>
|
||||
<string translatable="false" name="config_mainBuiltInDisplayCutout">M -160,0 L -160,80 L 160,80 L 160,0 Z</string>
|
||||
</resources>
|
|
@ -30,6 +30,8 @@ PRODUCT_PACKAGES += \
|
|||
treble-overlay-nokia-b2n \
|
||||
treble-overlay-nokia-drg \
|
||||
treble-overlay-oneplus-op6 \
|
||||
treble-overlay-oneplus-op6t \
|
||||
treble-overlay-oneplus-op6t-systemui \
|
||||
treble-overlay-samsung-s9-systemui \
|
||||
treble-overlay-sharp-s2 \
|
||||
treble-overlay-webview \
|
||||
|
|
Loading…
Reference in a new issue