diff options
| author | Kweku Adams <kwekua@google.com> | 2017-12-18 12:04:12 -0800 |
|---|---|---|
| committer | Kweku Adams <kwekua@google.com> | 2018-01-09 12:05:39 -0800 |
| commit | 85f2fbcb1fc3277ea825ec3dc52f636b47302425 (patch) | |
| tree | 535b1b6866bbf21d77c5b17ae7b4d1512e10bb34 /core/java/android/content/Intent.java | |
| parent | e73f12ff8ca6a80869cf2876d6f5055457ae03e3 (diff) | |
incidentd: dumping jobscheduler to proto
Bug: 65750819
Test: flash device and check incident.proto output
Also test: $ cts-tradefed run cts-dev --module CtsIncidentHostTestCases --test com.android.server.cts.JobSchedulerIncidentTest
Change-Id: I4abc01ca893edcbaf4d2254e4f807e06f5cb91f8
Diffstat (limited to 'core/java/android/content/Intent.java')
| -rw-r--r-- | core/java/android/content/Intent.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/content/Intent.java b/core/java/android/content/Intent.java index e940769ada60..6e9970980e96 100644 --- a/core/java/android/content/Intent.java +++ b/core/java/android/content/Intent.java @@ -9410,6 +9410,12 @@ public class Intent implements Parcelable, Cloneable { } /** @hide */ + public void writeToProto(ProtoOutputStream proto, long fieldId) { + // Same input parameters that toString() gives to toShortString(). + writeToProto(proto, fieldId, true, true, true, false); + } + + /** @hide */ public void writeToProto(ProtoOutputStream proto, long fieldId, boolean secure, boolean comp, boolean extras, boolean clip) { long token = proto.start(fieldId); |
