Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fcd881d authored by Atneya Nair's avatar Atneya Nair
Browse files

Log uncaught exceptions in AudioService

Make sure this exceptions are loud for crash console.

Test: compiles
Bug: 150808347
Flag: EXEMPT safe: system_server wtf only logs, doesn't abort
Change-Id: Ifc1f4462d0e6085be83d16af5fd21e068b1c821d
parent f2d46282
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -2744,6 +2744,11 @@ public class AudioService extends IAudioService.Stub
        }
    }
    @Override
    protected void onUnhandledException(int code, int flags, Exception e) {
        Slog.wtf(TAG, "Uncaught exception in AudioService: " + code + ", " + flags, e);
    }
    @Override // Binder call
    public void onShellCommand(FileDescriptor in, FileDescriptor out,
            FileDescriptor err, String[] args, ShellCallback callback,