make UiccSlotMapping constructor a system API

UiccSlotMapping need to be constructed and passed from LPA app to telephony framework API setSimSlotMapping, thus need to be exposed.
the real API to setSimSlotMapping was already protected with the privileged permission.

Bug: 214306205
Test: atest UiccSlotMappingTest
CTS-Coverage-Bug: 214446121

Change-Id: I109575750ab16ee9b73a469633372e93f03d2199
This commit is contained in:
Aman Gupta
2022-01-13 03:18:18 +00:00
committed by Chen Xu
parent 0ace72cbd7
commit 23418fe577
2 changed files with 1 additions and 1 deletions

View File

@@ -13085,6 +13085,7 @@ package android.telephony {
}
public final class UiccSlotMapping implements android.os.Parcelable {
ctor public UiccSlotMapping(int, int, int);
method public int describeContents();
method @IntRange(from=0) public int getLogicalSlotIndex();
method @IntRange(from=0) public int getPhysicalSlotIndex();

View File

@@ -94,7 +94,6 @@ public final class UiccSlotMapping implements Parcelable {
* @param physicalSlotIndex is unique index referring to a physical SIM slot.
* @param logicalSlotIndex is unique index referring to a logical SIM slot.
*
* @hide
*/
public UiccSlotMapping(int portIndex, int physicalSlotIndex, int logicalSlotIndex) {
this.mPortIndex = portIndex;