Fix incomplete move of flags from PhoneAccount to PhoneAccountMetadata
Change-Id: I91c0d6be76030117ed3cf6d6d5f7514b4d4802ad
This commit is contained in:
@@ -28498,7 +28498,6 @@ package android.telecomm {
|
||||
method public android.content.ComponentName getComponentName();
|
||||
method public java.lang.String getId();
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final int CAPABILITY_SIM_SUBSCRIPTION = 4; // 0x4
|
||||
field public static final android.os.Parcelable.Creator CREATOR;
|
||||
}
|
||||
|
||||
@@ -28516,6 +28515,7 @@ package android.telecomm {
|
||||
method public void writeToParcel(android.os.Parcel, int);
|
||||
field public static final int CAPABILITY_CALL_PROVIDER = 2; // 0x2
|
||||
field public static final int CAPABILITY_SIM_CALL_MANAGER = 1; // 0x1
|
||||
field public static final int CAPABILITY_SIM_SUBSCRIPTION = 4; // 0x4
|
||||
field public static final android.os.Parcelable.Creator CREATOR;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,14 +33,6 @@ import java.util.Objects;
|
||||
* PhoneAccountMetadata.
|
||||
*/
|
||||
public class PhoneAccount implements Parcelable {
|
||||
|
||||
/**
|
||||
* Flag indicating that this {@code PhoneAccount} represents built-in PSTN SIM subscription.
|
||||
* <p>
|
||||
* Only the android framework can set this capability on a phone account.
|
||||
*/
|
||||
public static final int CAPABILITY_SIM_SUBSCRIPTION = 0x4;
|
||||
|
||||
private ComponentName mComponentName;
|
||||
private String mId;
|
||||
|
||||
|
||||
@@ -57,6 +57,13 @@ public class PhoneAccountMetadata implements Parcelable {
|
||||
*/
|
||||
public static final int CAPABILITY_CALL_PROVIDER = 0x2;
|
||||
|
||||
/**
|
||||
* Flag indicating that this {@code PhoneAccount} represents built-in PSTN SIM subscription.
|
||||
* <p>
|
||||
* Only the android framework can set this capability on a phone account.
|
||||
*/
|
||||
public static final int CAPABILITY_SIM_SUBSCRIPTION = 0x4;
|
||||
|
||||
private final PhoneAccount mAccount;
|
||||
private final Uri mHandle;
|
||||
private final int mCapabilities;
|
||||
|
||||
Reference in New Issue
Block a user