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

Commit acdeaea9 authored by Ats Jenk's avatar Ats Jenk
Browse files

Remove pattern matching instanceof

It is not compatible with protolog.

Bug: n/a
Change-Id: I75f5cd87939aa958836bea2f17e89c9346a6cec3
Test: presubmit
Flag: EXEMPT, trivial refactor
parent a3168295
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -524,8 +524,8 @@ public class BubbleBarLayerView extends FrameLayout
     * Skips logging if it is {@link BubbleOverflow}.
     */
    private void logBubbleEvent(BubbleLogger.Event event) {
        if (mExpandedBubble != null && mExpandedBubble instanceof Bubble bubble) {
            mBubbleLogger.log(bubble, event);
        if (mExpandedBubble != null && mExpandedBubble instanceof Bubble) {
            mBubbleLogger.log((Bubble) mExpandedBubble, event);
        }
    }