6409 Commits

Author SHA1 Message Date
Svetoslav
1d4a8bf4c4 am 6346a928: am c8c943a9: am 3691dd06: Merge "Print spooler not starting." into klp-dev
* commit '6346a9285a3a1a45da4cfda26ea6ed454a87114f':
  Print spooler not starting.
2013-10-11 14:02:49 -07:00
Svetoslav
6346a9285a am c8c943a9: am 3691dd06: Merge "Print spooler not starting." into klp-dev
* commit 'c8c943a93044f63e27b725901568dc62a84606a8':
  Print spooler not starting.
2013-10-11 13:59:39 -07:00
Svetoslav
c8c943a930 am 3691dd06: Merge "Print spooler not starting." into klp-dev
* commit '3691dd063f297162facebf723ac53831126395b5':
  Print spooler not starting.
2013-10-11 13:56:59 -07:00
Svetoslav
3691dd063f Merge "Print spooler not starting." into klp-dev 2013-10-11 20:55:01 +00:00
Jeff Sharkey
c69cf32252 am 416165f4: am ce05cbc5: am 6e19feb4: Merge "Treat dates near epoch as unknown." into klp-dev
* commit '416165f4313ac2deea430030ff44d9da0388b8bc':
  Treat dates near epoch as unknown.
2013-10-11 12:55:26 -07:00
Jeff Sharkey
416165f431 am ce05cbc5: am 6e19feb4: Merge "Treat dates near epoch as unknown." into klp-dev
* commit 'ce05cbc5ec52417f1f927be2b3d9b93e0881a4d9':
  Treat dates near epoch as unknown.
2013-10-11 12:50:12 -07:00
Svetoslav
54adee86af Print spooler not starting.
1. In my previous change I fixed a typo in the Java constant with
   intent action to launch the print dialog but failed to updated
   the print spooler manifest.

2. Removed dead code - the user id is no longer needed since the
   spooler is an app that runs per user. Every user has its spooler.
   This code was not referenced from anywhere.

3. Added a default icon to the print spooler.

4. Fixed a bug where if the print history is empty the UI goes
   to the all pritners activity.

bug:11059554

Change-Id: If74c23b418a8c67620ba14435ee7f3b2c4527099
2013-10-11 12:39:47 -07:00
Jeff Sharkey
ce05cbc5ec am 6e19feb4: Merge "Treat dates near epoch as unknown." into klp-dev
* commit '6e19feb4f3da02916754636d3ade340dcd5412d5':
  Treat dates near epoch as unknown.
2013-10-11 12:23:35 -07:00
Jeff Sharkey
6e19feb4f3 Merge "Treat dates near epoch as unknown." into klp-dev 2013-10-11 19:18:51 +00:00
Alan Viverette
40c610f672 am 32f3e15c: am 625f3978: am 8da6bc53: Merge "Resize lock screen widgets when IME is open." into klp-dev
* commit '32f3e15c77bd294b43c02229708d4047faaa8830':
  Resize lock screen widgets when IME is open.
2013-10-11 10:40:20 -07:00
Alan Viverette
32f3e15c77 am 625f3978: am 8da6bc53: Merge "Resize lock screen widgets when IME is open." into klp-dev
* commit '625f397843f2799756577791478e132ce9f55063':
  Resize lock screen widgets when IME is open.
2013-10-11 10:37:01 -07:00
Alan Viverette
625f397843 am 8da6bc53: Merge "Resize lock screen widgets when IME is open." into klp-dev
* commit '8da6bc53c89020de7e6c252bcb1e658f4fb0c32f':
  Resize lock screen widgets when IME is open.
2013-10-11 10:34:08 -07:00
Alan Viverette
8da6bc53c8 Merge "Resize lock screen widgets when IME is open." into klp-dev 2013-10-11 17:30:59 +00:00
Svetoslav Ganov
ad9f1cce8c am 0d24a810: am 9ce7ae3e: am f22a767e: Merge "Added UI for errors during layout and write." into klp-dev
* commit '0d24a810d2ab6b5f7092aff3d11442debd78396a':
  Added UI for errors during layout and write.
2013-10-11 10:14:39 -07:00
Svetoslav
a1f9936c6b am 5c880d0d: am 6f688e87: am 8f34715b: Merge "Refactor how the print dialog activity is started." into klp-dev
* commit '5c880d0d1551603dcc4366406ec9ee3b812a8fc4':
  Refactor how the print dialog activity is started.
2013-10-11 10:11:05 -07:00
Svetoslav Ganov
0d24a810d2 am 9ce7ae3e: am f22a767e: Merge "Added UI for errors during layout and write." into klp-dev
* commit '9ce7ae3e2001f378199845d4c14b4304a60b3daf':
  Added UI for errors during layout and write.
2013-10-11 10:09:39 -07:00
Svetoslav Ganov
9ce7ae3e20 am f22a767e: Merge "Added UI for errors during layout and write." into klp-dev
* commit 'f22a767e872ec8f5c2531a88819e0f4574c78fe3':
  Added UI for errors during layout and write.
2013-10-11 10:08:00 -07:00
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
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
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
Baligh Uddin
24c4f55bac Merge "Import translations. DO NOT MERGE" 2013-10-11 15:16:00 +00: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
Daniel Sandler
35c01fe115 am bc1efa92: am 3b4e1c0a: am 26b49a7d: Merge "Be sure to update the display metrics on config change." into klp-dev
* commit 'bc1efa92c455ff3b48b5e14cc6eda7f9f76058f6':
  Be sure to update the display metrics on config change.
2013-10-11 08:11:35 -07:00
Baligh Uddin
e2835bc6b4 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:09:16 +00:00
Baligh Uddin
3cf39ba82a Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:09:11 +00:00
Baligh Uddin
ccfd6f44f4 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:09:06 +00:00
Baligh Uddin
f87aac1b32 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:08:48 +00:00
Baligh Uddin
d52cfad38f Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:08:44 +00:00
Baligh Uddin
491ad45fee Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:39 +00:00
Baligh Uddin
260c29d0f0 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:08:35 +00:00
Baligh Uddin
576124688b Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:08:29 +00:00
Baligh Uddin
d32e9b7ffb Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:10 +00:00
Baligh Uddin
eb175e03ac Merge "Import translations. DO NOT MERGE" 2013-10-11 15:08:05 +00:00
Baligh Uddin
40705a8b55 Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:08:00 +00:00
Baligh Uddin
29cff85287 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:57 +00:00
Baligh Uddin
7ee62b6a09 Merge "Import translations. DO NOT MERGE" 2013-10-11 15:07:51 +00:00
Baligh Uddin
829b3dfae0 Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:07:47 +00:00
Baligh Uddin
d010f7a3e2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:42 +00:00
Daniel Sandler
bc1efa92c4 am 3b4e1c0a: am 26b49a7d: Merge "Be sure to update the display metrics on config change." into klp-dev
* commit '3b4e1c0acdd6e65a0ce957cf794e5161f07d7e23':
  Be sure to update the display metrics on config change.
2013-10-11 08:04:18 -07:00
Daniel Sandler
3b4e1c0acd am 26b49a7d: Merge "Be sure to update the display metrics on config change." into klp-dev
* commit '26b49a7dbbeda13f62200c2a04984b638e7aa1ea':
  Be sure to update the display metrics on config change.
2013-10-11 08:01:16 -07:00
Daniel Sandler
26b49a7dbb Merge "Be sure to update the display metrics on config change." into klp-dev 2013-10-11 14:58:13 +00:00
Daniel Sandler
7e8ae50efb Be sure to update the display metrics on config change.
Regression of ancient bugs 6955586 & 7086018 (navigation bar
missing buttons since they're stacked up off the screen
along the wrong axis).

Bug: 10341684
Change-Id: I778b085bf256cb20ecceaf38fd229a7de9b75aae
2013-10-11 00:46:04 -04:00
Adam Powell
59bb250510 am 000fa146: am ad1d8b68: am 1db8cf12: Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev
* commit '000fa14613995d830022bccc2cc573653258b725':
  Toggle wallpaper window flag when setting custom keyguard background
2013-10-10 20:16:52 -07:00
Adam Powell
000fa14613 am ad1d8b68: am 1db8cf12: Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev
* commit 'ad1d8b68b6286f88be510d23f7dcfa4cd6dc5b36':
  Toggle wallpaper window flag when setting custom keyguard background
2013-10-10 20:15:13 -07:00
Adam Powell
ad1d8b68b6 am 1db8cf12: Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev
* commit '1db8cf12a985425a73d24875d9d308c14c0b4359':
  Toggle wallpaper window flag when setting custom keyguard background
2013-10-10 20:12:40 -07:00