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

Skip to content
Commit 1f83efcb authored by Sally Qi's avatar Sally Qi
Browse files

Accept RGBA_1010102 buffer in ImageUtils#getEstimatedNativeAllocBytes

and other util functions.

- Estimate the native buffer allocation size and register it.
- Instead of throw exception, return a default value if necessary.

Bug: 277395329
Test: builds
Change-Id: I1dcabc8271eafa0cf189ffd4db63198f06073322
parent 37e84cec
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