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

Commit 6d2023df authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Remove pattern matching instanceof" into main

parents bfc4fff7 acdeaea9
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);
        }
    }