[automerger skipped] DO NOT MERGE: Decode the input of both setStream and setResource calls first am: c2188d60ee -s ours am: 5e154e8d5b -s ours am: c47c8f1b83 -s ours am: 712a05c34b -s ours am: 30bc37e513 -s ours

am skip reason: subject contains skip directive

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16375907

Change-Id: Ifd4e1cf6b0799cdd262db762fa86507e286689e8