Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7e2ceda1 authored by Orion Hodson's avatar Orion Hodson
Browse files

Retire android::nio_{get,release}Buffer

Removes unused functions nio_getBuffer and nio_releaseBuffer. Motivated
by the observation that nio_releaseBuffer() will fail hard for
java.nio.Buffer instances backed by heap arrays when the buffer
position is non-zero.

Adds doc comments to AutoBufferPointer that is used in the framework.

Adds test cases for short and int buffers BitmapTest.

Bug: b/130390512
Test: m -j100
Test: atest FrameworksCoreTests:android.graphics.BitmapTest

(cherry picked from commit b0461ebb)

Merged-In: I01fb72ed71d46a4ef8c7d3da82319ea57e391dbd
Change-Id: I01fb72ed71d46a4ef8c7d3da82319ea57e391dbd
parent 37f27b53
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment