base: fix enable/disable of notification light

http://jira.omnirom.org/browse/OMNI-86

Change-Id: I1a252c2553462302e416517288bb944de1558956
Make ImageView drawable update more efficient in some cases.

When updating the view's drawable via setImageResource or setImageURI,
make sure to skip the layout pass if the old and new drawable have equal
sizes. This follows what is already done for setDrawable().

Change-Id: If73d225e38d0a2f7c616c4aeb33f67bdaed390f1
Avoid layout passes when updating data activity indicators.

ImageView can optimize out layout passes if old and new drawable have
equal sizes. Take advantage of that by displaying a transparent drawable
with the same size as the in/out drawables when there's no activity
instead of clearing out the drawable in that case.

Change-Id: Iaaa556ffab3ed4be1da8016ed40d0a9c2efcde01
[1/2] base: added config for menu unlock

Allow to define if menu unlock is enabled or not

Change-Id: Ibe498f5b6fc956678f426c9fdc9db28a0c483429
Base: Toggle Stylus Pointer Icon

For devices with s-pen, this adds an option to disable
the mouse pointer when using s-pen

Change-Id: Ic66390f8a9607cdaa2087f1fd8f502794592eb0f
Frameworks-base: FR translation

Change-Id: I128c5eda5da211d6f28460253b8f99ff1d372789
Merge "[1/2] base: added config for menu unlock" into android-4.4
Merge "Base: Toggle Stylus Pointer Icon" into android-4.4
Parse UUID string with Long.parseLong

Integer.parseInt throws an NPE for values greater than 0x7fffffff.

Change-Id: I4a67c96e1fcdb68b22447f98bc898638c8c317a0
base: add hide attribute for omni changes

Change-Id: Ic23ce6d3249338f8a8436e6645efcca8b69b56f6
base: added national roaming info for Play in Poland

http://jira.omnirom.org/browse/OMNI-105

Users of Play in Poland (MCC 260 MNC 06) can roam on
Plus, T-Mobile, Orange (MNCs 01/02/03)

Change-Id: I8ea62b0ca40bac9ced11802ee8ef583d6392a199
[1/2] Base: Fix pimp up ActiveDisplay

This is a fix for the new features added with change: https://gerrit.omnirom.org/#/c/2819/

1. Fix the bug when Pocket mode is set to Notifications only and you
unlock your device with power key and if you put your hands over
proximity sensor the device will turn off (very annoying). The problem
was that mWakedByPocketMode it was put in wrong place.

2. Added an option in active display settings for "turn off display if
device gets pocketed again" (it's annoying for me, because i cover
the proximity very often).

3. Added an option in active display settings for proximity threshold.
I use this active display feature as an replacement for "sweep2wake",
and when my phone it's on the table, i just want to pass my hand over
it to show me the clock or notification (this was ok before the pimp up
commit), and now, you can choose how many seconds for proximity
threshold.

Practicaly, this commit fix one bug, and add settings for the
features added in 'pimp up' commit.

[2/2] part: https://gerrit.omnirom.org/#/c/3381/

Change-Id: I9e49ddb89002699714dcc3b3d2b1df87dc4bab4b
Merge "base: add hide attribute for omni changes" into android-4.4
Merge "base: added national roaming info for Play in Poland" into android-4.4
Remove dependency on jniGetNonMovableArrayElements.

jniGetNonMovableArrayElements is not safe and is going to be deleted.

Change-Id: I6daae1e4ac9e01ca593cda522fdbeb774eef1eff
(cherry picked from commit 75a5038849cecf38aba72721272ff07cca09501f)
Merge "base: fix enable/disable of notification light" into android-4.4
frameworks/base: Fix USB media removed notification to be dismissable

Cleanly removing a USB media after unmounting leaves a permanent notification.
This fix makes it dismissable.

Change-Id: Ib6fb77f9ebfb15a60c5c29d10d3090feebc881df
Revert "Keyguard: Use translucent UI"

This isn't the correct implementation. We should be enabling transparency in the status bar and navigation bar through: <bool name="config_enableLockScreenTranslucentDecor">true</bool> in frameworks-res.

This MIGHT also be the cause for transparency to not be working properly sometimes upon wake, but not sure about that yet.

This reverts commit 81ead53ff75deb3ee7e3ff186c8eff835bf0d2ea.

Change-Id: I66f88cc02cae05bc7ae6198ad740c86cd466e76a
Merge "Revert "Keyguard: Use translucent UI"" into android-4.4
Merge "Frameworks-base: FR translation" into android-4.4