Bluetooth: Add trust device feature.

Add set trust feature where the remote device is marked
as a trusted device for subsequent connection.

CRs-fixed: 523135

Change-Id: I9bde4d7dfe07d9d63b58a661ed2413f45501bd7b
Irda: Add Irda System Service

This is not a perfect solution yet, but it does work and should therefore be a starting point.
It needs work to be functional on devices other than the Galaxy S4

* The Irda service is not started by default. It can be enabled via overlay.
* Uses a HAL module to communicate with sysfs

Change-Id: If0c4b2e59144b1f199c44add399a3f528ac11e5b

Conflicts:
	core/java/android/app/ContextImpl.java
	core/res/res/values/symbols.xml
	services/java/com/android/server/SystemServer.java
Merge "Bluetooth: Add trust device feature." into jb4.3
Fix for framework reboot on format of SD card

MountService is not aware of /storage/emulated/legacy path which is
causing the issue on ExternalStorageFormatter service. We are getting
the a list of non-emulated SD cards and format the first one .

Change-Id: Iba1a9f6e40499f7f6fb095a5ee4e711b02bed439
CRs-fixed: 489037
Bluetooth: HID: Add support for Set Idle and Get Idle Commands

This patch provides an interface for application to send Set Idle
and Get Idle commands to remote HID Device. Support for these
two commands was missing from exisitng code, so existing code
design is reused to add support for these two commands.

Change-Id: I548362cc328498920b2dae740f1a76b2cc2d6a67
CRs-Fixed: 522511
Keyguard: Set WIDGET_CATEGORY_KEYGUARD when AppWidgetHostView is created

Allows the default lockscreen widget to inherit the keyguard widget
host category.  Without this, only widgets added through
KeyguardActivityLauncher are assigned the correct
OPTION_APPWIDGET_HOST_CATEGORY.

Change-Id: Ic97818d85ca5f00da0ce43bb36006d66a6935363
Hide new non-standard APIs and permission

These were breaking builds due to the public API modification

Change-Id: I603fcf0601f40fb315086859aa03ef5b7ec39248

Conflicts:
	core/res/AndroidManifest.xml
Wipe and re-create database on downgrade.

Not a very common situation but should fix some errors that could
 arise from flashing an old ROM over a new one, without wiping data.

Change-Id: I27f2a00396761105987830921bb3f8cb339d2171
Framweworks: add filter method for supported phone features

which will be later used for any settings arrays which need to be
filtered out.

Change-Id: Ifc941a8e0834526b1fa95843beee2c6eafe2e120
Translating frameworks core to Russian

Translating also commit I00ebf30c75aa1b2980c2e41ce1464ee5b63e6f83

Removing whitespaces

Strings moved to appropriate files

Translated commit Iba1a9f6e40499f7f6fb095a5ee4e711b02bed439, removed whitespaces

Removed unnecessary line

Change-Id: I479d880702eadc456d3d0e0344a2c25e3b6d3a72
Merge "Translating frameworks core to Russian" into jb4.3
Frameworks: add torch to SlimActions

can't sleep so will do the easy things on the todo list lol

Change-Id: I3aef8f2133350b87a78707b9392123947425f8e5
Framewors: center keyguard shortcuts as well when only 1 or 2 shortcuts are set

Change-Id: I2a7e8afc1a86777c6f8d612abda5c453b6d69be0
Translating frameworks SystemUI to Russian

Strings moved to necessary files

Fixed string duplicating

Fixed one more duplicating

And one more duplicating

AOSP strings file was accidentally misplaced, restoring the correct one with translations

Change-Id: I14612139caf8f47e1722d7d92125cd3e43ef2129
Frameworks: fix defaulte transparency value

Change-Id: I32fec3cc87990574b6a46aa4c3367a4a3f330c4e
Merge "Translating frameworks SystemUI to Russian" into jb4.3
Merge remote-tracking branch 'Slim/jb4.3' into slim4.3