Merge "Handle exceptions on attach" into rvc-dev am: d5a777965b

Change-Id: Icbe7913740cd40e96ad82ccca0a873a6c2963328
This commit is contained in:
TreeHugger Robot
2020-04-30 01:17:59 +00:00
committed by Automerger Merge Worker

View File

@@ -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;
}