fogos: 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 2024-08-26 00:27:03 +05:30 committed by Anand S
parent f8fb3af799
commit 83a59ef5f3
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
4 changed files with 39 additions and 0 deletions

View file

@ -30,6 +30,7 @@ $(call inherit-product, device/motorola/sm6375-common/common.mk)
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
FrameworksResFogos \ FrameworksResFogos \
LineageSystemUIFogos \ LineageSystemUIFogos \
ProductFrameworksResFogos \
SettingsProviderResFogos \ SettingsProviderResFogos \
SystemUIResFogos \ SystemUIResFogos \
WifiResFogos WifiResFogos

View file

@ -0,0 +1,5 @@
runtime_resource_overlay {
name: "ProductFrameworksResFogos",
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.fogos">
<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>