fix display does not turn off

merge error 4.4.3

Change-Id: I93b4152a5c8f4c80c454226286a31fbbfffee311

Conflicts:
	services/java/com/android/server/power/DisplayPowerController.java
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