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

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

Change-Id: I55582c761c4fd51b5c4b7579af1ee9a6140cd84b