Croatian v34 update

	modified:   res/values-hr/cr_strings.xml

(cherry picked from commit c1e669e174702489d5fbafad731b2dc02525438f)

Conflicts:
	res/values-hr/cr_strings.xml
Update RU translation to v.34

(cherry picked from commit 74775a0028c2b27172af1150b0d033cbe66bbf03)
Settings: Port IME selector notification toggle

framework changes already present

Change-Id: I8c1dc5874accc6d1340dc46a58867d97f708aeb7
(cherry picked from commit 51819bd00aa60dd301b5d92f35cbd5210fc5f537)
Settings: HU translation

Change-Id: I9fbee28d64606b712cb86dc701ad92711605592c
(cherry picked from commit 86a7d6977fab53cd15efa9d0d0ae5f1ac4f8df38)
Merge "Settings: NL translation" into cm-11.0

(cherry picked from commit 0032de1b3ee4892d966301503b5a4f0ebfa8f695)

Conflicts:
	res/values/cm_strings.xml
Lockscreen: See through (2/2)

Add the ability to see through lockscreen.
Adapted to kitkat from jellybean by @BigBrother1984

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

PS2:

* Indenting and fix of the LOCKSCREEN_SEE_THROUGH variable check.

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

PS3:

* Add see through checkbox to security_settings_chooser.xml, reflects the security_settings_lockscreen.xml.

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

PS4:

* Made the option available with every lock mode (PIN, Password etc.) cause it works with every mode now.
* Update description with better one.

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

PS5:

* Make description more like aosp strings.

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

Change-Id: Ife993ffe0833be98fe582146fc071f339445bbc5

Conflicts:

	res/values/pa_strings.xml
	res/xml/security_settings_biometric_weak.xml
	res/xml/security_settings_chooser.xml
	res/xml/security_settings_password.xml
	res/xml/security_settings_pattern.xml
	res/xml/security_settings_pin.xml
	src/com/android/settings/SecuritySettings.java

(cherry picked from commit ce15538f4d6fd05aaf9fffb609f40b184f04bc43)
Lockscreen Blur (2/2)

(cherry picked from commit a8a4d61d42a71d4fb4625908889c5568c3857877)
Statusbar clock font style (2/2)

(cherry picked from commit 455637114880fbe33a347dfda615e8c7c8ed0ead)
Clock Font: Adding more styles

(cherry picked from commit 9501fea7695b7774165aac91e91737a4be1f97fa)
Lockscreen Notifications [2/2]

- Enable/disable lockscreen notifs
- Pocket mode
- Show always
- Hide Low Priority
- Hide Non Clearable
- Allow dismissing non clearable notifications
- Eenable/disable expanded notifications
- Force expanded view

Change-Id: I74e346807d49a8b8002c8e70e45e81242ea1d695

Lockscreen Notifications: wake on notification

Change-Id: I62be48d522f7f22786c796619cbd8f94dcd014e5

Lockscreen Notifications: make notification count user configurable

Change-Id: Ief5238f6eaa525788b6c29806d2d1ee210ee346a

Lockscreen Notifications: disable notification count when notfifs are disabled

Lockscreen Notifications: check for proximity sensor

Lockscreen Notifications: make offset top user configurable & add privacy mode [2/2]

Change-Id: I806de98e2a65e8bd13177e6d486df3d3a8085fbc

Change-Id: I74e346807d49a8b8002c8e70e45e81242ea1d695
(cherry picked from commit a98d6ec3d1968f3ca0b8c81400a0904cfa6209d3)

Conflicts:
	res/xml/screen_and_animations.xml
[2/2] Settings: Lockscreen notifications: Allow apps to be excluded f…
…rom being displayed

Credits to 0xD34D / ChameleonOS for the original implementation for Active Display

Change-Id: I5153748bb7d8f6cc0a255628c4df5697d5a64939
(cherry picked from commit 5548c23914bb2856a0f93a2fa9df6980c43e3f2d)
Fix clock font style default setting

(cherry picked from commit 9542fba32ccf700bc0d0d2a32744d3fadf8b5d4b)
Merge "Make Privacy Guard a first class citizen in the Settings app." into cm-11.0
(cherry picked from commit 5b56a77254877390943afe705dd907872a01ca80)
LockScreen: allow long-press actions from hardware keys (2/2)

Allow following actions with button long-presses on lockscreen:
- toggle flashlight (if available)
- play/pause/next/previous track selection
- toggle silent mode

Allow customizing of back, menu, and home buttons. Search
button events are completely ignored on the lockscreen.

Auto-detect hardware keys, only show appropriate menu
options based on the actual hardware keys available on the
device (or completely hide if there are no hardware keys).

Based largely on Danny Baumann's work from gingerbread.

Ported from CM10
Change-Id: I36ea5eb7e93d68de872536dc6d7e93f99ba1621f

Keyguard: Fix for home wake/unlock
sometimes device is waking and unlocking during the same keypress.
Change-Id: I72ea7611d39aac0cd03dfd5aa7036aeef7600140

