Rename writeToProto to be dumpDebug
We want to eventually migrate some of these APIs to be @SystemApi for mainline modules. The #dumpDebug name is more appropriate than #writeToProto. Bug: 142279786 Test: Manual Change-Id: I60793e91cedf6b720d4ecef6a8484f4fed4ff30f
This commit is contained in:
@@ -439,7 +439,7 @@ public abstract class AppLaunchEvent implements Parcelable {
|
||||
final ProtoOutputStream protoOutputStream =
|
||||
new ProtoOutputStream(INTENT_PROTO_CHUNK_SIZE);
|
||||
// Write this data out as the top-most IntentProto (i.e. it is not a sub-object).
|
||||
intent.writeToProto(protoOutputStream);
|
||||
intent.dumpDebug(protoOutputStream);
|
||||
final byte[] bytes = protoOutputStream.getBytes();
|
||||
|
||||
p.writeByteArray(bytes);
|
||||
|
||||
Reference in New Issue
Block a user