summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Christopher Wiley <wiley@google.com> 2015-11-22 16:29:58 -0800
committer Christopher Wiley <wiley@google.com> 2015-12-03 21:17:22 +0000
commitcff7f175c1a4f790fdc64a56695c5b4b08b6bb6e (patch)
tree26379738e200eaef410381c6af74c664e19423f9 /libs/ui/FramebufferNativeWindow.cpp
parentb2e3095a604e16d5d80d1e3d38bb92a6c37bd127 (diff)
libbinder: Handle transaction failures correctly
Java code expects status_t != OK to be caught at the JNI level in android_util_Binder.cpp (see signalExceptionForError). We were incorrectly mapping this kind of failure to a special exception type and writing that exception type to parcels. Instead, refuse to write EX_TRANSACTION_FAILED to a parcel and return the status value instead. While here, remove non-trivial constructors to push authors toward the more explicit factory methods. Remove getException() and push authors toward using the simpler getter methods. Fix minor camelCase issues. Bug: 25615695 Test: system/tools/aidl integration tests still pass Change-Id: I7cad3ac8ae8300b5ac0b466606f4934d01e503c5
Diffstat (limited to 'libs/ui/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions