Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 23418fe5 authored by Aman Gupta's avatar Aman Gupta Committed by Chen Xu
Browse files

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
parent 0ace72cb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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();
+0 −1
Original line number Diff line number Diff line
@@ -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;