6593 Commits

Author SHA1 Message Date
Svetoslav Ganov
d3c197d972 The callbacks for tracking a printer called more than once without printer change.
When the user selectes a printer in the UI we ask the print service to start tracking
the printer, i.e. to observe changes of the printer state and capabilities. The callback
for the initially selected printer is called twice which breaks the contract and also
may trigger potentially expensive operations on the print service side.

More precisely the printer does not change and we ask the service to start tracking,
stop tracking, and again start tracking.

bug:11199851

Change-Id: Ib761e6da03f670b3098c69b1c0927177a8e4ae6b
2013-10-12 14:28:47 -07:00
Svetoslav Ganov
7d7888d1c7 Printed document size not persisted.
We persist ongoing print jobs so they can be restarted if the device
dies. The data size of the printed document was not persisted to disc.

bug:11199352

Change-Id: I53ef1ee285aa4808917dd6a5c7335226aba1ef0a
2013-10-12 13:18:16 -07:00
Svetoslav Ganov
9b6d3a153f Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled.
When a print service is disabled we assume all print jobs for it failed as we have
no way to know what happens to them. However we are also failing created print jobs,
i.e. ones not given to the service. Such jobs are in process of construction and
the print dialog is up. We should not fail such jobs as the dialog can still modify
their state and potentially select a print from a different service. Therefore, we
leave them alone and they will be failed if when constructed are passed to a
disabled/uninstalled service.

bug:11197432

Change-Id: Ie4fe54327e3e25776b1dd572be2dfafdd700c2e5
2013-10-12 12:35:44 -07:00
Jim Miller
7d5e00ab2b Fix bug where lockout timeout is shown for SIM in keyguard
Fixes bug 11193577

Change-Id: I62964c478bdb060ea6964009fc99bc3d7b5e3f80
2013-10-11 22:45:57 -07:00
Jim Miller
c2bf92d42a am 09abd164: am 2222a508: Merge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev
* commit '09abd164e722dfc03dad48106a557217563d3b21':
  Fix problem where PhoneWindowManager waits for keyguard to draw
2013-10-11 21:35:24 -07:00
Jim Miller
2222a508e7 Merge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev 2013-10-12 04:29:01 +00:00
Jim Miller
6a3cceb4d9 Fix problem where PhoneWindowManager waits for keyguard to draw
This fixes a problem where PhoneWindowManager times out waiting
for keyguard to draw when it's disabled.  Instead, we pass a null
token back which allows PhoneWindowManager to continue.

Fixes bug 11190932

Change-Id: I041ea1d88dca681476d9477a3aab54559976b312
2013-10-11 21:23:32 -07:00
Jim Miller
e657a82ee1 Disable the camera and search buttons while we're in bouncer mode.
Fixes 11191334

Change-Id: I035f9e4e3d033fac6e1660b2d357ddac6f36bcbf
2013-10-11 19:49:31 -07:00
Jim Miller
c69fa27513 am 8eebe3b5: am dc70340d: Merge "Enable time format localization in keyguard" into klp-dev
* commit '8eebe3b5bcdbdb1998d17bb7a058bd9ba26234c9':
  Enable time format localization in keyguard
2013-10-11 18:11:05 -07:00
Jim Miller
dc70340d48 Merge "Enable time format localization in keyguard" into klp-dev 2013-10-12 01:00:24 +00:00
Jim Miller
0c48689b08 Enable time format localization in keyguard
Fixes bug 11173871

Change-Id: Ife44c93b01770a3349343d034fe6adb1c6d66185
2013-10-11 17:50:35 -07:00
Baligh Uddin
849a41a865 Merge "Import translations. DO NOT MERGE" 2013-10-12 00:27:35 +00:00
Baligh Uddin
ea9aec27cc Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-12 00:27:15 +00:00
Baligh Uddin
1f90779654 Merge "Import translations. DO NOT MERGE" 2013-10-12 00:27:02 +00:00
Baligh Uddin
3c10347cdb Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-12 00:26:44 +00:00
Svetoslav
455e95ebab am 1f5c1f3e: am 036f05b8: Merge "Putting the cursor at the end of the copies and range inputs." into klp-dev
* commit '1f5c1f3eee2df06ae42bc9e2bb9b5502316502cc':
  Putting the cursor at the end of the copies and range inputs.
