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

Commit 78050edf authored by Hyundo Moon's avatar Hyundo Moon
Browse files

Catch IAE in SDPBroadcastReceiver.unregister()

Bug: 305624217
Test: m -j;
Change-Id: Ibbfd830ca57d43421a89d15d37d54b2f6d3793bf
parent 374b6562
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -268,7 +268,11 @@ class PbapClientStateMachine extends StateMachine {
            }

            public void unregister() {
                try {
                    mService.unregisterReceiver(this);
                } catch (IllegalArgumentException ex) {
                    Log.e(TAG, "IAE happened in SDPBroadcastReceiver.unregister()", ex);
                }
            }
        }
    }