Base: Help alleviate SystemUI crashes

try and catch method toward bitmap and out of memory errors

Change-Id: Ie18faac4dce45eb2fe9ca07d628bed7cd0eafaab
systemui: Unbreak the planet

 * Not sure who to blame, but it's probably themes... :)

Change-Id: I0c534354a699f756d809aff10843ebea21f3f369
Fix crashes upon confirming On-The-Spot dialogs

This commit partially reverts "On-The-Spot: Add Gif support" with
change ID Ic1e383c11eb6b8a7a2200470fa31bb28dfc304f7 to fix crashes
related to incorrect UIDs that were taking place when the system
tried to write settings using the UI context.

Change-Id: Ie195e33cde04dd3bdf6116ae251b19269f9cc94f
Keyguard: Fix incorrect PIN entry on MSIM devices

This commit fixes a SystemUI FC caused by incorrect resource IDs that
happens on MSIM devices when the PIN code is entered incorrectly.

Change-Id: Iff82859e34018e84db1f8884019a53c3414b692b
Merge remote-tracking branch 'pa/kitkat' into kitkat
Merge remote-tracking branch 'upstream/kitkat' into kitkat