Revert "DO NOT MERGE: Decode the input of both setStream and setResource calls first" am: b6509bdc18

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

Change-Id: I27fbeb2579c5c9ff689b5e20593195bd66cb07de