Remove pattern matching instanceof

Protolog tool does not handle pattern matching.

Bug: 349845968
Change-Id: I2c9324134803d61f28574d17497ec53ccb41943b
Test: m
Flag: com.android.wm.shell.enable_bubble_bar
1 file changed