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
Merge "Fix layout recreation check" into cm-11.0
Mute aapt
Fix quick swipe
Profile: Don't change media volume when music is active
Equalizer tile: Long press action
White theme
DocumentsUI: File manager

Parts authored by: Yamil Ghazi <yghazi@gmail.com>
[1/3] Add a center frequency for bass boost
[1/2] Battery light: Add 100% charged level
[1/2] Profile: Screen timeout
[1/2] Buttons: Switch to last app
[1/2] Global actions: Mobile data
[1/2] Quick pulldown: center
[1/2] Smart pulldown
[1/2] Volume panel timeout
[1/2] Low battery warning policy
[1/2] Recents clear all button
[1/2] Recents RAM bar

Parts authored by: Roman Birg <romanbirg@gmail.com>
                   Gergely Szell <szell@hu.ibm.com>
[1/2] Network traffic indicator

Hide when no activity authored by kecinzer <kecinzer@gmail.com>