Use sticky broadcast to convey torch state (1/2).
It doesn't really make sense to store the (non-persistent) state of the
torch in a (persistent) setting. As the torch is sending a broadcast
anyway, make that broadcast sticky and use it to convey the state.

Also unify the torch constants (actions, extras, activity names) at a
common place.
Change-Id: If845bef27cc79990794aa748dce18cfea3bac1f5

Fix Home/Menu/Back keys' unlock
Change-Id: Ibd3842b6ad8e037a2a9f8eb581e7c55900017b0f

LockScreen: allow hardware key longpress to put device to sleep
Change-Id: I54260e21c462bcabd9b6383e22f44d644630b4d3

settings: Deprecate has_led_flash, move to framework.
 * We need this to configure default tiles in SystemUI so move it.
 * Leave the old one in place so we don't kill every device.
Change-Id: I883f9595f74ab52c8c8152e0105400aaefff4afe

LockScreen: allow hardware key longpress to put device to sleep

Change-Id: I251e72cda94f88de3715d818ba62e796e3b2ccd0
(cherry picked from commit f1a134a70b2e49844687e9e56e538df84f85f73e)

Conflicts:
	res/values/cm_strings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Camera button support (2/2)

Add new bitmask for Camera button and options to rebind
its functionality.
Change-Id: I803d3b99adcdd6f2d9de15091709fc8c783ed5de

Add missing variables for camera button handling
Change-Id: I40abd4344800e8cf61285923cc1fac9ba39d652c

Camera button support: fix FC
Fixed a typo in xml which caused Settings FC.
Change-Id: I0c01d03cc8effde9d8422e091a7389dcbb59ffa5

Camera button support: fix another ^C^V fail
Yes, that was merged way too fast...
Change-Id: I88243887446876de39e79020e6d8fecc6351bdde

Camera button support: useful features & bugfixes (2/2)
Screw the remapping, let's make something more useful!
Replaced the code to actually launch Camera app, not just fire the shutter.
I won't remove it: it's cool to have an option to double-click Home for Camera.
Added:
  * Camera wake (with button half-press) and unlock options
  * "Peek": releasing the half-pressed Camera button will
    turn the screen back off
  * Camera playback control

Change-Id: I711fe6b1a8d304b3d0ba9682a8757605992e1bde
(cherry picked from commit c933e9205f5bef528ee09433a078cd8e626d9424)

Conflicts:
	src/com/android/settings/cyanogenmod/ButtonSettings.java
Remove 'Allow custom buttons' checkbox (2/2)

Let hardware buttons be rebound by default.

Change-Id: If19fb357cf9dcea419bea6242f4fc1f388916e4d
(cherry picked from commit 45a662d0b29f02f3695cc75e3df25e3e38546a54)
Settings: Add option to always show battery status on lockscreen (2/2)

Based on the feature by burnsra in CM7
Authored by blunden
Tweaked by dvtonder
Change-Id: I1c8c8eef3d0c913c621f735e7d5e395c8768fe76

lockscreen battery status: add off option (1/2)
Change-Id: I06dd1b81826bdb1c1e35b72d99970f97dcad1a34

(cherry picked from commit e38e104a65dc1a008e3b1e948a4e62a5a3060f66)

Conflicts:
	res/values/cm_arrays.xml
	res/values/cm_strings.xml
	res/xml/lockscreen_interface_settings.xml
	src/com/android/settings/cyanogenmod/LockscreenInterface.java
Settings: Pimp up Notification Labels Hide [1/2]

This adds fine grain priorities to hide the labels in the notification
drawer in the following ways:

- Show all Labels
- Hide Carrier Label
- Hide WiFI Lable
- Hide all Labels

PS:
- rebase

Change-Id: I7ca279575b7a26fb87d2e966160d895e169d6e92

Conflicts:

	res/values-es/slim_strings.xml
	res/values-hu/slim_strings.xml
	res/values-ru/slim_strings.xml
	res/values/cr_arrays.xml
	res/values/cr_strings.xml

(cherry picked from commit 84631f7bdbd00f5baf82755dae28e82b1edee540)

Conflicts:
	res/values/cr_arrays.xml
Settings: fix NPE with null check on NFC adapter

Verifies the adapter is not null before dereferencing it and log and error if so

PS:
- fix codestyle and rebase

Change-Id: Id2a34c4698a97476bee9b78cb0ac7b980d1595cf
(cherry picked from commit b5af3136908e8d0058a07b75b9c72976bd96bda0)
Settings: Fix Bug Tile Size (1/1)

As reported very well by
	user Natakranta:

http://forum.xda-developers.com/showthread.php?p=49457919#post49457919

Layout files will take care of scaling down in this case.

Change-Id: Id80d1003c9e569ed9c4e2eca2c6c164473918590
(cherry picked from commit e86033876b0e21e8555ada6301ce933c103153bc)