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
frameworks/base: Fix delay in sending AUDIO_BECOMING_NOISY intent

AUDIO_BECOMING_NOISY intent is sent as background intent which causes
delay in receiving pause event. This delay caused audio leak. By
marking the event as FLAG_RECEIVER_FOREGROUND, this intent is
received sooner by Application.

Change-Id: Ib978cf8322dcddbc01f59824f95fa7800f9c35af
CRs-Fixed: 652549
Themes: Let ThemeService handle all theme processing [1/3]

Only themes that are applied will be processed inside of the
PackageManagerService, all others will be sent off to the
ThemeService.

Change-Id: I5f2ec628e1d22a05accc6727efb0c1387455f82f

Conflicts:

	core/res/res/values/pa_strings.xml