Change input handling to allow button ripples.
The desktop mode touch handler would consume ACTION_DOWN input events if they occur in app pill / maximize / close buttons, preventing them from displaying ripple effects. This CL changes the touch handler and buttons themselves to prevent these events from being consumed while leaving other functionality (double tap, drag, long press) in tact. Because there are less input events being consumed, this CL removes variables mShouldClick and shouldLongClick as we can now allow the listener itself to determine these events. Bug: 316194617 Test: Manual Change-Id: I07a80d7952bfcc7e01d18449282e4339b0fcd6bb
Loading
Please register or sign in to comment