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

Skip to content
Commit 6d1324c7 authored by Ibrahim Yilmaz's avatar Ibrahim Yilmaz
Browse files

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
parent 1dad49ed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment