44317 Commits

Author SHA1 Message Date
Jim Miller
aa8dbf1114 am 43ef1c8c: Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev
* commit '43ef1c8c34c6dd7c7ae75ac2c1b9bfdc15405b04':
  Remove deprecated API calls to KeyguardManager from statusbar
2013-10-31 15:26:52 -07:00
Jim Miller
43ef1c8c34 Merge "Remove deprecated API calls to KeyguardManager from statusbar" into klp-dev 2013-10-31 22:22:58 +00:00
Svetoslav
eccfe65f9d am 6ce161d1: Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev
* commit '6ce161d1762a1c74b1ed6931c1d54f1f553267b0':
  Cancel current work in PrintDocumentAdatper if printing is cancelled.
2013-10-31 14:44:50 -07:00
Svetoslav
6ce161d176 Merge "Cancel current work in PrintDocumentAdatper if printing is cancelled." into klp-dev 2013-10-31 21:42:06 +00:00
Chet Haase
df52471c99 am 5747919f: Merge "Fix leak in TransitionInflater" into klp-dev
* commit '5747919fed5180956387c50cb03671b9e67be1d5':
  Fix leak in TransitionInflater
2013-10-31 14:41:13 -07:00
Chet Haase
5747919fed Merge "Fix leak in TransitionInflater" into klp-dev 2013-10-31 21:38:21 +00:00
Jim Miller
a999d463c1 Remove deprecated API calls to KeyguardManager from statusbar
Fixes bug 11448304

Change-Id: I3049a20d9320af0425d7a8f08d5aa208e470e292
2013-10-31 14:32:29 -07:00
Svetoslav
d270cb9264 Cancel current work in PrintDocumentAdatper if printing is cancelled.
Layout and write may take some time during which the user can
cancel printing. Currently we wait for the last operation,
being write or layout, to complete before closing the print
dialog. Now in such a scenario we request a cancellation of
the ongoing operation.

bug:11329523

Change-Id: Ia9d747163cc73509369a86c8b5afc83b7ee54859
2013-10-31 14:30:58 -07:00
Chet Haase
58ad12208a Fix leak in TransitionInflater
A static map in TransitionInflater keyed off of Context instances,
which could cause contexts/activities to leak over time. This
fix removes that map and simply creates a new inflater each time.
The savings of the cached inflater was minimal an unnecessary, and the
intended sharing is in the context embedded in the inflater anyway.

Issue #11436919 leak in TransitionInflator

Change-Id: Ic05ca47f57723bd572bb6143df4035d66eedf5ad
2013-10-31 14:25:56 -07:00
Jason Monk
cb13420322 am 86f5a149: Merge "Change PacProxySelector to return unresolved addr" into klp-dev
* commit '86f5a1499bc681ffae2b9f2300c9a62653d511dc':
  Change PacProxySelector to return unresolved addr
2013-10-31 11:47:03 -07:00
Jason Monk
86f5a1499b Merge "Change PacProxySelector to return unresolved addr" into klp-dev 2013-10-31 18:43:53 +00:00
Jason Monk
179d6e8e20 Change PacProxySelector to return unresolved addr
This was found by a bug in Firefox where it expects the addresses from a
ProxySelector to be unresolved.  Since ProxySelectorImpl returns unresolved
addresses the PAC version should as well to avoid breaking apps.

The ProxyServer also needed to be updated to reflect this change as it was
expecting a resolved InetSocketAddress.

Bug: 11443853
Change-Id: I3a4e9e248d22d7808603c147660df708e01cdf82
2013-10-31 14:17:48 -04:00
Chris Craik
3be09114ca am b320f4d5: Merge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev
* commit 'b320f4d5a6c79ebd66cf96775584d873831b4300':
  Revert "Fixed incorrect calculation of dirty invalidation area"
2013-10-31 11:14:47 -07:00
Chris Craik
b320f4d5a6 Merge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev 2013-10-31 18:12:05 +00:00
Chris Craik
7546a4bea7 Revert "Fixed incorrect calculation of dirty invalidation area"
bug:11351836

Because SeekBar's thumb Drawable (among others) is positioned without
padding offset baked in, include that offset when invalidating.

This revert fixes invalidate positioning in the system volume SeekBar,
where the original CL broke full redrawing of the thumb Drawable when
it switched states.

This reverts commit e9018f7716d3d2f61602c07c273674585482653d.

Change-Id: I5b3b07e47f466269f8d349e9a63dc29bf213120b
2013-10-31 10:45:24 -07:00
Przemyslaw Szczepaniak
2fbe5a99e9 am ec11e8dd: Merge "Catch MissingResourceException caused by bad locale in TTS." into klp-dev
* commit 'ec11e8dd342af0dc1da6a0ac4b26df0b702a438d':
  Catch MissingResourceException caused by bad locale in TTS.
2013-10-31 05:43:56 -07:00
Przemyslaw Szczepaniak
ec11e8dd34 Merge "Catch MissingResourceException caused by bad locale in TTS." into klp-dev 2013-10-31 12:40:31 +00:00
Jeff Sharkey
35c9439000 am 7ce4381a: Merge "Move READ_EXTERNAL_STORAGE to storage group." into klp-dev
* commit '7ce4381a1a0b5903f75646bf632198d259438576':
  Move READ_EXTERNAL_STORAGE to storage group.
2013-10-30 09:25:37 -07:00
Jeff Sharkey
7ce4381a1a Merge "Move READ_EXTERNAL_STORAGE to storage group." into klp-dev 2013-10-30 16:21:50 +00:00
Przemyslaw Szczepaniak
ca4f1fc57c Catch MissingResourceException caused by bad locale in TTS.
Malformed locale objects will throw MissingResourceException
from getISO3Country() and getISO3Language() methods.

This change guard against the case where device default locale is
malformed and user tries to get TTS default locale (b/10814409)
and case where user tries to pass bad locale as argument to
TextToSpeech.getFeatures method (b/10494193).

Bug:11429552
Bug:10494193
Bug:10814409
Change-Id: Ie54d5d30bb042324da0c0d19b77c3a932c5642f7
(cherry picked from commit 58f16653728417100c61b5cb63298e0e3bb528dc)
2013-10-30 10:21:34 +00:00
Jeff Sharkey
eaa9780fd6 Move READ_EXTERNAL_STORAGE to storage group.
Bug: 11437351
Change-Id: I460a3ee7860e8591e601eec7d390c3ca7eed1be6
2013-10-29 17:20:48 -07:00
John Spurlock
de50a5e7e1 am 927d854f: Merge "Optimize sysui ui queue during keyguard unlock." into klp-dev
* commit '927d854ff4dc66edd22c109400233eb2d76dfce6':
  Optimize sysui ui queue during keyguard unlock.
2013-10-29 13:57:16 -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
23ac234e90 am 704269ec: Merge "Mention external storage changes in KITKAT docs." into klp-dev
* commit '704269ec1cea0f68e21f51342d4d05825a53ae6a':
  Mention external storage changes in KITKAT docs.
2013-10-29 13:49:42 -07:00
Jeff Sharkey
dd225d28e6 am 7fbba162: Merge "Suppress OperationCanceledException logging." into klp-dev
* commit '7fbba1622a975782fddb9a7c5d9dd733dd4e425d':
  Suppress OperationCanceledException logging.
2013-10-29 13:49:39 -07: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
Michael Wright
961cc6717a am 3f836741: Merge "Speculatively schedule input consumption" into klp-dev
* commit '3f8367415095651e9dd8e074f97659a1b633e900':
  Speculatively schedule input consumption
2013-10-29 13:23:17 -07: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
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
Svetoslav
a4e1f43521 am ac5d3827: Merge "Share pack historical sorting using wrong keys." into klp-dev
* commit 'ac5d3827409dff757531347c5232bb34ea727274':
  Share pack historical sorting using wrong keys.
2013-10-29 08:28:45 -07:00
Svetoslav
330c6be9dc am 86bfb3af: Merge "Not show share targets that cannot be launched." into klp-dev
* commit '86bfb3af4296a1263cb2c01a9e87b5b20015fedb':
  Not show share targets that cannot be launched.
2013-10-29 08:25:18 -07: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
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
Svetoslav
c7f18b526f am 099d842b: Update javadoc to fix the build.
* commit '099d842bdac481ea94527ab1f702342e41dca440':
  Update javadoc to fix the build.
2013-10-28 16:34:55 -07: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
60fb1e2837 am 714ba345: Merge "Complete implementation of the advanced print options." into klp-dev
* commit '714ba34556572d36b1f9f8d9b860c4da24da6361':
  Complete implementation of the advanced print options.
2013-10-28 15:09:12 -07:00
Svetoslav
714ba34556 Merge "Complete implementation of the advanced print options." into klp-dev 2013-10-28 22:07:03 +00:00
Dianne Hackborn
1c18c5d40c am 3a702cb5: Merge "Fix issue #11391003: Allow dumpsys meminfo to be used with native processes" into klp-dev
* commit '3a702cb5d7eac0d8504c67145dded5d45a9c1027':
  Fix issue #11391003: Allow dumpsys meminfo to be used with native processes
2013-10-28 15:02:32 -07: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
c98c6cc649 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-28 19:33:46 +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
Vineeta Srivastava
ccf1a88daf am 2ead7510: Merge "Do not show roaming icon for Videotron operator when access Canada network" into klp-dev
* commit '2ead75109cf21223b7754fc3906c86d2fbd145cb':
  Do not show roaming icon for Videotron operator when access Canada network
2013-10-28 09:51:27 -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
Sungmin Choi
119e24f987 Do not show roaming icon for Videotron operator when access Canada network
Bug: 11260638
Change-Id: I70b3c2c190707b41ca04110851b7c9581d1c196f
2013-10-28 09:11:36 -07:00