summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Ibrahim Yilmaz <iyz@google.com> 2024-02-20 14:33:06 +0000
committer Ibrahim Yilmaz <iyz@google.com> 2024-02-20 15:00:32 +0000
commit6d1324c78923064f008457746deb76aab3d10c4f (patch)
treee362408d13f099d086cf4f6feb0c3ebf8d9780b8 /libs/input/PointerController.cpp
parent1dad49edad0071d8f2ee23c1c64ba80159911e1c (diff)
KeyguardMediaController: Invalidate NSSL only for MediaContainerView
setVisibility method has two major problems: 1. Both singlePaneContainer and splitShadeContainer triggers visibilityChangedListener. That invalidates NSSL. We should invalidate NSSL only for MediaContainerView. 2. Null View might trigger visibilityChangedListener. Null View's visibility is going to be null and it is not equal to the new visibility. So, the controller ends up invalidating NSSL. This CL address these two problems by null check and container type check. Bug: 298213983 Test: Play song in splitShade and check NSSL invalidation. Flag: None Change-Id: I7d75fe57b78efc3903b6d590cc00ee7ccd9e9a90
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions