summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/BluetoothAdapter.java
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2012-09-16 12:49:00 -0700
committerJeff Sharkey <jsharkey@android.com>2012-09-18 13:26:26 -0700
commit27bd34d9d9fe99f11b80aa0bbdb402fb47ef4158 (patch)
treeda11d791bc6171b079f6af207010279d807d81a8 /core/java/android/bluetooth/BluetoothAdapter.java
parenta4b0e5590dc303df68256254f732ef632e6912f3 (diff)
downloadframeworks_base-27bd34d9d9fe99f11b80aa0bbdb402fb47ef4158.zip
frameworks_base-27bd34d9d9fe99f11b80aa0bbdb402fb47ef4158.tar.gz
frameworks_base-27bd34d9d9fe99f11b80aa0bbdb402fb47ef4158.tar.bz2
Multi-user MTP.
The current MTP kernel driver at /dev/mtp_usb is exclusive, meaning only one process can have it open. In addition, each MTP session with a desktop requires unique object IDs, which doesn't hold true across users on the device. To solve these two issues, when switching users we cycle the USB host stack to disconnect both local and remote MTP connections, giving the new user's media process a chance to claim /dev/mtp_usb, and causing the desktop to initiate a new MTP session. This change also allows BroadcastReceivers to registerReceiver() allow retrieval of a current sticky broadcast. Adds a system property to override maximum users. Removes MOUNTED broadcasts for secondary users. Allows INTERACT_ACROSS_USERS to getCurrentUser(). Bug: 6925114 Change-Id: I02b4a1b535af95fb2142655887b6d15a8068d18a
Diffstat (limited to 'core/java/android/bluetooth/BluetoothAdapter.java')
0 files changed, 0 insertions, 0 deletions