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
Global actions cleanup

Also include spanish translations

Patchset 2: Fix build
Patchset 3: Add message to confirmation dialog
Patchset 4: More consistency with the system

Change-Id: I09bf56374a5ba9a875b94a53845be99a347417dc

Conflicts:
	core/res/res/values/pa_strings.xml

Conflicts:
	core/res/res/values/pa_strings.xml

Conflicts:
	core/res/res/values/pa_strings.xml
	core/res/res/values/pa_symbols.xml
	policy/src/com/android/internal/policy/impl/GlobalActions.java
	services/java/com/android/server/power/ShutdownThread.java