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

Commit a6e560ca authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Better exception handling in RemoteCallbackList" into main

parents 72d0dc2b bc2c44fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -214,7 +214,7 @@ public class RemoteCallbackList<E extends IInterface> {
            if (mFrozenCalleePolicy != FROZEN_CALLEE_POLICY_UNSET) {
                try {
                    mBinder.removeFrozenStateChangeCallback(this);
                } catch (UnsupportedOperationException e) {
                } catch (UnsupportedOperationException | IllegalArgumentException e) {
                    // The kernel does not support frozen notifications. Ignore the error and move
                    // on.
                }