summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorSoonil Nagarkar <sooniln@google.com>2020-09-17 13:15:16 -0700
committerSoonil Nagarkar <sooniln@google.com>2020-09-18 10:08:11 -0700
commit87b8cc3866fb13241ef682a6eaf24fc3c40cb7f9 (patch)
treee7dbc3be91c7926049497e54f2a418d52521a034 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent559bf655283cb8fea95dbc8252353cd8bfbe8087 (diff)
Refactor ListenerMultiplexer with new capabilities
-Store tag string in multiplexer rather than duplicating in every registration. -Add support for failure callbacks at listener operation submission time, in addition to within the listener operation itself. -Extract request out of ListenerRegistration and into subclass, so that the multiplexer does not need to have any knowledge of requests. -New multiplexer specific execute and failure callbacks within registrations objects, with strongly typed listener operation objects. -Fixed resetService() to work properly even if the service is still registered. -Added registration info as an argument to registerWithService() so that this doesn't need to be duplicated if a client wants access to this information. -Narrow exception handling so that only the proper exception (RemoteException for binder calls for instance) results in registration removal, and other unexpected checked exceptions should still crash the process. -Various other minor fixes. Test: manual + presubmit Change-Id: I6fdec313222ff1ef01a1aa4d27d8ee56b4be25d4
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions