add eSIM slot configuration for Pixel 4a
This commit is contained in:
parent
8a81068541
commit
b1c56726a6
8
Google/Pixel4a/Android.mk
Normal file
8
Google/Pixel4a/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-google-sunfish
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
|
||||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
10
Google/Pixel4a/AndroidManifest.xml
Normal file
10
Google/Pixel4a/AndroidManifest.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.google.sunfish"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="android"
|
||||
android:requiredSystemPropertyName="ro.vendor.build.fingerprint"
|
||||
android:requiredSystemPropertyValue="+google/sunfish*"
|
||||
android:priority="200"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
20
Google/Pixel4a/res/values/config.xml
Normal file
20
Google/Pixel4a/res/values/config.xml
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<!-- Device-specific array of SIM slot indexes which are are embedded eUICCs.
|
||||
e.g. If a device has two physical slots with indexes 0, 1, and slot 1 is an
|
||||
eUICC, then the value of this array should be:
|
||||
<integer-array name="non_removable_euicc_slots">
|
||||
<item>1</item>
|
||||
</integer-array>
|
||||
If a device has three physical slots and slot 1 and 2 are eUICCs, then the value of
|
||||
this array should be:
|
||||
<integer-array name="non_removable_euicc_slots">
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</integer-array>
|
||||
This is used to differentiate between removable eUICCs and built in eUICCs, and should
|
||||
be set by OEMs for devices which use eUICCs. -->
|
||||
<integer-array name="non_removable_euicc_slots">
|
||||
<item>1</item>
|
||||
</integer-array>
|
||||
</resources>
|
|
@ -19,6 +19,7 @@ PRODUCT_PACKAGES += \
|
|||
treble-overlay-essential-ph_1 \
|
||||
treble-overlay-fairphone-fp3 \
|
||||
treble-overlay-gestures \
|
||||
treble-overlay-google-sunfish \
|
||||
treble-overlay-htc-exodus1 \
|
||||
treble-overlay-htc-u12plus \
|
||||
treble-overlay-huawei \
|
||||
|
|
Loading…
Reference in a new issue