diff options
| author | Jeffrey Huang <jeffreyhuang@google.com> | 2019-12-06 18:53:15 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-12-06 18:53:15 +0000 |
| commit | 77db95096431d438f057b67998ae5c0abdf498cd (patch) | |
| tree | ad923373c800554297a0b2608d4c4ab59d751db7 /core/java/android/content/Intent.java | |
| parent | 5c493742f7640dd48cd60232eddf306735102948 (diff) | |
| parent | cb78285b81eb731bf75a7cd869657505caec06ae (diff) | |
Merge "Rename writeToProto to be dumpDebug"
Diffstat (limited to 'core/java/android/content/Intent.java')
| -rw-r--r-- | core/java/android/content/Intent.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index af7b98683219..7815a330217f 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -10293,26 +10293,26 @@ public class Intent implements Parcelable, Cloneable { } /** @hide */ - public void writeToProto(ProtoOutputStream proto, long fieldId) { + public void dumpDebug(ProtoOutputStream proto, long fieldId) { // Same input parameters that toString() gives to toShortString(). - writeToProto(proto, fieldId, true, true, true, false); + dumpDebug(proto, fieldId, true, true, true, false); } /** @hide */ - public void writeToProto(ProtoOutputStream proto) { + public void dumpDebug(ProtoOutputStream proto) { // Same input parameters that toString() gives to toShortString(). - writeToProtoWithoutFieldId(proto, true, true, true, false); + dumpDebugWithoutFieldId(proto, true, true, true, false); } /** @hide */ - public void writeToProto(ProtoOutputStream proto, long fieldId, boolean secure, boolean comp, + public void dumpDebug(ProtoOutputStream proto, long fieldId, boolean secure, boolean comp, boolean extras, boolean clip) { long token = proto.start(fieldId); - writeToProtoWithoutFieldId(proto, secure, comp, extras, clip); + dumpDebugWithoutFieldId(proto, secure, comp, extras, clip); proto.end(token); } - private void writeToProtoWithoutFieldId(ProtoOutputStream proto, boolean secure, boolean comp, + private void dumpDebugWithoutFieldId(ProtoOutputStream proto, boolean secure, boolean comp, boolean extras, boolean clip) { if (mAction != null) { proto.write(IntentProto.ACTION, mAction); @@ -10338,7 +10338,7 @@ public class Intent implements Parcelable, Cloneable { proto.write(IntentProto.PACKAGE, mPackage); } if (comp && mComponent != null) { - mComponent.writeToProto(proto, IntentProto.COMPONENT); + mComponent.dumpDebug(proto, IntentProto.COMPONENT); } if (mSourceBounds != null) { proto.write(IntentProto.SOURCE_BOUNDS, mSourceBounds.toShortString()); |
