117109 Commits

Author SHA1 Message Date
Svetoslav Ganov
f22a767e87 Merge "Added UI for errors during layout and write." into klp-dev 2013-10-11 17:06:12 +00:00
Svetoslav
5c880d0d15 am 6f688e87: am 8f34715b: Merge "Refactor how the print dialog activity is started." into klp-dev
* commit '6f688e879a2523393e8e0da072e1f62cb456276f':
  Refactor how the print dialog activity is started.
2013-10-11 10:06:03 -07:00
Svetoslav
6f688e879a am 8f34715b: Merge "Refactor how the print dialog activity is started." into klp-dev
* commit '8f34715b94a1733f4cc5f31426d5dafcd57052c7':
  Refactor how the print dialog activity is started.
2013-10-11 10:04:27 -07:00
Svetoslav Ganov
caff38821a Added UI for errors during layout and write.
1. If an error happens during layout or write we show an error
   message with the string provided by the application which
   has an OK button to retry or tap outside to cancel.

2. Updated the targed and min SDK version for the PrintSpooler.

bug:11127269

Change-Id: I4301cf3716119b1e33b95347a8451fc1c128343b
2013-10-11 10:04:02 -07:00
Svetoslav
8f34715b94 Merge "Refactor how the print dialog activity is started." into klp-dev 2013-10-11 17:01:15 +00:00
Craig Mautner
6c9138f485 am 4279a61b: am 9ccc082c: am d69417d2: Merge "Reduce jank on incoming phone call during dream." into klp-dev
* commit '4279a61b04bcd0a07bb94bdfccb6e0b282ddb396':
  Reduce jank on incoming phone call during dream.
2013-10-11 09:57:10 -07:00
Craig Mautner
4279a61b04 am 9ccc082c: am d69417d2: Merge "Reduce jank on incoming phone call during dream." into klp-dev
* commit '9ccc082c9a6c41833206d54c85e115d6d1659a12':
  Reduce jank on incoming phone call during dream.
2013-10-11 09:54:30 -07:00
Dianne Hackborn
57de7efbf0 am 61ef6e0f: am 41920afa: am 0b713a09: Merge "Small IntentFilter docs improvement." into klp-dev
* commit '61ef6e0f202032843e4158f047d126c275f3bd01':
  Small IntentFilter docs improvement.
2013-10-11 09:53:34 -07:00
Craig Mautner
9ccc082c9a am d69417d2: Merge "Reduce jank on incoming phone call during dream." into klp-dev
* commit 'd69417d2f62606af76ec4cea72bff089ff27b2f2':
  Reduce jank on incoming phone call during dream.
2013-10-11 09:52:54 -07:00
Craig Mautner
d69417d2f6 Merge "Reduce jank on incoming phone call during dream." into klp-dev 2013-10-11 16:49:55 +00:00
Dianne Hackborn
61ef6e0f20 am 41920afa: am 0b713a09: Merge "Small IntentFilter docs improvement." into klp-dev
* commit '41920afa54e67010eec146341bce113f05c9d7c3':
  Small IntentFilter docs improvement.
2013-10-11 09:49:51 -07:00
Jeff Sharkey
d5a4658cea Treat dates near epoch as unknown.
Also document that rootIds need to be stable, so removable media
roots should use the media serial number.

Bug: 11151557
Change-Id: I1f3dcabcd0474f1bf92d2cafb0f37e82abe34e05
2013-10-11 09:49:05 -07:00
Dianne Hackborn
41920afa54 am 0b713a09: Merge "Small IntentFilter docs improvement." into klp-dev
* commit '0b713a096171d27ed832175b31abff2b870de44e':
  Small IntentFilter docs improvement.
2013-10-11 09:47:16 -07:00
Dianne Hackborn
0b713a0961 Merge "Small IntentFilter docs improvement." into klp-dev 2013-10-11 16:42:39 +00:00
Dianne Hackborn
0ea920d839 Small IntentFilter docs improvement.
Change-Id: I52522e1c007c02d2c4fae8665369d92971689fd2
2013-10-11 09:40:18 -07:00
Torne (Richard Coles)
b0a12f946f am 6b9c8991: am bb592343: am 8483e4f0: Merge "Add internal resource symbol used by WebViewChromium." into klp-dev
* commit '6b9c8991a8ed5e5b250eda037f31302ff329784a':
  Add internal resource symbol used by WebViewChromium.
2013-10-11 09:25:37 -07:00
Torne (Richard Coles)
6b9c8991a8 am bb592343: am 8483e4f0: Merge "Add internal resource symbol used by WebViewChromium." into klp-dev
* commit 'bb5923433cdba892e714aa33cbf6525cbd53a17c':
  Add internal resource symbol used by WebViewChromium.
