Better overlay for MI 11 Lite 5G (#445)

* Added MI11Lite5G

* Removed unnecessary image

* Removed another unnecessary file

* Fixes for CI

* More fixes for CI

* More fixes
This commit is contained in:
Daniel Almeida 2022-01-20 08:58:08 +00:00 committed by GitHub
parent cf67c7cc5b
commit 1de22ff14a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 726 additions and 317 deletions

View file

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_PACKAGE_NAME := treble-overlay-xiaomi-mi11lite5g-settings
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
LOCAL_PRIVATE_PLATFORM_APIS := true
include $(BUILD_PACKAGE)

View file

@ -0,0 +1,11 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="me.phh.treble.overlay.xiaomi.mi11lite5g.settings"
android:versionCode="1"
android:versionName="1.0">
<application android:extractNativeLibs="false"/>
<overlay android:targetPackage="com.android.settings"
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
android:requiredSystemPropertyValue="+*iaomi/renoir*"
android:priority="911"
android:isStatic="true" />
</manifest>

View file

@ -0,0 +1,28 @@
<?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>
<!-- Indicates whether device has a power button fingerprint sensor. -->
<bool name="config_is_powerbutton_fps" translatable="false">true</bool>
<!-- Whether or not the device is capable of multiple levels of vibration intensity.
Note that this is different from whether it can control the vibration amplitude as some
devices will be able to vary their amplitude but do not possess enough dynamic range to
have distinct intensity levels -->
<bool name="config_vibration_supports_multiple_intensities">true</bool>
</resources>

File diff suppressed because it is too large Load diff

View file

@ -171,6 +171,7 @@ PRODUCT_PACKAGES += \
treble-overlay-vsmart-live \
treble-overlay-wifi5g \
treble-overlay-xiaomi-mi11lite5g \
treble-overlay-xiaomi-mi11lite5g-settings \
treble-overlay-xiaomi-mi6x \
treble-overlay-xiaomi-mi8 \
treble-overlay-xiaomi-mi8ee \
@ -211,4 +212,3 @@ PRODUCT_PACKAGES += \
treble-overlay-xiaomi-redminote9t \
treble-overlay-xiaomi-redmis2 \