113925 Commits

Author SHA1 Message Date
Dirk Dougherty
e8b32feb72 Enable samples browsing in builds.
Change-Id: Ic47ef693dd5b2cd4010e68a600cae3b88d426bd2
2013-10-30 23:04:38 -07:00
Dirk Dougherty
0e29faacec Merge "doc change: Update Google Play Services pages for gouda." into klp-dev 2013-10-30 04:21:51 +00:00
Dirk Dougherty
fd391d6f5e Merge "Doc change: add new list of browseable samples and sample groups." into klp-dev 2013-10-30 04:16:18 +00:00
Dirk Dougherty
c5f168a694 Doc change: add new list of browseable samples and sample groups.
Change-Id: I5f0c6899a34ada9f8dfc492f849c9e03203bc920
2013-10-29 20:59:20 -07:00
Dirk Dougherty
2d9bfcc0bb Merge "Doc change: Add diff report for API level 19." into klp-dev 2013-10-30 03:33:46 +00:00
Jim Miller
ae47d826d8 Merge "Add an intermediate dimens resource for 540dp device." into klp-dev 2013-10-30 02:44:11 +00:00
Dirk Dougherty
f04c9b8e85 doc change: Update Google Play Services pages for gouda.
Change-Id: I222c353a204fcf4594fd8b074889311b67b65ff7
2013-10-29 18:04:50 -07:00
Michael Wright
e403582708 Merge "Always initialize local boolean variables when possible" into klp-dev 2013-10-29 23:53:55 +00:00
Dirk Dougherty
c17c71ba2a Doc change: Add diff report for API level 19.
Change-Id: I86ccb6cd8e0dbb3bd7115fd619668a2b72bc15b7
2013-10-29 16:46:56 -07:00
Jim Miller
65a788585b Add an intermediate dimens resource for 540dp device.
A 540dp device causes keyguard to select SlidingChallengeLayout
and a height of 400dp which isn't enough space for the security
area.  This fix adds an intermediate value to grow the security
area slightly.

Fixes bug 11344424

Change-Id: I35c979f619c593b604e4bf45afd3e591329229e4
2013-10-29 16:31:58 -07:00
Igor Murashkin
e5c1208ef9 Merge "am: Increase dropbox buffer size to 256KB (from 128KB)" into klp-dev 2013-10-29 21:20:54 +00:00
Michael Wright
f583d0dcc6 Always initialize local boolean variables when possible
It's currently possible to reference deviceModeChanged in InputReader
while it's in an unknown state. Change the style of initialization
here and a few other places to better prevent this type of error.

Bug: 11433748
Change-Id: Ib332406aefb7cdb16b6a21e00dceaeca34679853
2013-10-29 14:17:54 -07:00
John Spurlock
927d854ff4 Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev 2013-10-29 20:55:04 +00:00
Jeff Sharkey
704269ec1c Merge "Mention external storage changes in KITKAT docs." into klp-dev 2013-10-29 20:46:42 +00:00
Jeff Sharkey
7fbba1622a Merge "Suppress OperationCanceledException logging." into klp-dev 2013-10-29 20:46:39 +00:00
John Spurlock
1b5bd6b68a Merge "Update QS settings icon, remove unused location icon." into klp-dev 2013-10-29 20:21:50 +00:00
Michael Wright
3f83674150 Merge "Speculatively schedule input consumption" into klp-dev 2013-10-29 20:20:45 +00:00
Jeff Sharkey
3ec2f60ebd Mention external storage changes in KITKAT docs.
Bug: 11388971
Change-Id: I97145472948867f54125f1d0f0237bf3b339535e
2013-10-29 12:23:19 -07:00
Jeff Sharkey
33819318f6 Suppress OperationCanceledException logging.
These exceptions are normal when an app has cancelled an outstanding
thumbnail request.

Bug: 11385378
Change-Id: I8aed5721b447cda5baf447ac7afd627aa1062863
2013-10-29 11:56:37 -07:00
Jeff Sharkey
19949b9d3d Merge "Guard against missing document columns." into klp-dev 2013-10-29 18:53:41 +00:00
Jeff Sharkey
5d321d472d Guard against missing document columns.
When filtering and sorting, guard against missing columns to avoid
crashing entire app.

Bug: 11377065
Change-Id: I04f035c918d743bcc84592f05e3ef9ad0ebfadce
2013-10-29 11:48:30 -07:00
Dirk Dougherty
24445c3521 Doc change: fix docs build.
Change-Id: Ifdb25d52629e62b0e909aa3ac00bff4df257ffd2
2013-10-29 11:33:33 -07:00
John Spurlock
e7c285725d Optimize sysui ui queue during keyguard unlock.
Target the two biggest offenders:
 - Coalesce keyguard setHidden(false) calls during unlock.
 - Make sysui->WM call async.

Found during investigation into b/11221659.

Bug: 11221659
Change-Id: Icab48376bc356a933e0f9940bc2f924e2e77ab22
2013-10-29 14:27:41 -04:00
Dirk Dougherty
3bdf60dc29 Merge "Doc change: Add update ProGuard keep rules for Google Play Services." into klp-dev 2013-10-29 17:40:49 +00:00
Chris Wren
64742f8469 Merge "show duration instead of remaining time." into klp-dev 2013-10-29 17:37:29 +00:00
Chris Wren
5ab93d873f Merge "reduce garbage generation in KeyguardTransportControlView." into klp-dev 2013-10-29 17:37:13 +00:00
Chris Wren
6af85cc2c6 show duration instead of remaining time.
Bug: 11351406
Change-Id: I1238408c439f9cd12382d9a0889321bbb75618d3
2013-10-29 13:19:54 -04:00
Chris Wren
cab6965b19 reduce garbage generation in KeyguardTransportControlView.
Bug: 11243508
Change-Id: I8315c27faf935d2465b3ce9e958e6edee00a4d4d
2013-10-29 13:04:00 -04:00
Svetoslav
ac5d382740 Merge "Share pack historical sorting using wrong keys." into klp-dev 2013-10-29 15:24:14 +00:00
Svetoslav
86bfb3af42 Merge "Not show share targets that cannot be launched." into klp-dev 2013-10-29 15:23:27 +00:00
Michael Jurka
2b5297a400 Merge "Load wallpaper images on a bg thread" into klp-dev 2013-10-29 11:41:47 +00:00
Dirk Dougherty
1a1932749c Doc change: Add update ProGuard keep rules for Google Play Services.
Change-Id: I39cc32c821659b82a4ebf800632571d6beaf5474
Bug-Id: 11336556
2013-10-28 23:01:40 -07:00
Svetoslav
27f592df8c Share pack historical sorting using wrong keys.
The ActivityChooserModel keeps a history of the last fifty
share targets and based on past usage orders the targets in
the UI. The soring implementation is using a map for improving
performance. However, the activities in this map were keyed
on the package name but there maybe more that one share
target per package. Thus, the sorting was generating bad
results. Now the unique component name is used.

bug:11195578

Change-Id: I8c7018fea168b7253ddbe57b477028368726e75e
2013-10-28 18:43:08 -07:00
Adam Koch
7fd5c53c45 Merge "Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes Bug: 10411797" into klp-dev 2013-10-29 00:17:03 +00:00
Adam Koch
3a4a1d7174 Displaying Bitmaps Efficiently Training - updates for KitKat inBitmap changes
Bug: 10411797

Change-Id: I720d3ade42da31400a6cc7c7ce9e15793f836363
2013-10-28 20:08:18 -04:00
Svetoslav
baeabb65e1 Not show share targets that cannot be launched.
This changes filters out share targets that we cannot start
because the target does not properly implement the SEND protocol
and has either share target activity hidden or requires a
permission to launch it. Also the code that launches the share
target activity catches the runtime exception and shows an error
message. Note that being able to launch an activity in a moment
of time is not a guarantee that one can do that latter. Hence,
being able to launch an activity while building the share UI
does not guarantee that one can launch it when selecting the
share target.

bug:11402139

Change-Id: Id35732510755b2eeb9eccacc046d289c2f2ee856
2013-10-28 16:26:47 -07:00
Svetoslav
099d842bda Update javadoc to fix the build.
Change-Id: Ib6e8c17f10a7f17785876681baf8fb07eac9af55
2013-10-28 15:56:48 -07:00
Svetoslav
714ba34556 Merge "Complete implementation of the advanced print options." into klp-dev 2013-10-28 22:07:03 +00:00
Lajos Molnar
66b753b06b Merge "MediaPlayer: MTP: update state only based on source events" into klp-dev 2013-10-28 21:59:55 +00:00
Dianne Hackborn
3a702cb5d7 Merge "Fix issue #11391003: Allow dumpsys meminfo to be used with native processes" into klp-dev 2013-10-28 21:59:18 +00:00
Baligh Uddin
170735d460 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-28 19:34:13 +00:00
Baligh Uddin
c98c6cc649 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-28 19:33:46 +00:00
Baligh Uddin
9b16d1313f Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-28 19:33:31 +00:00
Svetoslav
b4fda13476 Complete implementation of the advanced print options.
1. Implemented the advanced printer options integration. Now a print service
    may declare an advanced print options activity which may be launched by
    the user if the current printer supports advanced print options. These options
    are visible only to the print service that added them and it is the only party
    that will interpret the options.

2. Fixed a couple of bugs in the saved print jobs parsing. One was that if there
    are more than one page range, a half of the print job properties was not
    properly parsed. The other was that the media size constructor was using
    incorrect argument order, thus creating a media size with wring width.

3. Fixed and edge case where old print jobs and their docs can get stuck in
    the spooler. If the app did not write the requested pages we were not showing
    an error message, rather just finish the activity without canceling the print
    job and this print job is stuck in the spooler. Now we show an error message
    and the user may retry, cancel. If the user cancels the print job is also
    cancelled, thus no leftover in the spooler.

4. Fixed the background color of the print dialog to meet UX spec.

bug:11241800

Change-Id: I352440bc86aec824a805883fc9579d96a06d11e6
2013-10-28 11:44:07 -07:00
Christopher Tate
ad7c57db25 Merge "Always re-evaluate kernel alarm setpoints when a new alarm is added" into klp-dev 2013-10-28 18:16:27 +00:00
Baligh Uddin
97ea6a0648 Import translations. DO NOT MERGE
Change-Id: I1ef363e676ff75e85aece9789cdb7c86b55281d3
Auto-generated-cl: translation import
2013-10-28 10:45:56 -07:00
Christopher Tate
7d57ed88c9 Always re-evaluate kernel alarm setpoints when a new alarm is added
...even if the new one is later than some other existing alarms.

Bug 11392699

Change-Id: I80dccd76300acb4729f0337665b91e897a770571
2013-10-28 10:34:54 -07:00
Vineeta Srivastava
2ead75109c Merge "Do not show roaming icon for Videotron operator when access Canada network" into klp-dev 2013-10-28 16:48:53 +00:00
Baligh Uddin
55e168f544 Import translations. DO NOT MERGE
Change-Id: Ic80d15c427e2f67465a6c45ab08d0ffcb618ae62
Auto-generated-cl: translation import
2013-10-28 09:47:23 -07:00
Baligh Uddin
4aef4ca530 Import translations. DO NOT MERGE
Change-Id: I74c7510762c6c2591784ea2997695449f8aa2e53
Auto-generated-cl: translation import
2013-10-28 09:19:49 -07:00