summaryrefslogtreecommitdiffstats
path: root/packages
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Replace linear GradientDrawable with asset-based approach." into klp-devJohn Spurlock2013-10-0312-27/+18
|\
| * Replace linear GradientDrawable with asset-based approach.John Spurlock2013-10-0212-27/+18
| | | | | | | | | | | | | | And disallow fully transparent nav bar when vertical. Bug: 10967264 Change-Id: I42adf6de1eeb91e1b1a24dc6c7a64c8d86017b2d
* | Merge "IndexOutOfBoundsException in the PrintSpoolerService dump." into klp-devSvetoslav2013-10-021-1/+1
|\ \
| * | IndexOutOfBoundsException in the PrintSpoolerService dump.Svetoslav2013-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The dump code in PrintSpoolerService was relying on being called only as a result of "adb shell dumpsys print" which is apparently wrong. As a result the code was making wrong assumption about the input arguments. bug:11046234 Change-Id: Ie38f3cc5f17cac98b808fef6d6bbeaca22a62ef0
* | | Merge "Fix incorrect VPN time" into klp-devVinit Deshapnde2013-10-021-1/+1
|\ \ \
| * | | Fix incorrect VPN timeVinit Deshapnde2013-10-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, startTime's default value is -1 and not 0, so use it to test if the startTime is set. Also, startTime isn't being set when connecting legacy VPN; this change fixes that too. Bug: 10985174 Change-Id: Ibf52b8f489b18c96efba501b76aa73e9a9e0e3e8
* | | | Merge "Sometimes printer selection from all printers activity does not ↵Svetoslav2013-10-021-36/+96
|\ \ \ \ | |_|/ / |/| | | | | | | work." into klp-dev
| * | | Sometimes printer selection from all printers activity does not work.Svetoslav2013-10-011-36/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Sometimes selecting a printer from the full printer list does not work if the selected printer was not in the initial drop down list of the print dialog. The reason was that there is a race. We use loaders in the print dialog activity and the all printers one. When these loaders are stopped we stop printer discovery since we do not want to keep this potentially expensive process on going if the activity is paused because say the user decide to press home and start playing his favorite game while the printers dialog is up. As a result the loader does not get printer updates until it is started. The loader of the print dialog activity is stopped while the user is selecting a printer from the all printers activity whose loader is getting discovered recent printers. Now when the user selects a printer the loader of the print dialog activity is started but may not get the latest printers by the time onActivityResult is called with the selected printer. Now we cache the selected printer id and if the loader reports it we select that printer. 2. In the print dialog we show only a few of the discovered printers. If the user selects a printer from the all printers activity that is not in the initial list we shuffle the adapter data to make sure the selected printer is in the shown subset. Now if the printers change, i.e. the printers loader reports new result we were not respecting the reshuffling made before so the short list of printers changes yet again. bug:11034216 Change-Id: I54fe3619e3328b65839d9f4b02309699eae7f8eb
* | | | Merge "Isolate calls to each remote DocumentsProvider." into klp-devJeff Sharkey2013-10-027-53/+167
|\ \ \ \ | |_|_|/ |/| | |
| * | | Isolate calls to each remote DocumentsProvider.Jeff Sharkey2013-10-027-53/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | All background work is going through AsyncTasks, which uses a shared thread pool. Even with the new ContentProviderClient logic to detect ANRs, the UI can still appear to be unresponsive for 20 seconds, even if the user attempted to switch to a different backend. In the worst case, a backlog of thumbnail requests would end up wedging Loaders for a long time, since they all share the same THREAD_POOL_EXECUTOR. This change isolates calls to each provider onto their own thread, which they're free to wedge and recover from over time. It also means we no longer need a dedicated thread pool for recents loading, and can use a simpler Semaphore instead. Disables thumbnails in recents on svelte devices. Bug: 10993301, 11014856 Change-Id: I7f8a5bbb5f64437e006cb2c48b7e854136d5c38c
* | | | Merge "Adding an empty state UI for the printer search activity in the ↵Svetoslav2013-10-023-7/+47
|\ \ \ \ | | | | | | | | | | | | | | | spooler." into klp-dev
| * | | | Adding an empty state UI for the printer search activity in the spooler.Svetoslav2013-10-013-7/+47
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The user can select all printers from the print dropdown to get to a search for printers activity where one can filter out the list of a available printers. We did not have an empty state UI for the case when the query yields no printers. bug:11009053 Change-Id: I6b45517b8a7b319992019a1bf65858319a19a0de
* | | | Merge "Fix animations, padding in RTL mode." into klp-devJeff Sharkey2013-10-0213-1/+91
|\ \ \ \ | | |/ / | |/| |
| * | | Fix animations, padding in RTL mode.Jeff Sharkey2013-10-0113-1/+91
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | Show directory animations coming in from left-side when in RTL language. Also fix NinePatchDrawable to correctly mirror its padding when auto-mirrored, and fix InsetDrawable to propagate the layout direction to the wrapped Drawable. Bug: 10987190, 11030793 Change-Id: I1213802a07d0c4ced93438df1e6ddf5aed3df677
* | | Make onClickHandler in KeyguardHostView a weak referenceChet Haase2013-10-011-14/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The strong reference OnClickHandler caused bitmaps in keyguard to be referenced when keyguard was not visible. This change makes the click handler a static class with a weak reference to the hostView instance, allowing those bitmaps to get collected and shaving ~845k off of the heap size when the keyguard isn't showing. Issue #10918599 SystemUI should have a round of Svelting Change-Id: I69de8659ac14c1a4723d082dd3cd394d8b6097f1
* | | Merge "Remove old animation" into klp-devJohn Reck2013-10-016-115/+0
|\ \ \ | |/ / |/| |
| * | Remove old animationJohn Reck2013-10-016-115/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10918599 Shaves ~1.5MB off of Keyguard creation from usage of an old-style Alpha animator that would create a draw cache The animation is unseen due to screen timings, so simply remove it Also adds a bit of de-jank to the non-svelte case by avoiding a potential GC_FOR_ALLOC Change-Id: Id49742d95988f670a44305e4033e7a850d20e675
* | | Detect wedged ContentProviders, treat as ANR.Jeff Sharkey2013-10-0111-63/+174
|/ / | | | | | | | | | | | | | | | | | | | | | | | | All ContentProvider calls are currently blocking, making it hard for an app to recover when a remote provider is wedged. This change adds hidden support to ContentProviderClient to timeout remote calls, treating them as ANRs. This behavior is disabled by default. Update DocumentsUI to use a 20 second timeout whenever interacting with a storage provider. Bug: 10993301, 10819461, 10852518 Change-Id: I10fa3c425c6a7225fff9cb7a0a07659028230cd3
* | Merge "Update date format in panel on locale change." into klp-devDaniel Sandler2013-10-011-62/+20
|\ \
| * | Update date format in panel on locale change.Daniel Sandler2013-09-301-62/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The logic that updated the locale was only running at times the DateView should have been updating its display, namely, when the view was visible on-screen. The new version trades a small amount of efficiency (the broadcast receiver is now active at all times, and the date is re-formatted each TIME_TICK) in exchange for simplicity and correctness. Bug: 10725912 Change-Id: I2f0988ed478374ed0eb0c76c3d8caed6c86eb8df
* | | Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-10-0157-3/+120
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2013-09-3057-3/+120
| | |/ | |/| | | | | | | | | | Change-Id: I5096e6fda19418f0b61829ccc25cc98ba3d09dfe Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-10-0123-46/+23
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2013-09-3023-46/+23
| |/ / | | | | | | | | | | | | Change-Id: Ibf90ac2ca945f9a5e803f3bbfbb5caa69b08a4ce Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-10-0157-0/+236
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2013-09-3057-0/+236
| |/ / | | | | | | | | | | | | Change-Id: Ib2bedf5a64b306f630e1263fed4a6fa0e8843175 Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE" into klp-devBaligh Uddin2013-10-0155-185/+164
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2013-09-3055-185/+164
| |/ / | | | | | | | | | | | | Change-Id: Ie40b704529f71e71f5c384450a79923c68354bb9 Auto-generated-cl: translation import
* | | Merge "Move slide to unlock circle up" into klp-devMichael Wright2013-10-013-3/+10
|\ \ \
| * | | Move slide to unlock circle upMichael Wright2013-09-303-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because HH is such a tall device, we need to move the circle up in order to put it in the correct physical location. Bug: 10900855 Change-Id: Idf90839e19f89784a96d110dd897bdacb58cb616
* | | | Merge "Avoid accidentally using software layers" into klp-devJohn Reck2013-09-302-13/+11
|\ \ \ \
| * | | | Avoid accidentally using software layersJohn Reck2013-09-302-13/+11
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 10918599 Shaves ~1-2MB of transient memory usage from setting a hardware layer on a view that's not hardware accelerated, resulting in it falling back to a software layer which allocates a bitmap Also a bit of dejanking as a result of not hitting GC_FOR_ALLOC Change-Id: Iff00d383fca710147a48f31c7eee2b728b8412dc
* | | | Merge "Adjust padding for keyguard pin entry keys" into klp-devAmith Yamasani2013-09-301-2/+3
|\ \ \ \ | |_|/ / |/| | |
| * | | Adjust padding for keyguard pin entry keysAmith Yamasani2013-09-301-2/+3
| |/ / | | | | | | | | | | | | | | | | | | Increase padding on the left to more visually center the text within the touch target Bug: 10074982 Change-Id: I2c622b0edd427a4b15f2f3b25a0a124853ed2367
* | | Merge "Disable keyguard widgets on low memory devices" into klp-devJim Miller2013-09-301-1/+2
|\ \ \ | |/ / |/| |
| * | Disable keyguard widgets on low memory devicesJim Miller2013-09-291-1/+2
| |/ | | | | | | | | | | Fixes bug 10784493 Change-Id: I6271ea94f6832bb061ba9f64efea460d28ee5695
* | Fix configuration changes in status bars.Daniel Sandler2013-09-303-20/+37
|/ | | | | | | | | | | | - Make sure SystemBars calls onConfigurationChanged on the status bar - Remove redundant ACTION_CONFIGURATION_CHANGED receiver in BaseStatusBar & move this code into onConfigurationChanged - Force locale refresh even if a configuration change touches only the layout direction Bug: 10113357 Change-Id: I92902d25cbae77f2558cfb85482484b11dc7294e
* Merge "Ignore historical printer records for installed services" into klp-devSvetoslav2013-09-281-0/+28
|\
| * Ignore historical printer records for installed servicesSvetoslav2013-09-271-0/+28
| | | | | | | | | | | | | | | | | | When loading historical records for previously used printers we now ignore the ones whose target print service is not installed. bug:10955652 Change-Id: Ib295e7d88ed3c308ef6d8a11bdc1792ebbb6d526
* | Keyguard transport controls: fullscreen artAdam Powell2013-09-277-21/+101
| | | | | | | | | | | | | | When the transport controls are active, set the relevant art as a fullscreen background for the keyguard. Change-Id: I1e8a87f242153a2a2c5bf94dbd15f0fd3e07dde3
* | Merge "Fix missing transport in keyguard" into klp-devJim Miller2013-09-282-6/+21
|\ \ | |/ |/|
| * Fix missing transport in keyguardJim Miller2013-09-272-6/+21
| | | | | | | | | | | | | | | | | | Keyguard wasn't re-establishing a connection to the RCD after a crash. This results in a missing transport until the session reboots. Fixes bug 10204949 Change-Id: Ia030eacbcf1e3cfa9ee948c841c95d2040f9c1e0
* | Merge "Fix permissions on WindowManagerService.showAssistant()" into klp-devJim Miller2013-09-283-39/+73
|\ \
| * | Fix permissions on WindowManagerService.showAssistant()Jim Miller2013-09-273-39/+73
| |/ | | | | | | | | | | | | | | | | | | Since binder call permissions are not transitive by design, the proper way to fix this is to have the call talk directly to keyguard from the navigation bar. Fixes bug 9409008 Change-Id: Ibd90a79bb638c969b514455a2ad93c6ff668222d
* | Merge "Print job files and print job records not always cleaned up." into ↵Svetoslav Ganov2013-09-281-44/+83
|\ \ | | | | | | | | | klp-dev
| * | Print job files and print job records not always cleaned up.Svetoslav Ganov2013-09-271-44/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. We want the files for a print job to be removed as early as possible typically because the print job was cancelled, completed, the app or the spooler crashed during print job construction. We were keeping around in the spooler and hence to disc infos for jobs that are in final state since the app that created them may hold a reference to a local print job objec whose info it can access to get the latest print job state potentially after the job reached final state. The issue was that we were persisting to disc created print jobs which were during construction which requires careful handling for the various cases above. This is tricky and error prone. We used to tell the spooler to forget the print jobs infos when the app that created them died. The implementation to forget a print job was not careful and was nuking currently running print jobs in addition to the ones in a terminal state. Further, if the app dies before a print job is completed we were left with a stale print job in the spooler since we missed the signal to forget it (assuming we forget only inactive jobs). These issues suggest that the approach is problematic. Now we have a cache of print job infos for the jobs an app created. This cache is updated when the state of a print jobs changes using the new print job state observation code. When the app dies we remove the cached jobs for that app. Now if the app calls to get the print jobs it gets the cached ones, i.e. the print jobs it created during its lifetime, plus the print jobs that are still active fetched from the spooler. Note that transient state cannot be kept in the spooler since we unbind from it if there is no work and it may get killed. 2. Improved the print sub-system logging code to show the cached print job infos for apps and also dump the print job PDF file names. bug:10958357 Change-Id: I6f7c1968b6b7ba5be182a10df044ff7ea1fc3a61
* | | Merge "Adding a timeout for waiting to get the selected printer's ↵Svetoslav Ganov2013-09-282-9/+49
|\ \ \ | | | | | | | | | | | | capabilities." into klp-dev
| * | | Adding a timeout for waiting to get the selected printer's capabilities.Svetoslav Ganov2013-09-272-9/+49
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A print service may choose to provide only the printer info and then when it is requested to start tracking the state of the printer, the service should provide the printer capabilities. If the capabilities are not received within ten seconds we mark the printer as unavailable and stop tracking it. bug:10748639 Change-Id: I9171cb5dc116fd321c23a8e4ab55109448e2fc6a
* | | Merge "New roots UX, async, performance, docs." into klp-devJeff Sharkey2013-09-2840-278/+500
|\ \ \
| * | | New roots UX, async, performance, docs.Jeff Sharkey2013-09-2740-278/+500
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Yet another iteration from UX on how roots should be ordered. Since we no longer categorize by type, remove from public API. Updated asset drop with new dividers. Update public API docs to be explicit about required columns. Hide flags and columns that aren't required for third-party apps. Move remainder of potentially blocking work to AsyncTasks, including creating directories, picked root resolution, and creation of new documents once picked. Improve performance of layouts by removing baseline alignment and reduce hierarchy depth. Set alpha on ImageViews directly to avoid offscreen rendering hit. Limit returned recents to 45 days. Show load in recents when still waiting for backends. Show empty message when no recents stacks to create from. Use unique key when saving recent stacks. Bug: 10941423, 10819454, 10964412, 10960718 Change-Id: I08cf589dcda7e203acf67928f4d30322ae36ee94