summaryrefslogtreecommitdiff
path: root/com/android/server/am/BroadcastRecord.java
diff options
context:
space:
mode:
Diffstat (limited to 'com/android/server/am/BroadcastRecord.java')
-rw-r--r--com/android/server/am/BroadcastRecord.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/com/android/server/am/BroadcastRecord.java b/com/android/server/am/BroadcastRecord.java
index 5b3b2a8e..6bc0744f 100644
--- a/com/android/server/am/BroadcastRecord.java
+++ b/com/android/server/am/BroadcastRecord.java
@@ -30,9 +30,6 @@ import android.os.SystemClock;
import android.os.UserHandle;
import android.util.PrintWriterPrinter;
import android.util.TimeUtils;
-import android.util.proto.ProtoOutputStream;
-
-import com.android.server.am.proto.BroadcastRecordProto;
import java.io.PrintWriter;
import java.text.SimpleDateFormat;
@@ -334,17 +331,9 @@ final class BroadcastRecord extends Binder {
return didSomething;
}
- @Override
public String toString() {
return "BroadcastRecord{"
+ Integer.toHexString(System.identityHashCode(this))
+ " u" + userId + " " + intent.getAction() + "}";
}
-
- public void writeToProto(ProtoOutputStream proto, long fieldId) {
- long token = proto.start(fieldId);
- proto.write(BroadcastRecordProto.USER_ID, userId);
- proto.write(BroadcastRecordProto.INTENT_ACTION, intent.getAction());
- proto.end(token);
- }
}