diff options
| author | 2024-10-04 14:42:27 -0700 | |
|---|---|---|
| committer | 2024-10-10 20:10:37 -0700 | |
| commit | 369e6eb9bf4880419ff1249518f8c0ece1e55886 (patch) | |
| tree | 7ac23245d7ee954caee2b7dd1fa7eb603d2e7261 /libs/androidfw/ResourceTimer.cpp | |
| parent | ba9dad3dc0514a3df6dd85b7d04346ac74eb725c (diff) | |
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
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions