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

Skip to content
Commit 369e6eb9 authored by Eric Miao's avatar Eric Miao
Browse files

Use readonly flag of native_metrics for HardwareBuffer

Bug: 368409430
Flag: EXEMPT bugfix

In this CL, we used 'com.android.libcore.readonly.Flags.nativeMetrics()'
instead, this flag is forced-read-only which does not involve I/O, thus
preventing failures such as in "Isolated Process" where I/O permission
is disabled. See ag/29673659.

Change-Id: Ic48c26ba2810c405c7ca0ca93faf23ed04001336
parent ba9dad3d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment