[Android] src: Add an utility function remoteProcedureCall() in AudioServiceController
Edward Wang
git at videolan.org
Tue Jul 3 05:45:00 CEST 2012
android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Mon Jul 2 23:10:14 2012 -0400| [febd783a6ce968464d48ac5378ac7f2b7fb044e4] | committer: Edward Wang
src: Add an utility function remoteProcedureCall() in AudioServiceController
This will make the RPC functions short and concise, as well as reducing code duplication. It also enforces checking for NULL in mAudioServiceBinder, fixing a lot of crashes too.
> http://git.videolan.org/gitweb.cgi/android.git/?a=commit;h=febd783a6ce968464d48ac5378ac7f2b7fb044e4
---
.../org/videolan/vlc/AudioServiceController.java | 252 +++++++-------------
1 file changed, 91 insertions(+), 161 deletions(-)
Diff: http://git.videolan.org/gitweb.cgi/android.git/?a=commitdiff;h=febd783a6ce968464d48ac5378ac7f2b7fb044e4
More information about the Android
mailing list