2013-10-11 09:23:14 -07:00
Torne (Richard Coles)
bb5923433c am 8483e4f0: Merge "Add internal resource symbol used by WebViewChromium." into klp-dev
* commit '8483e4f007499d01901f73510b6b096f4e8b31bf':
  Add internal resource symbol used by WebViewChromium.
2013-10-11 09:20:39 -07:00
Torne (Richard Coles)
8483e4f007 Merge "Add internal resource symbol used by WebViewChromium." into klp-dev 2013-10-11 16:17:42 +00:00
Svetoslav
7bfbbcb04b Refactor how the print dialog activity is started.
1. Before the print job activity was started asyncronously with
   respect to the print call on to the print manager. This was
   creating a situation where the starting activity may finish
   before the print dialog appears which may lead to an orphaned
   print document adapter with no data to print (as the UI is
   is gone), or strange behaviors where the print dialog starts
   on as a separate task.

   To address this the pending intent for starting the print
   dialog is not started by the print spooler since we cannot
   call into it synchronously as we have to start its process
   and bind to the spooler service which leads to jankyness in
   the client app. Now the pending intent is created by the
   print manager service in the synchronous print call so
   from an app's perspective calling print starts the activity.

   The side effect of this design is that the print dialog
   activity may start before the system is bound to the spooler
   service. In such a case the print activity cannot start
   poking the print spooler state as the system registers
   callback to observe the spooler state. To address this
   the print spooler activity disables the UI and also binds
   to the spooler service which happenes immediately after it
   is started. As soon as the print dialog binds to the
   service it starts the UI.

2. Fixed an bug in the printer adapter of the print dialog that
   was leading to a crash if the only item in the adater is the
   all pritners option and it is selected.

3. Piping the package name that started the printing so we can
   pass it to the storage UI as a hint to open the last location
   the app used.

bug:11127269

Change-Id: Ia93820bdae0b0e7600a0930b1f10d9708bd86b68
2013-10-11 09:11:24 -07:00
John Spurlock
aaa9ffebc0 am 89d1ac63: am cf80c6c7: am 8ca2d052: Merge "Fix dock rect calculation when nav is translucent." into klp-dev
* commit '89d1ac638d6f69a3d974487135407cd001366ea2':
  Fix dock rect calculation when nav is translucent.
2013-10-11 08:57:15 -07:00
John Spurlock
89d1ac638d am cf80c6c7: am 8ca2d052: Merge "Fix dock rect calculation when nav is translucent." into klp-dev
* commit 'cf80c6c73541bcfbc7f787834f9b9e7807f52ef8':
  Fix dock rect calculation when nav is translucent.
2013-10-11 08:55:36 -07:00
John Spurlock
cf80c6c735 am 8ca2d052: Merge "Fix dock rect calculation when nav is translucent." into klp-dev
* commit '8ca2d05293759dbcebcf99a6b787bfc09345f109':
  Fix dock rect calculation when nav is translucent.
2013-10-11 08:52:57 -07:00
John Spurlock
8ca2d05293 Merge "Fix dock rect calculation when nav is translucent." into klp-dev 2013-10-11 15:49:54 +00:00
Baligh Uddin
a9f56df155 am d2f0d91b: (-s ours) am 2806e4be: (-s ours) am 38de7ab4: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'd2f0d91b96b3bc7d5c067065dbf9c727df93b1e2':
  Import translations. DO NOT MERGE
2013-10-11 08:30:06 -07:00
Baligh Uddin
2c63cd0a12 am 16212a97: (-s ours) am 0066a866: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit '16212a971c170acd38f1b750dc7058a782d31cc9':
  Import translations. DO NOT MERGE
2013-10-11 08:26:23 -07:00
Baligh Uddin
d2f0d91b96 am 2806e4be: (-s ours) am 38de7ab4: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '2806e4be99bb6264092bb8cd8a3ce39250f51d51':
  Import translations. DO NOT MERGE
2013-10-11 08:23:31 -07:00
Baligh Uddin
fd050e32c5 am ce76c434: (-s ours) am 9aa75f29: (-s ours) am ccfd6f44: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'ce76c4341b34e4122c72435aa1e3123b94e83045':
  Import translations. DO NOT MERGE
2013-10-11 08:22:43 -07:00
Baligh Uddin
a6aa9bda76 am 01c34ac6: (-s ours) am c0cad456: (-s ours) am 6db72277: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '01c34ac6f5b1b91bd2b7a8ad61660d4e9002251b':
  Import translations. DO NOT MERGE
2013-10-11 08:22:39 -07:00
Baligh Uddin
309a5a5c57 am d7b78c38: (-s ours) am 25130be0: (-s ours) am 491ad45f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'd7b78c38738a2ad9bad06f8588fd8c7eab77425a':
  Import translations. DO NOT MERGE
