209bede6b9edb9171e5bee4077b48e35004a37b4 |
17-Jul-2013 |
John Spurlock <jspurlock@google.com> |
Remove trailing whitespace from system ui. Baseline existing .java files, no excuses going forward. Change-Id: I4bd0f25bbda6f2ec832e34ef5c70d4830bf07f99
torageNotification.java
sbStorageActivity.java
|
3e309b2edc99cced870916a7a0fa0d27578cad6d |
25-Jun-2013 |
John Spurlock <jspurlock@google.com> |
Decouple storage notification from status bar. Hoist the usb storage notification listener to a top-level system ui service, not dependent on a status bar implementation. Change-Id: Ic9e7fba1e5bfd758d72226f6d796c2f04f6b17e6
torageNotification.java
|
de84f0e77ea2bf713d15c290264059a413c2486a |
12-Jun-2013 |
John Spurlock <jspurlock@google.com> |
Organize the imports in systemui. To follow android conventions, more importantly to remove the unused. Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
sbAccessoryUriActivity.java
sbDebuggingActivity.java
sbPermissionActivity.java
sbStorageActivity.java
|
cd686b5b6d4166b510df8e32138479a9559bc117 |
05-Jun-2013 |
John Spurlock <jspurlock@google.com> |
Migrate systemui Slog calls to Log Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
torageNotification.java
|
29a4b7277eeadcf7ebdfae73da1e9acf0d371903 |
18-Apr-2013 |
Benoit Goby <benoit@android.com> |
Fix UsbDebuggingActivity not shown in adb tcpip mode Bug: 8646772 Change-Id: If34c756bece903a0a452070bbc94ebc71d325bf6
sbDebuggingActivity.java
|
40e9f2922cae76ffcbc521481e5be8e80e8744ef |
28-Nov-2012 |
Dianne Hackborn <hackbod@google.com> |
Quiet down a lot of logging. Also fix a little problem where the USER_STARTED broadcasts were not being sent as ordered broadcasts(!). Change-Id: I3aa3e0a9b3900967cdd2d115ee103371b0a50c41
torageNotification.java
|
fc3f24b4b60c10e0d3f41f70df37e11ea311cc2c |
02-Oct-2012 |
Jeff Sharkey <jsharkey@android.com> |
Make USB services multi-user aware. USB settings are now isolated per-user, since they revolve around installed packages. User-specific settings are returned based on calling user, or referenced by UserHandle passed to SystemUI. Each settings Context is wrapped as a specific user, so all broadcasts are sent correctly. Upgrades any existing USB settings to OWNER. Physical events, like new devices, are routed to the currently active user. Switch to using AtomicFile when persisting settings. Bug: 7244888 Change-Id: I8a723ad3d55ac1bff99276c5f3a3f5e8f013432f
sbAccessoryUriActivity.java
sbConfirmActivity.java
sbPermissionActivity.java
sbResolverActivity.java
|
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 |
26-Sep-2012 |
Jeff Brown <jeffbrown@google.com> |
Update references to migrated global settings. Fixed one setting that was migrated but not marked deprecated. Removed a hidden setting that is no longer used by the new power manager service. Bug: 7231172 Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
torageNotification.java
|
50cdf7c3069eb2cf82acbad73c322b7a5f3af4b1 |
24-Sep-2012 |
Dianne Hackborn <hackbod@google.com> |
Fix issue #7214090: Need to be able to post notifications to all users Also fix a bunch of system services that should be doing this. And while doing that, found I needed to fix PendingIntent to evaluate USER_CURRENT at the point of sending, not creation. Note that this may end up with us having some notification shown to non-primary users that lead to settings UI that should only be for the primary user (such as the vpn notification). I'm not sure what to do about this, maybe we need a different UI to come up there or something, but showing the actual notification for those users at least seems less broken than not telling them at all. Change-Id: Iffc51e2d7c847e3d05064d292ab93937646a1ab7
torageNotification.java
|
4e68bd420b6cfdbeadb5e69aa6448665b2da762b |
26-Apr-2012 |
Benoit Goby <benoit@android.com> |
Add UsbDebuggingManager and UsbDebuggingActivity The UsbDebuggingManager listens to adbd requests and displays a dialog when the public key authentification fails, for the user to confirm if it wants to allow USB debugging from the attached host. If the user chooses to always allow USB debugging, the UsbDebuggingManager writes the public key to adbd's config file so that the public key authenfication succeeds next time. Change-Id: I115c828331d8e326c380844ee33915d5dff22260
sbDebuggingActivity.java
|
c992087d09363d61f68af2f24342003b97ba48be |
18-Nov-2011 |
Adam Powell <adamp@google.com> |
Fix bug 5614962 - Constant spinning wheel in USB Mass Storage screen (UX) Disable the window-level progress spinner; another is already shown while connecting. Use the correct Settings icon for SystemUI. Specify the activity title for the USB mass storage screen in the manifest to avoid title flashing during startup. Change-Id: Ic57af56bf1661a5eaa91fff77471dc8447340d16
sbStorageActivity.java
|
3ac588b09af2a7c4fb91d05ad230779dbd214166 |
30-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
Revert "USB connected notification and temporary USB options dialog" This reverts commit 5787a2d5b4e5bd60087eb7fbb13c97c7d0ba113e. Change-Id: Ia5f097ffaa3798a42f71d005cffd5007556882d5
sbPreferenceActivity.java
|
f59717ddb5ef324ee3fdb12b83e7d1b709793d28 |
22-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
Combine UsbManager.setPrimaryFunction and setDefaultFunction Due to the property trigger on persist.sys.usb.config, setting the default function also sets the current function. Now we combine both of these methods into setCurrentFunction, which has a "makeDefault" option to make the new function the default. This change should eliminate some problems with setting properties due to multiple property triggers happening at the same time. Change-Id: I9851299e9c2ee20475eada1a8104c0d50bf5a9e1 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbPreferenceActivity.java
|
7730ad569d2c8dd6387be40685f5e99462a59352 |
21-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
Fix window leak in UsbPreferenceActivity Change-Id: I4160e73a4e840662c6ac724e27460853fb259eae Signed-off-by: Mike Lockwood <lockwood@android.com>
sbPreferenceActivity.java
|
422bf6702f4f099e6fd4fab4c26b0deaeb684e9f |
21-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
USB: Make MTP/PTP toggle in the USB preferences set the default mode Change-Id: I438f7f24f06298ad41a99199c26c45bd7884afdd Signed-off-by: Mike Lockwood <lockwood@android.com>
sbPreferenceActivity.java
|
5787a2d5b4e5bd60087eb7fbb13c97c7d0ba113e |
17-Jun-2011 |
Mike Lockwood <lockwood@android.com> |
USB connected notification and temporary USB options dialog This change adds a notification when USB is connected. Selecting the notification brings up a dialog to allow switching between MTP and PTP modes, and also allows mounting a CD image for installing AFT. The UI design is not final - this is a temporary implementation of the UI. Change-Id: Idd678537aba595fd4cb183ea755bf437f372d826 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbPreferenceActivity.java
|
ad5f83e91b6812a6dee4fea7646fa9061d9f9597 |
15-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
USB Manager string clean up: - Use "Cancel" instead of "Ignore" - Customize the text for the "always use" checkbox for devices and accessories - Clean up strings for AccessoryChat test program Bug: 4074719 Change-Id: Ideec838e4c1f1a82ef4ae411c9124417ffb63165 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbAccessoryUriActivity.java
sbConfirmActivity.java
sbPermissionActivity.java
sbResolverActivity.java
|
8f6dce44e34504b891b53ff8ea524268b9095a8d |
15-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
Fix broadcast receiver leak in UsbConfirmActivity Change-Id: Ie1db70d9a57f16f192178583871994467f50a636 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbConfirmActivity.java
|
bce6f8f249ff2b65df9ed790cc460053ab8eccec |
13-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
Add a dialog to ask user to start an application for a USB device or accessory This is used when there is only one application available and the user has not chosen to start it by default. If more than one application is available we continue to use UsbResolverActivity Bug: 4074719 Change-Id: Id61f2ccc6de5b9ac70fb4670006ff1fee2028d55 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbConfirmActivity.java
sbPermissionActivity.java
sbResolverActivity.java
|
024b4f14945bd2a285f730faa3a0fdbb6c47abc1 |
10-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
Support for USB accessory URIs If a USB accessory is attached and we have no application that supports it, display a dialog offering the user the option to visit the accessory's website if the accessory has a URI. Bug: 4073248 Change-Id: I30e2a802493fb6e203532a7f79402379c40bc3b8 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbAccessoryUriActivity.java
|
d591357524091254483849e37697255cc8fce2ad |
09-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
Close USB dialogs if their corresponding accessory or device has disconnected BUG: 4060065 Change-Id: Ib517e5e4a5422f9f0c8fca601308cecf7743c5d1 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbDisconnectedReceiver.java
sbPermissionActivity.java
sbResolverActivity.java
|
3a68b8338b431eb15d28e92f06452efbbda9493e |
08-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
USB: Add API and dialog for apps to request permissions for USB devices and 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
sbPermissionActivity.java
sbResolverActivity.java
|
c4308f01c965571dc2354107c3574df113e397ee |
01-Mar-2011 |
Mike Lockwood <lockwood@android.com> |
Move USB framework support from android.hardware to android.hardware.usb package Change-Id: I00fd4f0caaa4aebe48f71c576bb211b5f38bf88d Signed-off-by: Mike Lockwood <lockwood@android.com>
sbStorageActivity.java
|
3162211bc78c98836f0c9d76a8e94741e4255bed |
04-Feb-2011 |
Joe Onorato <joeo@google.com> |
am 2742c9c2: am 163c28b5: Merge "Managed dialogs should run on the same thread as their activity." into gingerbread * commit '2742c9c2c640b6593321a0c5d56c8ba09ed58cc5': Managed dialogs should run on the same thread as their activity.
|
c7f8b6fcf56aeb457013832555f6358f6babee90 |
04-Feb-2011 |
Joe Onorato <joeo@google.com> |
Managed dialogs should run on the same thread as their activity. Bug: 3418998 Change-Id: I9b1cf73f9d6f8a5594f405546fcaa3cfd6f03c45
sbStorageActivity.java
|
770126a678ccc9328a89407ffc82f4d998b25427 |
10-Dec-2010 |
Mike Lockwood <lockwood@android.com> |
Rename android.hardware.Usb to UsbManager and UsbObserver to UsbService In preparation for an upcoming change that will make UsbService into a real system service Change-Id: Id85d624cfc6b10b49a08105cfaaacc667a492c12 Signed-off-by: Mike Lockwood <lockwood@android.com>
sbStorageActivity.java
|
3a4940f3f08196baaa69a71f76316af5744ec771 |
03-Nov-2010 |
Daniel Sandler <dsandler@android.com> |
Squash ANRs in UsbStorageActivity. Important safety tip: talking to the storage manager and mount service can be very, very slow. Bug: 3138068 Change-Id: I652e8bb2075535b42c83a46df1d8ae8bf299dd0d
sbStorageActivity.java
|
5b8743f3d6a0ba23dce533072f92acd7ec3210e9 |
03-Nov-2010 |
Daniel Sandler <dsandler@android.com> |
Fix the fix for storage ANRs. This repairs Icf2a836b6 to avoid an infinite loop on boot. Bug: 3138068 Change-Id: Ic3a0455e18002dfb82774d96b3467030c4b15e2f
torageNotification.java
|
906b830d1d61cbd8b1f9c2dc87e564cfb0f315fd |
03-Nov-2010 |
Dianne Hackborn <hackbod@google.com> |
Revert "UMS: Avoid SystemUI ANRs during long vold operations." This reverts commit 010704f95de534214cd7b86f93e22050a595dce3.
torageNotification.java
|
010704f95de534214cd7b86f93e22050a595dce3 |
03-Nov-2010 |
Daniel Sandler <dsandler@android.com> |
UMS: Avoid SystemUI ANRs during long vold operations. Stop handling StorageEventListener callbacks on the main thread, where calls back into StorageManager could take a while (i.e., during a long fsck). Bug: 3138068 Change-Id: Icf2a836b69ff60606edce7c5575ad64dc24698c6
torageNotification.java
|
d39d515b9110d7405d0f03dbf612ba5c9b8ac566 |
12-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Fix SD card mounting issues #3074555 and #3072332 Change-Id: I79572bb4e92d2546abd97512a119ae74f0d72019 3074555: Kill "Shared storage safe to remove" notification 3072332: "blank shared storage" notification doesn't go anywhere
torageNotification.java
|
20754649790424455e8a5dbd5ab1fa0e0a4ca87e |
03-Oct-2010 |
Dianne Hackborn <hackbod@google.com> |
Make USB mass storage hide keyguard when shown. Change-Id: I4d3592ade43c8b2e87768a55ba0fafb8e189a1fc
sbStorageActivity.java
|
77bc30d232633eb36323245bc5d0cbf144a3bd26 |
21-Sep-2010 |
Mike Lockwood <lockwood@android.com> |
SystemUI: Use new USB notifications to detect USB disconnect. This fixes a bug that prevented the USB mass storage activity from closing when USB is disconnected. The bug was actually due to using == for a string compare instead of equals(), but using the new notifications is a better solution than using battery events since it will work for devices that do not charge over USB. BUG: 3018954 Change-Id: Ia447974726a52cd865e59df5af79e828b5134b6c Signed-off-by: Mike Lockwood <lockwood@android.com>
sbStorageActivity.java
|
f7d2b4a2e096ae1f8ac3a2ed8b2f0e30a237f732 |
08-Jul-2010 |
Daniel Sandler <dsandler@android.com> |
Use fullScreenIntent to show the USB mass storage dialog. Note that this is not a FLAG_HIGH_PRIORITY notification. In immersive mode the UMS dialog will be suppressed entirely (but an icon will still appear in the status bar). Bug: 2821219 Change-Id: I21f910c8830aff8d0633deda4eb59dbda13262ed
torageNotification.java
|
fe4f3ae33c8da86585399b4167fd7987c8a16066 |
04-Jun-2010 |
Joe Onorato <joeo@android.com> |
Move the usb mass storage notification & activity into SystemUI.apk. Also fix the notification to show properly when the runtime is restarted. Change-Id: Id0c7ef9f9dc9c9df18428cbaa7db1703f085137e
torageNotification.java
sbStorageActivity.java
|