42a386b7717300bf6d75cbd3b4f7ad00f294be0d |
|
07-Nov-2016 |
Christopher Tate <ctate@google.com> |
Enable background restrictions Apps that target O+ are always subject to background restrictions. Legacy apps' background restriction is subject to the OP_RUN_IN_BACKGROUND app op. Apps with these properties are exempted from background restrictions: - persistent process - currently on the idle battery whitelist - global whitelist for things like bluetooth services Bug 30953212 Change-Id: Icc19b2fbc05f40dcf8c3fc4abf718c373dc8d4f6
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
9e83cbbc10014b3ed560b3181f594868cd89f9ae |
|
19-Jan-2017 |
Chris Tate <ctate@android.com> |
Revert "Enable background restrictions" This reverts commit 21f778060badb1e78bffde05e8de7662d275003d. Change-Id: I65586f9739da84fb32b51b0ea166b8288c41d1b3
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
21f778060badb1e78bffde05e8de7662d275003d |
|
07-Nov-2016 |
Christopher Tate <ctate@google.com> |
Enable background restrictions Apps that target O+ are always subject to background restrictions. Legacy apps' background restriction is subject to the OP_RUN_IN_BACKGROUND app op. Apps with these properties are exempted from background restrictions: - persistent process - currently on the idle battery whitelist - global whitelist for things like bluetooth services Bug 30953212 Change-Id: Ib444829a2d222125f64ff19e8218823fa78373f9
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
880389e6cc8044f751dd8569f2172ca61eaf2cd3 |
|
10-Oct-2016 |
Philip P. Moltmann <moltmann@google.com> |
Clear USB device defaults when user is removed If a user is removed it is either the parent user of the profile or a child user. If the parent is removed the whole profile group settings are removed, but if only a child user is removed we have to remove the user settings from the groups settings. Test: Registered a USB device default for a child and parent user and removed them. Checked dumpsys usb before and after Fixes: 31995672 Change-Id: I984cd294dc01437b042687684c058eb79332f520
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
a6bf206649b24cabcf1348219e1b00f38214e06a |
|
10-Sep-2016 |
Philip P. Moltmann <moltmann@google.com> |
Make default USB handling apps per profile group. If a USB device is plugged in a default app might be started. As the user does not indicate which profile he is interested in by pluggin in a USB device, all handling of this operation has to be per default group. To do this Split UsbUserSettingsManager into UsbUserSettingsManager and UsbProfileGroupSettingsManager and modify UsbProfileGroupSettingsManager. Bug: 29233186 Change-Id: I8e56b621eeb802966504360d372a8a0140106114
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
031cee90a350b7be93ef939630b277cfb28c171b |
|
07-Sep-2016 |
Philip P. Moltmann <moltmann@google.com> |
Allow connection from secondary profiles ... and send device-attached broadcasts to all apps instead of just the current user. Note: Usb*Manager.open* needs to be called with the identity of the app. Bug: 29233186 Change-Id: I225c47bdb409eee1c8fe0499d600fded470aa101
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
badbbae6fa2846415778b2a152a0758acbf0eb74 |
|
05-Jan-2016 |
Keun-young Park <keunyoung@google.com> |
allow external USB host management - Setting config_UsbDeviceConnectionHandling_component leads into launching specified Activity whenever USB device is connected. - This allows external Activity to manage USB device based on its own setup and settings. - Device access can be passed to other app with permission update by UsbManager.grantPermission. - added UsbDeviceConnection.resetDevice() to reset USB device connected. This is necessary to get device out from AOAP. - Test requires installing UsbHostExternalManagmentTestApp and AoapTestHost to USB host, and AoapTestDevice to USB Device. bug: 26404209 Change-Id: I8e77ddc646c15454d9b2ecf1356924cf6351fc28
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
f8a0c8536e36578152f25635738dd6313aa09285 |
|
08-Mar-2016 |
Daichi Hirono <hirono@google.com> |
Skip MTP launch notification for devices having FEATURE_AUTOMOTIVE. BUG=27410621 Change-Id: I1fd2ad663d8e5c5507a8e5e93aafea9d4188ed02
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
163e4b6ae8a51421c8a9cccfdc2fe872afd09971 |
|
18-Jan-2016 |
Daichi Hirono <hirono@google.com> |
Add launch notification for MTP devices. The CL adds launch notification that are shown after MTP/PTP device is connected to Android device. By tapping the notification, Users can launch an applicaiton that can handle USB_DEVICE_ATTACHED intent of MTP device. BUG=26611224 Change-Id: I6fd179ccd436531dfff6ff9a50dc2b754c20f190
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
4751880a4d770e8916320b5908b58f389d6552de |
|
08-Dec-2015 |
Daichi Hirono <hirono@google.com> |
Grant USB device permission by using system permission. Previously it skips the device permission check by referring package name. The CL removes the special case and use general MANAGE_USB system-only permission to skip USB device permission dialog. BUG=26048722 Change-Id: I3702393a50696209499d1e5f6549dab9fb2cefe4
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
bc0a94055c77b6739ffa908aae9189fdeadb83f4 |
|
03-Dec-2015 |
Daichi Hirono <hirono@google.com> |
Grant USB device permission for android.media UID always. The UID is used by MtpDocumentsProvider that is a system component and needs to access MTP devices. BUG=25983848 Change-Id: Iaa20a849cb9e7a86bde6c5bf8abbb15e65ced6c3
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
e4de5a0d3b6e0c897c1cea0912b58e11db962365 |
|
23-Sep-2015 |
Xiaohui Chen <xiaohuic@google.com> |
Cleanup OWNER references. Bug: 19913735 Change-Id: I2150c6baaab80fe11312e4401394a2a8da52e595
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
2dbccc1926ea2d3e27c5cfd2d61d2b3d5ed787c0 |
|
07-Jul-2015 |
Jeff Brown <jeffbrown@google.com> |
Clean up USB Manager dump. Tidy up the dump() implementation in preparation for further work. Bug: 21615151 Change-Id: If6d94c8dc9457b8e93103541ec1798981eeb5b54
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
9e9e2e73c6ec7bece20268196dc89ad0c8bafad4 |
|
08-May-2015 |
Wojciech Staszkiewicz <staszkiewicz@google.com> |
Pass charset to XmlPullParser.setInput instead of null Passing null to XmlPullParser.setInput forces it to do additional work, which can be easily avoided if we know the charset beforehand. bug: b/20849543 Change-Id: Iaff97be9df2d0f99d7af8f19f65934439c9658e2
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac |
|
28-Feb-2015 |
John Spurlock <jspurlock@google.com> |
Remove unused imports in frameworks/base. Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
e97b62ed0d4050acacbf54781435686ea28edd73 |
|
13-Mar-2014 |
Mike Lockwood <lockwood@google.com> |
USB: Add support for disabling USB permission dialogs. Setting scom.android.internal.R.bool.config_disableUsbPermissionDialogs to true will disable all USB permission dialogs, allowing apps access to USB devices and accessories by default. For prototyping purposes only. This should not be used in real devices. Bug: 13437578 Change-Id: Ie7bf83882943930b15e5f1edb3044a4a52034273
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|
2cb6c60c0d2de3bc743c043aca963db6fe52662f |
|
15-Feb-2014 |
Adam Lesinski <adamlesinski@google.com> |
Make UsbService optional Tweaked the services Android.mk to build dependencies when building with mm[m]. Change-Id: I6dad511c652bcacc085f27ede5f8f22a6982c6bd
/frameworks/base/services/usb/java/com/android/server/usb/UsbSettingsManager.java
|