2013-10-11 08:22:36 -07:00
Baligh Uddin
9424a7ac52 am 907c6497: (-s ours) am bcb05cd0: (-s ours) am d32e9b7f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '907c6497844cfd3d553ebfa02e673cbd805da704':
  Import translations. DO NOT MERGE
2013-10-11 08:22:34 -07:00
Baligh Uddin
5c7a6c8429 am 293c23a8: (-s ours) am b7c280af: (-s ours) am 29cff852: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '293c23a860cae2a2f9bcb49425c50b10db67cf7d':
  Import translations. DO NOT MERGE
2013-10-11 08:22:30 -07:00
Baligh Uddin
b23d4088cb am 7054f6e3: (-s ours) am a60212ab: (-s ours) am d010f7a3: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '7054f6e3c0f89dbd0b158b8fe0bd6b2b5c008f41':
  Import translations. DO NOT MERGE
2013-10-11 08:22:25 -07:00
Baligh Uddin
2806e4be99 am 38de7ab4: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '38de7ab47a75f5139b7593e7231d194cc00be31c':
  Import translations. DO NOT MERGE
2013-10-11 08:20:23 -07:00
Baligh Uddin
16212a971c am 0066a866: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit '0066a866b6945f5f3bba24974d30880752c38349':
  Import translations. DO NOT MERGE
2013-10-11 08:19:49 -07:00
Baligh Uddin
ce76c4341b am 9aa75f29: (-s ours) am ccfd6f44: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '9aa75f29a6259f8c65a5e1ad507f71ea3b419d47':
  Import translations. DO NOT MERGE
2013-10-11 08:16:10 -07:00
Baligh Uddin
01c34ac6f5 am c0cad456: (-s ours) am 6db72277: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'c0cad45666372c7deafaa72ffbd50b86b6d6210b':
  Import translations. DO NOT MERGE
2013-10-11 08:16:07 -07:00
Baligh Uddin
d7b78c3873 am 25130be0: (-s ours) am 491ad45f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '25130be0cbfea53b53007e491ef4f313bc261b4a':
  Import translations. DO NOT MERGE
2013-10-11 08:16:05 -07:00
Baligh Uddin
907c649784 am bcb05cd0: (-s ours) am d32e9b7f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'bcb05cd06c366e781ae9ae5e262622b39b45d426':
  Import translations. DO NOT MERGE
2013-10-11 08:16:02 -07:00
Baligh Uddin
24c4f55bac Merge "Import translations. DO NOT MERGE" 2013-10-11 15:16:00 +00:00
Baligh Uddin
293c23a860 am b7c280af: (-s ours) am 29cff852: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'b7c280af9a2908ce849de281e92d31ff4f8d1cd6':
  Import translations. DO NOT MERGE
2013-10-11 08:15:59 -07:00
Baligh Uddin
7054f6e3c0 am a60212ab: (-s ours) am d010f7a3: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'a60212ab90634d63f434b14a65c08ec1d2362f00':
  Import translations. DO NOT MERGE
2013-10-11 08:15:56 -07:00
Baligh Uddin
0066a866b6 Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:15:55 +00:00
Baligh Uddin
38de7ab47a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:15:50 +00:00
Baligh Uddin
887ee5a0b5 am 3a7907be: (-s ours) am 3cf39ba8: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit '3a7907be474832b33b1cfc30f7e38968d4dea38f':
  Import translations. DO NOT MERGE
2013-10-11 08:15:31 -07:00
Baligh Uddin
71cd5e7818 am 64f043da: (-s ours) am e4e6a4f3: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit '64f043da26b75e46cf8099f9018e7e97a1016075':
  Import translations. DO NOT MERGE
2013-10-11 08:15:28 -07:00
Baligh Uddin
5e9a9fa037 am fbd88579: (-s ours) am d52cfad3: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit 'fbd88579a6f23c9fa0685adbef61596980ab09d1':
  Import translations. DO NOT MERGE
2013-10-11 08:15:25 -07:00
Baligh Uddin
7d77fbc2a2 am dbea9992: (-s ours) am 57612468: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit 'dbea999257be42be3a99f3a57ee2c11e821c3a5d':
  Import translations. DO NOT MERGE
2013-10-11 08:15:21 -07:00
Baligh Uddin
ca20902916 am ba3b6a37: (-s ours) am 40705a8b: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit 'ba3b6a376658313e76b76e0989222fe0884e7247':
  Import translations. DO NOT MERGE
2013-10-11 08:15:17 -07:00
Baligh Uddin
e8c97617dd am f6644d81: (-s ours) am 829b3dfa: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit 'f6644d81f3978b666fb0d60f78ff80f96a6cf352':
  Import translations. DO NOT MERGE
2013-10-11 08:15:14 -07:00