frameworks/base: media: add support for DIVX files

Change-Id: I27948bbbf908944e659bd9141986bc7724bf9af5
WebViewCore: Fix the issue of wrong zoom density when opening web pages with overview mode disabled.

On JellyBean browser, when pages opened
 with "open pages in overview" disabled and "Default zoom" option set to
 "Far" or "Close", the zoom density is not correct.

 The issue is caused by the wrong scale factor calculated when setup
 viewport. it is fixed to 1.5 in JB. whereas it should be different for
 different "Default zoom" setting.

 This Patch will fix this issue. it set the scale factor to the
 defaultzoomscale calculated considering zoom density. it also add
 adjust process to guarantee the zoom density is right after navigating
 page with specified viewport "target-densitydpi".

 Author: Zang Lin <lin.zang@intel.com>
 Signed-off-by: Jack Ren <jack.ren@intel.com>
 Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>

Change-Id: I68dd193457c40ce9eb73635297ce7bb61b373bac
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
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
Fix home key long press to work when assigned to recent app switcher.

Change-Id: Ibd16ff07b9910605c95180b54040f3e2b78939cb
Revert "frameworks/base: media: add support for DIVX files"

This reverts commit 1cf37fe908ebe5743726bdae43cdafc497c4f1a1.

Change-Id: I32d7378f469166bc63b3aaa5a1e3e31ae1ec812a
Merge "Revert "frameworks/base: media: add support for DIVX files"" into cm-10.2
Frameworks Base: Mock SMS (1/4)

This change brings the possibility of simulate the reception of SMS on real devices.
This change includes the setting and security permission.

Ported from http://review.cyanogenmod.org/#/c/23017

Patchset 2: Rebased

Change-Id: I535d5e69fbd9d612f7ed1a635032be7caefeda04
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
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
Fix rotation animation in expanded mode.

When expanded mode is enabled we never changing
value of mTopIsFullscreen but it should be updated so
selectRotationAnimationLw will choose correct animation.

Change-Id: I08906d4237696fe549b3799da38b58a0d56ac62c
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
MAP: Add support for Connection ID

This patch adds support for connection identifier used while
sending put requests to MNS.

Change-Id: I016940d2ca023fc7d2e3da1c63e338e1528be147
CRs-Fixed: 518395
Merge branch 'cm-10.2' of git://github.com/CyanogenMod/android_frameworks_base into cm-10.2

Conflicts:
	core/res/res/values/symbols.xml
	policy/src/com/android/internal/policy/impl/PhoneWindowManager.java