summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorLazar Trsic <Lazar.Trsic@imgtec.com>2015-07-07 17:31:20 +0200
committerLazar Trsic <Lazar.Trsic@imgtec.com>2015-12-04 12:41:37 +0100
commit8ea56f68517ffa42bd5f43ab67f4ebfcfcb0cd23 (patch)
tree77a7616e4791074eeb2e96fd75585784e6541748 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent3fe5a65b1cc621d40f6278dd1e38d5ec58f92fb6 (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