Loading services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java +0 −16 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.os.Looper; import android.os.Parcel; import android.os.ParcelUuid; import android.os.PowerManager; import android.os.RemoteException; Loading Loading @@ -341,21 +340,6 @@ public class SoundTriggerService extends SystemService { } } @Override public boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException { try { return super.onTransact(code, data, reply, flags); } catch (RuntimeException e) { // The activity manager only throws security exceptions, so let's // log all others. if (!(e instanceof SecurityException)) { Slog.wtf(TAG, "SoundTriggerService Crash", e); } throw e; } } @Override public int startRecognition(GenericSoundModel soundModel, IRecognitionStatusCallback callback, Loading Loading
services/voiceinteraction/java/com/android/server/soundtrigger/SoundTriggerService.java +0 −16 Original line number Diff line number Diff line Loading @@ -73,7 +73,6 @@ import android.os.Bundle; import android.os.Handler; import android.os.IBinder; import android.os.Looper; import android.os.Parcel; import android.os.ParcelUuid; import android.os.PowerManager; import android.os.RemoteException; Loading Loading @@ -341,21 +340,6 @@ public class SoundTriggerService extends SystemService { } } @Override public boolean onTransact(int code, Parcel data, Parcel reply, int flags) throws RemoteException { try { return super.onTransact(code, data, reply, flags); } catch (RuntimeException e) { // The activity manager only throws security exceptions, so let's // log all others. if (!(e instanceof SecurityException)) { Slog.wtf(TAG, "SoundTriggerService Crash", e); } throw e; } } @Override public int startRecognition(GenericSoundModel soundModel, IRecognitionStatusCallback callback, Loading