Fixes a potential NPE in View.
Calling getLocationOnScreen() before the View is attached to a window can throw an NPE. This change simply guards against the exception.
Loading
Please register or sign in to comment
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Calling getLocationOnScreen() before the View is attached to a window can throw an NPE. This change simply guards against the exception.