Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ce826bba authored by Soonil Nagarkar's avatar Soonil Nagarkar Committed by Android (Google) Code Review
Browse files

Merge "Add toString() to ServiceWatcher"

parents d9a86e11 dd01a325
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -167,7 +167,7 @@ public class ServiceWatcher implements ServiceConnection {

        @Override
        public String toString() {
            return component + "@" + version + "[u" + userId + "]";
            return component.toShortString() + "@" + version + "[u" + userId + "]";
        }
    }

@@ -473,4 +473,9 @@ public class ServiceWatcher implements ServiceConnection {
    private String getLogPrefix() {
        return "[" + mIntent.getAction() + "]";
    }

    @Override
    public String toString() {
        return mServiceInfo.toString();
    }
}