Merge "Expose capabilitiesToString for use in Telecom."

am: b7d9e55bc7

Change-Id: I23278a7317a38e20b11ced33beef37c3729c973b
This commit is contained in:
Tyler Gunn
2018-11-13 09:57:04 -08:00
committed by android-build-merger

View File

@@ -985,10 +985,10 @@ public final class PhoneAccount implements Parcelable {
/**
* Generates a string representation of a capabilities bitmask.
*
* @param capabilities The capabilities bitmask.
* @return String representation of the capabilities bitmask.
* @hide
*/
private String capabilitiesToString() {
public String capabilitiesToString() {
StringBuilder sb = new StringBuilder();
if (hasCapabilities(CAPABILITY_SELF_MANAGED)) {
sb.append("SelfManaged ");