MediaScanner behavior on boot (1/3)
Lets you enable/disable/ask (with a notification) media scanning on boot.
Can speed up boot and reduce initial boot lag from MediaScanner

Change-Id: I634ae96b1dcb493b966b4653589cd97523b63da7

Conflicts:

	core/java/android/provider/Settings.java
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
Fix appwidgets not updating

Previously there was a bug where if an appwidget's update caused a
TransactionTooLargeException then the AppWidgetServiceImpl.Host's
callbacks were completely disabled, for all widgets.

The fix still allows a DeadObjectException or other RemoteException
to disable the host callbacks, as that would be caused by a bad host.

Fixes issue 28216 on the public tracker
https://code.google.com/p/android/issues/detail?id=28216

Change-Id: I5c5d5939d7211ed23cca69e6674de730b51b0f3e
Signed-off-by: Kevin Barry <kevin@teslacoilsw.com>
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
Revert "Bluetooth: Add trust device feature."

This reverts commit 3aceba487c0de89d3051235e231db92454af4f66.

	modified:   core/java/android/bluetooth/BluetoothDevice.java
	modified:   core/java/android/bluetooth/IBluetooth.aidl
ListView Animations (1/2)

Change-Id: I5e72934c148daf3d3b36a5812f51d29c7fd98c94

Conflicts:
	core/java/android/provider/Settings.java
Port OnClick Fliptile animation.[1/2]

https://github.com/temasek/android_frameworks_base/commit/65115a5b859d7fd800175273a4c12b3e3ee9494c

credits to: TeamBAMF for the original work.

Change-Id: I27cfd3871e45b8265e16fe15e4f4c1e964a18688

MY NOTE: Optimized for PA ROMs

	modified:   core/java/android/provider/Settings.java
	new file:   packages/SystemUI/res/anim/flip_left.xml
	new file:   packages/SystemUI/res/anim/flip_right.xml
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/AirplaneModeTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/AutoRotateTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/BluetoothTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/DesktopModeTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/GPSTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/LteTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/MobileNetworkTypeTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/NfcTile.java
	modified:   packages/SystemUI/src/com/android/systemui/quicksettings/PreferencesTile.java
Notification long press fix
Allow theming of lockscreen

Change-Id: I10799482e0b393746b4c9818f94862109fac6006
Voice+: Missing Strings
Add PhoneWindowManager checks to NavBar KillTask runnable

This addresses the issue where binding NavBar kill app can cause a system crash by killing inappropriate system processes.

Change-Id: I48f4c9b48131ffc9d7efe6f4f58bcaecc0fea304

Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/ExtensibleKeyButtonView.java
fix

Change-Id: I02ebe3a21d3e31b9d245ef42dee684d1f473e5d3
Revert "Add PhoneWindowManager checks to NavBar KillTask runnable"

This reverts commit 442debd47018388c2e3831cd342f316a1293bd29.
Frameworks: speed up statubar/notification drawer

a lot user complain about slow statusbar pull down introduced
with jb 4.2....this speed it up

thanks to IceColdJelly

Change-Id: Iae108f5680b25ea995168a505a30e06bef0185d3
webkit: Manage video playing state properly when browser goes to background

Issue: Browser App Video streaming not pausing while pressing home Button

Fix : When the Browser goes to the background while the video is playing
      in the fullscreen, the fullscreen mode is exited. While exiting
      the full screen mode the video state is handled properly. So that
      there is no playback in the background.

CRs-Fixed: 509225

Change-Id: I32c306923d2638731d34d216cf006050ce4ad825
NFC Polling Mode (3/3)
Prevent nullPointerException by updateBondedBluetoothDevices

In some very rare cases difficult to identify, it seems that the
IBluetooth.getBondedDevices() returns a Set with a null element.

This patch will prevent calling getBondState() if the device is null to
avoid a nullPointerException.

Change-Id: I9bcad60c37e03c77ec39227e5c947c002a3ae2c7
Orig-Change-Id: I8845f0e6b8fdcda679bc71e2b5c33fd4a52f3ac5
Signed-off-by: Patrick Combes <patrick.combes@intel.com>
Reviewed-on: http://android.intel.com:8080/116592
Reviewed-by: Bondier, CedricX <cedricx.bondier@intel.com>
Reviewed-by: Chen, HuaqiangX <huaqiangx.chen@intel.com>
Reviewed-by: Yao, Yong <yong.yao@intel.com>
Reviewed-by: Aquilone, RaffaeleX <raffaelex.aquilone@intel.com>
Tested-by: Lestienne, ChristopheX <christophex.lestienne@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 90085
Wake On Plug (1/2)

Change-Id: I1345161fa6bb31743ed3881f68d5ba282794aab7
Fix

Change-Id: I788581ae6519ecb69aba7e9e393e5f861db80438
Revert "Wake On Plug (1/2)"

This reverts commit f904308113864e5f6eead1d08f2b0711ea1b5ff7.