base: check also for mLayoutParams before calling checkForRelayout

http://jira.omnirom.org/browse/OMNI-976

This was introduced with
https://github.com/omnirom/android_frameworks_base/commit/b3670c54e60387fde633fb91c649c5b896f8b962

Change-Id: I06c1926c5b8102b336d128d9b411f74a9eff3ded
[1/2] base : disable immersive mode in lockscreen

Change-Id: I2b8e00d22b1e16bf137d20b14d1191bc2318eea3
Merge pull request #33 from omnirom/android-4.4

同步自 omnirom android-4.4