summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Sailesh Nepal <sail@google.com> 2014-08-29 09:01:18 -0700
committer Sailesh Nepal <sail@google.com> 2014-08-29 09:04:28 -0700
commit38f480993fdb4cc55aea914db90587241ee3541b (patch)
treeef57e3af1a3eabefe9cf71238cff694546e0f48e
parent3e97f9d48b6ef6b5ff5fa4e3c738138c0fe14edc (diff)
Make PhoneAccount.Builder constructor public
Bug: 17321110 Change-Id: I61209f70c4719bbc77a310310c456b253032bedc
-rw-r--r--api/current.txt1
-rw-r--r--telecomm/java/android/telecomm/PhoneAccount.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/api/current.txt b/api/current.txt
index 5f1acbe3d94f..418cce093994 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -28427,6 +28427,7 @@ package android.telecomm {
}
public static class PhoneAccount.Builder {
+ ctor public PhoneAccount.Builder();
method public android.telecomm.PhoneAccount build();
method public android.telecomm.PhoneAccount.Builder withAccountHandle(android.telecomm.PhoneAccountHandle);
method public android.telecomm.PhoneAccount.Builder withCapabilities(int);
diff --git a/telecomm/java/android/telecomm/PhoneAccount.java b/telecomm/java/android/telecomm/PhoneAccount.java
index 411f48c20520..97a7b9daf84d 100644
--- a/telecomm/java/android/telecomm/PhoneAccount.java
+++ b/telecomm/java/android/telecomm/PhoneAccount.java
@@ -93,7 +93,7 @@ public class PhoneAccount implements Parcelable {
private CharSequence mLabel;
private CharSequence mShortDescription;
- private Builder() {}
+ public Builder() {}
public Builder withAccountHandle(PhoneAccountHandle value) {
this.mAccountHandle = value;