diff options
author | Lazar Trsic <Lazar.Trsic@imgtec.com> | 2015-07-07 17:31:20 +0200 |
---|---|---|
committer | Lazar Trsic <Lazar.Trsic@imgtec.com> | 2015-12-04 12:41:37 +0100 |
commit | 8ea56f68517ffa42bd5f43ab67f4ebfcfcb0cd23 (patch) | |
tree | 77a7616e4791074eeb2e96fd75585784e6541748 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 3fe5a65b1cc621d40f6278dd1e38d5ec58f92fb6 (diff) |
Replace hard-coded errno values with OsConstants
Errno values have been hard-coded inside java code. On the native side
however, bionic's errno.h is used (through utils/Errors.h). Some of
the numbers are architecture dependent (EOPNOTSUPP, ETIMEDOUT...).
This causes Camera app to crash on MIPS devices. There is a check for
expected errors, in CameraBinderDecorator.throwOnError, but the error
(EOPNOTSUPP) is not recognized and an exception is thrown.
Change-Id: I8bcac8f1ced50c76614f566a6e624967a18a25e1
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions