commit | d6080d1e29ee393c612b4aee5056ea4d8c60277b | [log] [tgz] |
---|---|---|
author | Gopal Krishna Shukla <gshukla@codeaurora.org> | Wed Jul 06 08:14:59 2016 +0530 |
committer | Jackeagle <jackeagle102@gmail.com> | Thu May 18 00:17:55 2017 -0400 |
tree | b26e23511e7deae6136faf4ac26cf66fd5d1485d | |
parent | 96231369e2ebffd3b707978562088954316e6df9 [diff] |
Provide synchronization to setview to avoid NPE If setView() will be called from two different threads then mView property of a View object may have inconsistent value. For instance, setView() may set mView to null causing NullPointerException. Synchronize root.setView() as well to avoid this. Change-Id: I5f9cf47ece5d4aca575bd8644ecfcee0ed43d843