Loading api/test-current.txt +8 −0 Original line number Diff line number Diff line Loading @@ -967,6 +967,14 @@ package android.telecom { ctor public PhoneAccountSuggestion(android.telecom.PhoneAccountHandle, int, boolean); } public class PhoneAccountSuggestionService extends android.app.Service { ctor public PhoneAccountSuggestionService(); method public void onAccountSuggestionRequest(java.lang.String); method public android.os.IBinder onBind(android.content.Intent); method public final void suggestPhoneAccounts(java.lang.String, java.util.List<android.telecom.PhoneAccountSuggestion>); field public static final java.lang.String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService"; } } package android.telephony { Loading telecomm/java/android/telecom/PhoneAccountSuggestion.java +16 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.os.Parcelable; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Objects; public final class PhoneAccountSuggestion implements Parcelable { Loading Loading @@ -132,4 +133,19 @@ public final class PhoneAccountSuggestion implements Parcelable { dest.writeInt(mReason); dest.writeByte((byte) (mShouldAutoSelect ? 1 : 0)); } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PhoneAccountSuggestion that = (PhoneAccountSuggestion) o; return mReason == that.mReason && mShouldAutoSelect == that.mShouldAutoSelect && Objects.equals(mHandle, that.mHandle); } @Override public int hashCode() { return Objects.hash(mHandle, mReason, mShouldAutoSelect); } } telecomm/java/android/telecom/PhoneAccountSuggestionService.java +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package android.telecom; import android.annotation.NonNull; import android.annotation.SdkConstant; import android.annotation.SystemApi; import android.annotation.TestApi; import android.app.Service; import android.content.Intent; import android.os.IBinder; Loading Loading @@ -56,6 +57,7 @@ import java.util.Map; * @hide */ @SystemApi @TestApi public class PhoneAccountSuggestionService extends Service { /** * The {@link Intent} that must be declared in the {@code intent-filter} element of the Loading Loading
api/test-current.txt +8 −0 Original line number Diff line number Diff line Loading @@ -967,6 +967,14 @@ package android.telecom { ctor public PhoneAccountSuggestion(android.telecom.PhoneAccountHandle, int, boolean); } public class PhoneAccountSuggestionService extends android.app.Service { ctor public PhoneAccountSuggestionService(); method public void onAccountSuggestionRequest(java.lang.String); method public android.os.IBinder onBind(android.content.Intent); method public final void suggestPhoneAccounts(java.lang.String, java.util.List<android.telecom.PhoneAccountSuggestion>); field public static final java.lang.String SERVICE_INTERFACE = "android.telecom.PhoneAccountSuggestionService"; } } package android.telephony { Loading
telecomm/java/android/telecom/PhoneAccountSuggestion.java +16 −0 Original line number Diff line number Diff line Loading @@ -24,6 +24,7 @@ import android.os.Parcelable; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; import java.util.Objects; public final class PhoneAccountSuggestion implements Parcelable { Loading Loading @@ -132,4 +133,19 @@ public final class PhoneAccountSuggestion implements Parcelable { dest.writeInt(mReason); dest.writeByte((byte) (mShouldAutoSelect ? 1 : 0)); } @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; PhoneAccountSuggestion that = (PhoneAccountSuggestion) o; return mReason == that.mReason && mShouldAutoSelect == that.mShouldAutoSelect && Objects.equals(mHandle, that.mHandle); } @Override public int hashCode() { return Objects.hash(mHandle, mReason, mShouldAutoSelect); } }
telecomm/java/android/telecom/PhoneAccountSuggestionService.java +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ package android.telecom; import android.annotation.NonNull; import android.annotation.SdkConstant; import android.annotation.SystemApi; import android.annotation.TestApi; import android.app.Service; import android.content.Intent; import android.os.IBinder; Loading Loading @@ -56,6 +57,7 @@ import java.util.Map; * @hide */ @SystemApi @TestApi public class PhoneAccountSuggestionService extends Service { /** * The {@link Intent} that must be declared in the {@code intent-filter} element of the Loading