Utils : Fix tablet orientation logic

Tablets have orientations for portrait reversed, this commit addresses it.
Add in a few more orientation-aware safety checks to circumvent certain devices
whose default orientation does not match their device type.

Change-Id: Idc627e687ca61ab29f08433664bf77148424bd6d
Settings: IT translations

Change-Id: I898540a256e123a0077dee8d121e3a6f1b2936c1
Settings: ES translations

- Electron Bean animation
- Add NFC translation
- Reorganize some strings same as default

Change-Id: Ib5b1de46bcd40182700dad50ff0c97b44418a209
Merge branch 'cm-10.1' into martincz
Settings - add an AlertDialog before to delete APN to avoid fails

patch 1: fix blank space
patch 2: remove FR translation and change NegativeButton string
patch 3: improve the NegativeButton (thank you, David)
patch 4: remove create()

Change-Id: I3361d4160a7e1c4eaee094f08c7d212f71e9e0e7
Settings: merge CyanogenMod

Change-Id: I86762aebc097ab45c5ab5bee28906b890e6d5026
HALO: support (1/2)

Change-Id: I36635206a4df81ba021aa807fde218f7c6e35710

halo fix

Change-Id: I1988efc54e22815c8ad2820f97f3925d46bbe37f

fix null point

Change-Id: Ia2e95835ccf2f61d8f08d2cd4fc651bf4a5a54b7
Settings: update push

Change-Id: Ib26add8e49d852cd826493d4fdab4f57f5bb7069
inaccurate proximity support (1/2)

Change-Id: I197ba76cf8d9eae7b80890044b562b711b3607cc
[1/2] Permit home button wake to be configurable

To activate, enable bool config_show_homeWake in
device overlay/packages/apps/Settings/res/values

Change-Id: I00afe89ba5bf36d74b93a40b9d15eef2e805611f
Settings: merge CyanogenMod

Change-Id: I485c0dbbc8e03f46a8f0ae87618262d2bc18cda8
Settings: Simplified Chinese Translations

Change-Id: Id49a174aae7c9b75aad011099753eac31a07ca92
Signed-off-by: martincz <martincz@mokeetek.com>
HALO: Option to pause the underlying app (2/2)

- adds an option to pause the active app when using HALO
- this is enabled by default for devices with low memory
- (currently: <640MB RAM available to the kernel)

Change-Id: Id9ec776444e2d10196fb8d5cee620e7c303265e1
Settings: Simplified Chinese Translations

Change-Id: I2a63177569ec86b0a0cf69dd87d8570842ae208c
Fix up remove Wakeup preferences

Follow the bug fix addressed in http://review.cyanogenmod.org/#/c/43544/

This fix the issue both Home key wake and Volume rocker wake preferences will be displayed
if either of them activated in device config.

If both of them are not activated it looks fine because eventually Wakeup category
itself removed,though.

Change-Id: I28b7b45d209c3beb9559ed9e7b89612bf8df8bab
Settings: merge CyanogenMod

Change-Id: I3ccc97bfb2e3a26e66e31b4c72d6890ccb5a2f27
Settings: merge bug fix

Change-Id: I22cd789e82dc8e996a00553362762a4314ecc504
Merge pull request #1 from MoKee/jb-mr1_mkt

Jb mr1 mkt