synchronize updateStringCache on mAccessLock

Resources.java used to synchronize on mTmpValue but has since
switched to mAccessLock. mTmpValue can be null in some instances
causing a NPE during a theme change.

Change-Id: I7411dfdf6e8e411381ae993872a3c740dad19300
Themes: Check CRC of APK MANIFEST.MF at install

Change-Id: I6ccfcd2b04107b85fe14cb678aad63443284353a
Themes: Avoid compiling icon packs every boot

Change-Id: I51c7effdd4592a302f457822a05cbebee6cde06b
sync status bar transparency state on theme change

When the status bar view is reinflated its transparency mode is
reset back to opaque. This can be observed by changing a theme
and switching to home in the middle of a switch.

Change-Id: I3049c5f24cc6c46dcefb24188039a08503db09a9

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java
Theme special volumeup+down volume panel

When you press vol up + vol down button it brings up a
different volume panel which was not getting themed because
it lacked the ui context.

Change-Id: I416b8920160c0ab263fd426a6e6491d1f877a905

Conflicts:
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
SystemUI: modify AOSP RU translation

Updated a string to say "Cast screen" instead of older "Wireless display"

Change-Id: I10558e36c2ee9f0e53f0de382425a3aceb52cab1
Framework: More shake sensitivity adjustments (1/2)

Change-Id: I99b2c5577455e4b3c9c8bdac7cea94291182376b
Revert "FB:  Add transparency to Glowpad background [2/3]"

This reverts commit d5b540f66d51b6cf275a39e1882ff5da63b14e9c.
Keyguard: Avoid unneeded SIM dialog show() calls

https://paranoidandroid.atlassian.net/browse/AOSPA-465

This commit makes the progress dialog's show() get called only once
each time the SIM unlock process is started.

It was reported that a phone can be frozen by entering the PIN code
for the SIM card "too quickly". This leaves the user with a device on
which the screen is filled with a non-cancellable dialog box saying
that the SIM card is being unlocked. The logs inform that Keyguard
experienced a success and no explicit errors could be seen there and
only the dialog stayed around, all leading to believe the issue is
with how the progress dialog is being showed and later hidden (or
simply dismissed), in which case this show() call reduction might be
benefitial.

Change-Id: Ibbb4b725598c95e2b2ee9689f6bf50247ad235ac
Themes: Keyguard: Fix NPE setting lockscreen wallpaper

After boot the view might not be laid out and so getWidth() and
getHeight() return 0 and will cause a NullPointerException in
createBitmap().

Bug AOSPA-448

Change-Id: Ibacf4199a69709dc34d21695732c2a5360533a23
Signed-off-by: Dirk Rettschlag <dirk.rettschlag@gmail.com>
[1/2] Add support for Peek app

Disable built in peek when Peek app is installed. Enable it again on app's unistall.

Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>