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:
@@ -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();
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user