summaryrefslogtreecommitdiff
path: root/core/jni/AndroidRuntime.cpp
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2019-01-25 15:20:24 -0800
committerJohn Reck <jreck@google.com>2019-01-25 16:03:58 -0800
commit4d312b212c0c7fa7978c788e2a8f5b6b51621c9c (patch)
tree27acb3de33d921429429a898830299b424cf924c /core/jni/AndroidRuntime.cpp
parent3f7e640844e7672d18dd17ad1c387fd267984eac (diff)
Fix ImageReader#newInstace with usage
Need to actually respect the given usage or the API doesn't work. Shift the default to be done Java-side where it's clear if usage was user-provided or not. Remove the incorrect validations and assertions around usages. Add missing HardwareBuffer#isSupported to let users check if a usage & format combination is supported. Change-Id: I70bfe6e6c41e78425a38af6b17d421f0e80e818b Fixes: 123423319 Test: HardwareBuffer CTS tests
Diffstat (limited to 'core/jni/AndroidRuntime.cpp')
0 files changed, 0 insertions, 0 deletions