Merge commit 'android-4.3_r2.1' into merge_branch

* commit 'android-4.3_r2.1':
  ignore invlaid play position update from remote control client.
Bluetooth: Added a property to have the tethering setting persist

Added a property to have the tethering setting persist, so that
in the BT on/off the value can be restored and based on the value
tethering settings will be restored/altered.

Change-Id: I814641b2150377838d55378ff06b5cd80343b35f
CRs-fixed: 506194
Merge "Bluetooth: Added a property to have the tethering setting persist"
Merge "Merge commit 'android-4.3_r2.1' into merge_branch"
Bluetooth: Update the roam status.

This change makes sure that roam status
change is updated to headset immediately
instead of updating at network service state
changed.

CRs-Fixed: 503919
Change-Id: Ia5c68e2158241459f48a1718689361ad0cd6fbf8
Bluetooth: Fix to update mTetherOn with proper value.

As the mTetherOn indicates, whether bluetooth tethering
is on/off. So incoming pan(DUT as NAP Role) connection
is only accepted, if mTetherOn is set true. So mTetherOn
should be updated with proper value.

Change-Id: I31cfe4e3f3b7fd2ed1f970418f28286100d29514
CRs-fixed: 506194
Merge "Bluetooth: Fix to update mTetherOn with proper value."
Revert "Bluetooth: Fix to update mTetherOn with proper value."

This reverts commit 649ef29479c35ca92194868b4721c469b9142291.

Revert "Bluetooth: Added a property to have the tethering setting persist"

This reverts commit 205cd5db88e30bc8a7cfdfe959f58cf4e0d9c3c3.
This is is a combination of 2 commits.

Changed  the implementation via
Change-Id: Ifbe1bc4909d259e7e8e6e9801b28d974f38c5354
Bluetooth: Added  Shared Preferences to restore tethering setting

Added a Shared Preferences to have the tethering setting persist,
so that during the BT on/off the value can be restored and based
on the value tethering settings will be restored/altered.

CRs-fixed: 506194
Change-Id: I3fffbb78712f4177178531c6c202b786bfcd9d39
Bluetooth: set apk format as acceptable shareinbound types.

Adding apk format as a acceptable inbound types ,to be able
to receive these file formats from remote device.

Change-Id: I5175b634b88418b0d5c9baaedb84a48fe0d97357
CRs-fixed: 497427
Merge "Revert "Bluetooth: Fix to update mTetherOn with proper value.""
Merge "Bluetooth: set apk format as acceptable shareinbound types."
Merge "Bluetooth: Added  Shared Preferences to restore tethering setting"
Merge "Bluetooth: Update the roam status."
Merge branch 'jb_mr2' of git://codeaurora.org/platform/packages/apps/Bluetooth into cm-10.2
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2