summaryrefslogtreecommitdiff
path: root/core/java/android/view/AppTransitionAnimationSpec.java
diff options
context:
space:
mode:
authorLeon Scroggins III <scroggo@google.com>2020-02-28 15:41:56 -0500
committerLeon Scroggins III <scroggo@google.com>2020-03-05 17:51:56 -0500
commita72a7ffe47197a4c103631fb76d4b96fce66ca84 (patch)
treeefb3c0ff8b5f9e186485b303706359b26cc529a4 /core/java/android/view/AppTransitionAnimationSpec.java
parentb25501156648a516bc4a8fd287c45048879dbb08 (diff)
Expose Bitmap#getHardwareBuffer
Bug: 148155907 Bug: 150395371 Test: I652101b6a4b3d9de4e77a316ba0436ce466f3620 Bitmap already has a method to create a Bitmap from a HardwareBuffer, and the NDK allows doing the reverse. This updates the SDK to allow retrieving the HardwareBuffer, too. Update the docs to match wrapHardwareBuffer regarding modifications. Throw an Exception if called on a non-HARDWARE Bitmap, which is friendlier than the crash that previously happened on the hidden API (and the one it replaced). Change-Id: I408cff708efa76f89e0c4c6dae16f19166ffe74d
Diffstat (limited to 'core/java/android/view/AppTransitionAnimationSpec.java')
0 files changed, 0 insertions, 0 deletions