2013-10-11 17:26:42 -07:00
Baligh Uddin
84f5bf8239 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-12 00:26:24 +00:00
Svetoslav
1f5c1f3eee am 036f05b8: Merge "Putting the cursor at the end of the copies and range inputs." into klp-dev
* commit '036f05b8b0dabc72e6ce68372516c3d98da137e4':
  Putting the cursor at the end of the copies and range inputs.
2013-10-11 17:22:56 -07:00
Svetoslav
036f05b8b0 Merge "Putting the cursor at the end of the copies and range inputs." into klp-dev 2013-10-12 00:21:12 +00:00
Svetoslav
89ed9fcf9b Putting the cursor at the end of the copies and range inputs.
bug:10983508

Change-Id: I767876fada2f28b00283ed9140fca1a40729f38f
2013-10-11 17:04:34 -07:00
Baligh Uddin
b48966885e Import translations. DO NOT MERGE
Change-Id: I11e36ca2c03ecbe1a6c99a8cc4f7e4afed3e5427
Auto-generated-cl: translation import
2013-10-11 16:34:38 -07:00
Baligh Uddin
3532cb4bba Import translations. DO NOT MERGE
Change-Id: I66efc38992968ef463f4d02f1af101053adfb41e
Auto-generated-cl: translation import
2013-10-11 16:31:18 -07:00
Baligh Uddin
e9fe9d729e Import translations. DO NOT MERGE
Change-Id: I82d4f166b346b10babd67f89f3035426e74db7dd
Auto-generated-cl: translation import
2013-10-11 16:28:01 -07:00
Baligh Uddin
9c56db19c5 Import translations. DO NOT MERGE
Change-Id: I8d1fd0e44df5ea45d590e675e1f2d0afda54bc69
Auto-generated-cl: translation import
2013-10-11 16:25:46 -07:00
Baligh Uddin
b8087da933 Import translations. DO NOT MERGE
Change-Id: I289f527bef7c4274b4161d2e90c8aa82dc9608a9
Auto-generated-cl: translation import
2013-10-11 16:23:01 -07:00
Baligh Uddin
02242ca813 Import translations. DO NOT MERGE
Change-Id: I0ca278dcf2291ed0919f46eeaff99c1ca61969ae
Auto-generated-cl: translation import
2013-10-11 16:21:25 -07:00
Jim Miller
4f2bcde9db am 51f2d8ef: am 11def8f0: Merge "Delay all widget additions in keyguard until after boot completes" into klp-dev
* commit '51f2d8ef9da5008dda4b99157774327ed9138ab8':
  Delay all widget additions in keyguard until after boot completes
2013-10-11 14:43:55 -07:00
Jim Miller
51f2d8ef9d am 11def8f0: Merge "Delay all widget additions in keyguard until after boot completes" into klp-dev
* commit '11def8f06a3c03a0056e9fa010b28622d9d88d2b':
  Delay all widget additions in keyguard until after boot completes
2013-10-11 14:40:57 -07:00
Jim Miller
11def8f06a Merge "Delay all widget additions in keyguard until after boot completes" into klp-dev 2013-10-11 21:38:05 +00:00
Svetoslav
0004010369 am 8e80d1f9: am 33021d95: Merge "Adding timeout if the current printer or its capabilities disappear." into klp-dev
* commit '8e80d1f953932ad867ff4f0b23b466565f1b15f0':
  Adding timeout if the current printer or its capabilities disappear.
2013-10-11 14:36:56 -07:00
Svetoslav
8e80d1f953 am 33021d95: Merge "Adding timeout if the current printer or its capabilities disappear." into klp-dev
* commit '33021d95a8f3ca127c1df6aeb54c3a9219f46093':
  Adding timeout if the current printer or its capabilities disappear.
2013-10-11 14:32:59 -07:00
Svetoslav
33021d95a8 Merge "Adding timeout if the current printer or its capabilities disappear." into klp-dev 2013-10-11 21:30:02 +00:00
Svetoslav
02dded1a63 Adding timeout if the current printer or its capabilities disappear.
If the current printer becomes unavailable or its capabilities
go away we are scheduling a timeout to declare the printer as
unavailable.

bug:10983508

Change-Id: Iab85cfd35fc0cecc3dd4abac6232347f9da18fb0
2013-10-11 14:02:49 -07:00
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