Expose capabilitiesToString for use in Telecom.
We will use this in phone account registrar to make the logs more useful. Test: Manual Bug: 119306215 Change-Id: Ic882192bc5f135e70f37ddbba055127fdb9c1569
This commit is contained in:
@@ -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 ");
|
||||
|
||||
Reference in New Issue
Block a user