Add overlay for ZenFone Max Shot
This commit is contained in:
parent
5445908c7c
commit
1bd7821ddd
8
Asus/ZenFoneMaxShot/Android.mk
Normal file
8
Asus/ZenFoneMaxShot/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-asus-zenfonemaxshot
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT)/overlay
|
||||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
10
Asus/ZenFoneMaxShot/AndroidManifest.xml
Normal file
10
Asus/ZenFoneMaxShot/AndroidManifest.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.asus.zenfonemaxshot"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="android"
|
||||
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
|
||||
android:requiredSystemPropertyValue="+*ASUS_A001D_2*"
|
||||
android:priority="149"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
27
Asus/ZenFoneMaxShot/res/values/notch.xml
Normal file
27
Asus/ZenFoneMaxShot/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">81px</dimen>
|
||||
<!-- Height of the status bar -->
|
||||
<dimen name="status_bar_height">81px</dimen>
|
||||
<!-- Height of the status bar in landscape -->
|
||||
<dimen name="status_bar_height_landscape">81px</dimen>
|
||||
<string translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 L -58, 0 L -40.9940446283, 10.0595537175 L -35, 27 L -35, 10.0595537175 L 35.2, 10.0595537175 L 35, 27 L 40, 0 Z @dp</string>
|
||||
</resources>
|
26
Asus/ZenFoneMaxShot/res/xml/power_profile.xml
Normal file
26
Asus/ZenFoneMaxShot/res/xml/power_profile.xml
Normal file
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<device name="Android">
|
||||
<item name="screen.on">63</item>
|
||||
<item name="screen.full">261</item>
|
||||
<array name="cpu.speeds">
|
||||
<value>200000</value>
|
||||
<value>499200</value>
|
||||
<value>533333</value>
|
||||
<value>800000</value>
|
||||
<value>998400</value>
|
||||
<value>1094400</value>
|
||||
<value>1209600</value>
|
||||
</array>
|
||||
<array name="cpu.active">
|
||||
<value>151</value>
|
||||
<value>169</value>
|
||||
<value>177</value>
|
||||
<value>195</value>
|
||||
<value>259</value>
|
||||
<value>307</value>
|
||||
<value>353</value>
|
||||
</array>
|
||||
<item name="cpu.awake">1.6</item>
|
||||
<item name="cpu.idle">1.6</item>
|
||||
<item name="battery.capacity">4000</item>
|
||||
</device>
|
|
@ -10,6 +10,7 @@ PRODUCT_PACKAGES += \
|
|||
treble-overlay-asus-zenfone5z \
|
||||
treble-overlay-asus-zenfonelivel1za550kl \
|
||||
treble-overlay-asus-zenfonemaxm2 \
|
||||
treble-overlay-asus-zenfonemaxshot \
|
||||
treble-overlay-bq-jeice \
|
||||
treble-overlay-caf-ims \
|
||||
treble-overlay-devinputjack \
|
||||
|
|
Loading…
Reference in a new issue