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

Verified Commit 95662fb4 authored by Marvin W.'s avatar Marvin W. 🐿️
Browse files

Ignore exceptions in unbinding

parent c8763adf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -104,7 +104,10 @@ public class RemoteDroidGuardConnector {
        // "Service org.microg.gms.snet.SafetyNetClientService has leaked ServiceConnection
        // org.microg.gms.droidguard.RemoteDroidGuardConnector$Connection" message
        // By unbinding here, the process is terminated immediately, and no more leaks are happening
        try {
            context.unbindService(c);
        } catch (Exception ignored) {
        }

        return true;
    }