Skip to content
Commit 8b9d7baa authored by Ming-Shin Lu's avatar Ming-Shin Lu
Browse files

Remove unnecessary null checking on ViewRootImpl#mWindowAttribute

From static analysis, as ViewRootImpl#mWindowAttribute is now a final
object from CL[1] and the object is created when ViewRootImpl initialized
so the object reference should not be changed, it won't be necessary to do
the null check again for some code points.

[1]: I0d749c1abb38520fe8fc477d22d6523f470e9abc

Fix: 168335781
Fix: 168319140
Test: build and check launching app without any exception.

Change-Id: I30e1efb8e52704fbd8c97dc375e7ac253c6a90a8
parent 240a26d2
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