Delete duplicate SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION flag

AOSP gerrit: https://android-review.googlesource.com/#/c/96374/
Fix layout recreation check

Change I7d6b088a9235362e03cb6694392df71bbf5a323a added a relayout
for programmatic text direction changes, but this is breaking some
fixed layouts. Make sure layout params exist before trying to
act on them

Change-Id: Ibfe3daa71490d109c9a4bdc4c90cbf9517e53260