rtwo: Set slotId# of non-removable esim

This is needed for esim to function properly.
Without it the EID value could not be read.

Change-Id: I414a7c98362523c5880cfa90b6ce9c0ce92e9c32
This commit is contained in:
razorloves
2020-05-12 23:50:50 -05:00
committed by SGCMarkus
parent f06a5ad345
commit 687ba4dab3
4 changed files with 39 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ $(call inherit-product, device/motorola/sm8550-common/sm8550.mk)
PRODUCT_PACKAGES += \
FrameworksResRtwo \
LineageSystemUIRtwo \
ProductFrameworksResRtwo \
SettingsProviderResRtwo \
SystemUIResRtwo

View File

@@ -0,0 +1,5 @@
runtime_resource_overlay {
name: "ProductFrameworksResRtwo",
sdk_version: "current",
product_specific: true
}

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="android.overlay.product.rtwo">
<overlay android:targetPackage="android" android:isStatic="true" android:priority="600"/>
</manifest>

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2022 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<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>