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

Change-Id: I0d14f9229b1e98a77fa2ac8a280b9db989ef0b79
This commit is contained in:
TreeHugger Robot
2020-04-30 01:31:54 +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;
}