summaryrefslogtreecommitdiff
path: root/media/java/android/mtp/MtpClient.java
AgeCommit message (Collapse)Author
2011-03-11Remove MtpClient class from framework and public APIMike Lockwood
After reviewing this class I decided it would be best not to include it in the public API since it adds no functionality that cannot be done using MtpDevice and other APIs directly. So I am moving it to the CameraBrowser sample instead. Also changed CameraBrowser to build against the SDK to ensure all the necessary APIs for PTP support have been made public. Bug: 4067029 Change-Id: I585b06104084953176d018ced08bba0cb4607490 Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-11UsbDevice: Move IO related methods to new UsbDeviceConnection classMike Lockwood
UsbDevice is now just an immutable parcelable object like UsbInterface and UsbEndpoint. All IO related functionality is now contained in UsbDeviceConnection and UsbRequest. Bug: 4067029 Change-Id: Ia84da0b512a697acc940eee0c3566711c62e1a68 Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-08USB: Add API and dialog for apps to request permissions for USB devices and ↵Mike Lockwood
accessories New APIs: UsbManager.hasPermission returns true if the caller has permission for the given device or accessory UsbManager.requestPermission poses a dialog to allow the user to give the caller permission for the device or accessory. Result is returned via a PendingIntent. No dialog is displayed if the caller already has permission. Also moved UsbResolverActivity to SystemUI package BUG: 4069037 Change-Id: I93be769501a8776b49ac26e468af19f8fa2114c9
2011-03-07MtpClient: Fix problem with getDeviceList() returning empty result in some casesMike Lockwood
BUG: 3503128 Change-Id: I2263437d6018848e316ae4096eb07305fc4dc486 Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-02MtpClient: remove finalize override to avoid multiple calls to ↵Mike Lockwood
unregisterReceiver BUG: 3497801 Change-Id: I4ed0166efcc509a18361287c5816bc4844089025 Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-03-01Move USB framework support from android.hardware to android.hardware.usb packageMike Lockwood
Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-23UsbManager: Remove redundant Intent extras from USB device and accessory ↵Mike Lockwood
broadcasts These extras are also accessable via the UsbDevice and UsbAccessory classes, which are also included as extras. Since you can't filter Intents based on extras there is no point in duplicating this information as separate extras. Change-Id: I4c8d1e70d66023a1800b3f8f06118898da6b37af Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-02-11Add MTP/PTP host support to the public APIMike Lockwood
Needed for unbundling the Gallery app Change-Id: I57e6b76ee5c9e57cb8c055329ac13251879baafd Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-22New APIs for MTP and PTP host supportMike Lockwood
This replaces the previous ContentProvider based interface Change-Id: I4cea2544854adb9fdcc04345e4d73d8ef05380f3 Signed-off-by: Mike Lockwood <lockwood@android.com>