Merge "Handle exceptions on attach" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
d5a777965b
@@ -1945,7 +1945,7 @@ public class SoundTrigger {
|
||||
Looper looper = handler != null ? handler.getLooper() : Looper.getMainLooper();
|
||||
try {
|
||||
return new SoundTriggerModule(getService(), moduleId, listener, looper);
|
||||
} catch (RemoteException e) {
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, "", e);
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user