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

Skip to content
Commit 2dedafb4 authored by John Reck's avatar John Reck
Browse files

Fix NPE in onVisibilityChanged

 Bug: 15089790
 onVisibilityChanged may happen before the View is attached.
 Only attempt to re-set the update listener if mLayer is not null,
 as it means the View is attached and has already drawn once. If
 mLayer is null then the update listener will be set when the view
 next draws

Change-Id: I406e359a0a0720988f026f9cbde26afdb564ca92
parent aee470c0
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