Update RU translation (Frameworks, Hover)

(cherry picked from commit 4ee51843a350a8d45fb494ffbd99471ebcaa3d5f)
Update cr_strings.xml
(cherry picked from commit 54903f19c5144e7b74e16206aaf4b365200bc165)
Themes: Get resources with an explicit theme attached.

Change-Id: If04e82a13250f520d70b58991586c8ce38f0ecb1
(cherry picked from commit 6d221aec3fb4b7edc11068bb659ed056b173ce36)
Don't log an error if we cannot open icon hash

The icons will end up being processed if we cannot access the hash
so let's just fail gracefully and silently.

Change-Id: I6368ee9bb47a9d52351fff22283ffac2de625b71
(cherry picked from commit bdcfa409562bf855c23ce1ee36c778259e764b29)
SlimRecents: development shortcut

https://github.com/CyanogenMod/android_frameworks_base/commit/016664aa129ff00b556a6c56e06f474593d1a04f

Change-Id: Id813e25cbe4c414bf039385a710775e9b30b7162
(cherry picked from commit 34b665c085c0356acd4d1fa0c6bc9c880d2b7129)
SlimRecents: add floating window menu

Change-Id: I63894fb8551b881c45c991bc30353b3dc4f3e43c
(cherry picked from commit 212d116647dda5450f1b1bb24b64158d6fedf71b)
HOVER: Theme Engine compatibilities and some resources tweaks

Use default notification dimens, avoid setting a custom one.
A bit of cleanup too.

Notifications:
Hardcode dimensions to android defaults. Avoid themes to change them,
Ribbons feature (present on CM based roms mostly) needs that.

Thanks to +John Xionidis to help me trick this out for full CM11 made themes :)

Change-Id: I412993a2d54d800f7ef96d684fb9ce579e9326f8
Signed-off-by: Carlo Savignano <stevewatersy@gmail.com>
(cherry picked from commit bf61a8acba11947a73617574889a203f7a48aeb9)

Conflicts:
	packages/SystemUI/res/values/cr_dimens.xml
frameworks: Fix blacklist in floating notification launch with expanded desktop on

Change-Id: Ifa254dc78c41a1353b429f3ba7b6478979459ccf
(cherry picked from commit 77cdf9638ab336a06e646d71e9ff43e7a5284384)
Revert "Updating ActivityIntentResolver so that queryIntents doesn't return protected applications."

This reverts commit 4f2cd234e686448561a9e7c5b3e8d41bbc01aa91.

(cherry picked from commit 4331b02ee87dc538fe8225ae055f35fa77aa62b1)
Fix DocumentsUI FC

Change-Id: I2bfd4ea83db53ee83683a4754b49b15cc2abeaca
(cherry picked from commit 9dcc92b2f238704ef1a66b73e1e8a7df4d74ce03)
Slim Recents: Option to show topmost task [1/2]

Change-Id: Ib39d9b87b0fd30b4d34d4292af39e891038f337a
(cherry picked from commit 4617534a084c4095a715194711834ceed3865725)
Slim Recents: Always show topmost task collapsed

PS2: Also restore expanded state of topmost task when on homescreen
PS3: Fix code style

Change-Id: I64956410fb389d8e880979a84b51321d8b372217
(cherry picked from commit 5dbc35f1ce1cbbb4dd762abe0f2a0dd8180793e4)
tests: Hide new private APIs

Add missing @hide
This should have been done in If04e82a13250f520d70b58991586c8ce38f0ecb1 to avoid

/opt/jenkins/android/workspace/android/cm-11.0/out/target/common/obj/PACKAGING/public_api.txt:24102:
error 4: Added public method android.test.mock.MockPackageManager.getThemedResourcesForApplication
/opt/jenkins/android/workspace/android/cm-11.0/out/target/common/obj/PACKAGING/public_api.txt:24103:
error 4: Added public method android.test.mock.MockPackageManager.getThemedResourcesForApplication

Change-Id: Ib40279065c937b130322350c1dbdf5b0b43506e3
(cherry picked from commit d3207b38fae0de849baa29d4350a1af1de134b34)
PackageManagerService: Prevent sending a SIGKILL while the device shutting down

This avoid potential NPE when cleanup theme related data

Change-Id: Ifc7b5f7a21af32464feb32012336cfbe4b7de2ff
(cherry picked from commit 44ad279bd187f7fc5a0606a3b5f6a1579d6b5ce0)
Keyguard: Distinguish the TextView id of pinEntry

Both KeyguardSimPinView and KeyguardPinView have the same id of pinEntry
for their TextView of the password. When one of them is created in the
mSecurityViewContainer, the other one will get the wrong TextView of the
same id pinEntry.

Change the id pinEntry in KeyguardSimPinView to simPinEntry.

This fixes CYAN-3822,CYAN-3887

CRs-Fixed: 661955

Change-Id: Ia75d1d1f74530e6671d534000f9ce49cb1f814c4
(cherry picked from commit 0ce4d00a117c82225c1b3348f884bdf5fc9545ad)
Updating ActivityIntentResolver so that queryIntents doesn't return protected applications.

Any calls from System UID(1000) are not filtered

Change-Id: I037cddaf91b6943b8cc837c5b046cf320c4caa5f
(cherry picked from commit 6e783ad2788da6100c2b299ac349d5d39a0334d4)
Merge "Themes: Set bounds on iconUpon" into cm-11.0
(cherry picked from commit cebde37a8eb5768dc0187ef9ea90062d0b0ba02d)
SystemUI: Update UserTile from Google 4.4 code

Change-Id: I867167b83897636a3e28d08849e018a3b25caad7
(cherry picked from commit 2d01de75651dc8abf644bf950539001c3ca38d5b)
delete duplicate