Ensure main content's clickable state is set correctly.
Previously, when resetting the view state, we just called setOnClickListener which does not reset clickable state if the click listener is set to null. As a result, the main content was set to clickable even though there's no click action. This fixes the issue by properly calling updateContentClickListener which also sets the view to not clickable when there's no listener. Bug: 421781455 Bug: 421783324 Bug: 421783245 Fixes: 421781455 Fixes: 421783324 Fixes: 421783245 Flag: EXEMPT bugfix Test: atest MediaOutputAdapterTest Change-Id: I1cad7275688d94cf118c04f6dd5bfafcb7c7d31c
Loading
Please register or sign in to comment