Update RU translation for v92 (Frameworks)

(cherry picked from commit 696e11ef18721e7d565f3563bfd7ed3cb02688a5)
Update cr_strings.xml
(cherry picked from commit 3ea13ff854e8712cec7c0c7d5fe64167057fd41a)
Cleanup app->{theme1,theme2...} mapping on uninstall

Change-Id: I24b43e8817db1927d5b43fcf7ad3340269d046ea
(cherry picked from commit 75b98c955a42311bb863f98a7411a897036d4ede)
apn: national roaming for ONO (Spain)

ONO uses the Movistar network (214 07)
JIRA: CYAN-4247
Issue: https://jira.cyanogenmod.org/browse/CYAN-4247

Change-Id: Ifb62f631df9f8441e1c03f3d58c98a17572c7077
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
(cherry picked from commit fc8d331e8e7a29545b07cd02fd639c78bd423c1c)
Themes: Add '|' delimited list of components to broadcast

Change-Id: I742dcb0f502b6089dee584a92a3792016f2a9799
(cherry picked from commit 90735a1a74186a9dffda3d840aaa4088e4bdf72b)
Themes: Handle apps using "original-package" tag

Before this patch the themes code assumed the pkgName from PackageInfo was equal to the
manifest value. This is not the case however for upgraded system apps that have gone
through a pkg-name change. For example, Trebuchet was "com.android.launcher3" and now
it is "com.cyanogenmod.trebuchet". If the device had wiped data then PM would use the new
pkg-name, but if the system apps were being upgraded then PM would use the old name which is
now different from the manifest name.

Change-Id: Ie7eb1b4e17899d1055535dc890d4f7a7bca9a98a
(cherry picked from commit 19ba7b2152959168792a98f17859a822aec340d1)
Make theme change broadcast a protected broadcast.

Change-Id: Ic24c840685d18d133dc73ff2637c041c4775f197
(cherry picked from commit de25cca0a60cff2adccb63b575d21a9a1ce3962c)
Themes: remove unused code

Change-Id: I5ee8de962c40ddc5fcfbbc0332a9e389223e716c
(cherry picked from commit aad2c456b2474105896dad05782390695ab09035)
Themes: Delete icon resources during uninstall

Change-Id: Icf247642f9d246c8826f3394f873e4b434ad2b3f
(cherry picked from commit b6a7db4495bdf4e4e49d045af14cb9b7522e2740)
WallpaperCropper: do not display null bitmaps

It is possible that themes can include a corrupted bitmap,
and the lockscreen will try and display a NULL image resulting in an
empty thumbnail and applying it will cause the app to crash.

Change-Id: Ie0770486a9d58050a5f296a219d844a39937421e
Signed-off-by: Roman Birg <roman@cyngn.com>
(cherry picked from commit 3552c5483b0cfaf32318548557b2fe7f529278aa)
Change defaultDreams to com.android namespace

Change-Id: I80f6a163084ef1e03e6e3168ecf40ac701e34519
(cherry picked from commit 1937f2c60e73b927db8da7afe5400f8d34bb8f1e)
Themes: Update last postFinish call

* Previous patchset changed postFinish function signature.

Change-Id: Ibe07435e274054c7203504bc4b0877b4df006893
(cherry picked from commit f60e5c750a3c010c787274fb0eee23cb60ad6f63)
fw: media: Handle NPE due to threading race

Change-Id: I6eab5bc3d687edfa6f0839e439b3314bed4fdcea
(cherry picked from commit 02713efadb54b32cdfac451911372cb25671ab8e)
Adjust PIE trigger to better action and set new sensitivity values

Here we set SENSITIVITY_DEFAULT = 5 and SENSITIVITY_HIGHEST = 10 to high values.
Values was 2 and 5 and using this commit b36d535e6cc23dfbc986518f2b5e1d63e32d7db0 result always in SENSITIVITY_DEFAULT = 2;

Inside this method is were PIE control sensitivity is defined:

    private void setupListener() {
        ContentResolver resolver = mContext.getContentResolver();

        mPieTriggerSlots = Settings.System.getIntForUser(resolver,
                Settings.System.PIE_GRAVITY, EdgeGesturePosition.LEFT.FLAG,
                UserHandle.USER_CURRENT);

        int sensitivity = mContext.getResources().getInteger(R.integer.pie_gesture_sensivity);
        if (sensitivity < EdgeServiceConstants.SENSITIVITY_LOWEST
                || sensitivity > EdgeServiceConstants.SENSITIVITY_HIGHEST) {
            sensitivity = EdgeServiceConstants.SENSITIVITY_DEFAULT;
        }

        mPieManager.updateEdgeGestureActivationListener(mPieActivationListener,
                sensitivity<<EdgeServiceConstants.SENSITIVITY_SHIFT
                | mPieTriggerSlots & mPieTriggerMask);
    }

Change-Id: I8b2a4cc0b7b634f6d805c4566a61602f9841c2b6
(cherry picked from commit 970c05b4bc9f6fda5cb9e53d3b752dc529c1e780)
Fix derp in app sidebar and gesture everywhere implementation

Change-Id: I92f93edbbf1785feae579ed75eab5b6c06452bd0
(cherry picked from commit 62cc6a3ce5c404e42766e95f178c11a487ac0583)
Frameworks: SlimPie only preload recent on button press down

and not like it was before on showing up pie for better peformance

Change-Id: I87ec56649a5bc8979225036b9eb8e823de587185
(cherry picked from commit 3e7f628bdf0a0d2e99c0c3b27a13464e9884f793)
SlimPie: turn on HA on highEndGfx devices

for smoother experience

Change-Id: Ie2a052e1071a8ab7ea303b6a8d21e245658bec2b
(cherry picked from commit 31e0a5db19d1fba9e92f28e518c3a3062ed82f68)
Frameworks: add 1dp more bottom padding

Change-Id: I583c8b11db8b1d0262a575669f12d1f952069857
(cherry picked from commit b5e08fb2b7205fe1103683f88ec5e8ff51158849)
Reduce memory leaks by removing all views.

Change-Id: I64b95981425840d101c8122421281976d0251bae
(cherry picked from commit e7197e299c8d6460db25479a763585fe358795e7)
Temporarily hide lock screen unlock targets if opening a widget

If the user selects a widget to open, it's very unlikely that they would
want to use any of the slider shortcuts at that moment. Make it easier
to unlock the screen and open the desired widget by temporarily hiding
other targets.

Change-Id: I51d879cc77826e4f7235c5d35b6352e5e83bb7cf
(cherry picked from commit 40cb068ade46514f030e7098dacff6655b9d8e7c)