Merge "Check the ByteArray actual size before writing it to ByteBuffer." am: b3a3042446 am: f18bfecc7d am: 00b3cf3ca4

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/net/+/1566234

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7d19978e30b68bd47f5c345a08c95e65320931bc
tree: 0fddbc7f33157d36849f6fef0636dfd53577daf6
  1. staticlibs/