117358 Commits

Author SHA1 Message Date
Craig Mautner
3e9230d42f am 22e4a1b8: am 10ea1978: Merge "Only return to home if the foreground task is removed." into klp-dev
* commit '22e4a1b8e5ca72988bbdd7da2b7fe38f53d85c26':
  Only return to home if the foreground task is removed.
2013-10-12 18:46:05 -07:00
Craig Mautner
cd32edfb0f am 5b64aa68: Merge "Restore wallpaper positioning between apps." into klp-dev
* commit '5b64aa689f22fd72107db26a7ba42654599144e4':
  Restore wallpaper positioning between apps.
2013-10-12 18:43:19 -07:00
Craig Mautner
22e4a1b8e5 am 10ea1978: Merge "Only return to home if the foreground task is removed." into klp-dev
* commit '10ea197826a2878f17a53dfc9ff4da4ee674244c':
  Only return to home if the foreground task is removed.
2013-10-12 18:43:15 -07:00
Craig Mautner
5b64aa689f Merge "Restore wallpaper positioning between apps." into klp-dev 2013-10-13 01:40:44 +00:00
Craig Mautner
10ea197826 Merge "Only return to home if the foreground task is removed." into klp-dev 2013-10-13 01:40:02 +00:00
Svetoslav Ganov
ff98feec6f am 79ddf835: am bececbfa: Merge "Printed document size not persisted." into klp-dev
* commit '79ddf835227283979dc353e57711a9d6dff8edb0':
  Printed document size not persisted.
2013-10-12 17:37:38 -07:00
Svetoslav Ganov
603ece2e8e am bfc8edcf: am 63ce2019: Merge "Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled." into klp-dev
* commit 'bfc8edcf55c4f65ec00ca5d921a3cae1b367b248':
  Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled.
2013-10-12 17:37:35 -07:00
Svetoslav Ganov
79ddf83522 am bececbfa: Merge "Printed document size not persisted." into klp-dev
* commit 'bececbfae675055aa60ea21c5b8bd3dbb8acdbac':
  Printed document size not persisted.
2013-10-12 17:34:47 -07:00
Svetoslav Ganov
bfc8edcf55 am 63ce2019: Merge "Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled." into klp-dev
* commit '63ce201963339d937cf66fed7870356291dc57ad':
  Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled.
2013-10-12 17:34:43 -07:00
Svetoslav Ganov
bececbfae6 Merge "Printed document size not persisted." into klp-dev 2013-10-13 00:32:47 +00:00
Svetoslav Ganov
63ce201963 Merge "Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled." into klp-dev 2013-10-13 00:32:12 +00:00
Svetoslav Ganov
7ff610ee02 The print dialog in bad state after pressing back from prnt to PDF.
When selecting print to PDF and then pressing back to return from the
storage UI activity, the print dialog was in a state where nothing
is selected.

bug:10983508

Change-Id: I9c14b5fa18e812104ade6a2eacd626b5f7387111
2013-10-12 17:24:05 -07:00
Svetoslav Ganov
d91cb3ea61 The list of active print jobs in print service retunring wrong result.
1. The getActivePrintJobs() method in print service is designed to return
   the active print job i.e. ones scheduled to be processed by the print
   service. Now the correct list is returned.

2. The listeners for observing the state of print jobs may be called even
   after being unregistered. Ex: state change occurs and we schedule a
   message on the app's main thread to make the notificaion. Now the app
   unregisretes the callback and on the next loop the notification message
   is handled.

bug:11200258

Change-Id: I4a497b5c9a7287a22023cafe41ce966d14300ca6
2013-10-12 16:09:29 -07:00
Joe Malin
5f2bc80f18 am e8117b64: am a2c64bb6: am 91245730: am ca338777: am 45edbb70: DOC CHANGE: FileProvider training class
* commit 'e8117b64ee8580892e9fdad76bbd152bcf123c96':
  DOC CHANGE: FileProvider training class
2013-10-12 15:56:42 -07:00
Joe Malin
e8117b64ee am a2c64bb6: am 91245730: am ca338777: am 45edbb70: DOC CHANGE: FileProvider training class
* commit 'a2c64bb629554279fb7458c53d7f97f4d2fea37f':
  DOC CHANGE: FileProvider training class
2013-10-12 15:55:23 -07:00
Joe Malin
a2c64bb629 am 91245730: am ca338777: am 45edbb70: DOC CHANGE: FileProvider training class
* commit '91245730a103f526a7c3cc0f4f6c3a03c1094703':
  DOC CHANGE: FileProvider training class
2013-10-12 15:52:19 -07:00
Joe Malin
91245730a1 am ca338777: am 45edbb70: DOC CHANGE: FileProvider training class
* commit 'ca3387776037cd00b7bd7114535e3f3365cf3464':
  DOC CHANGE: FileProvider training class
2013-10-12 15:49:09 -07:00
Joe Malin
ca33877760 am 45edbb70: DOC CHANGE: FileProvider training class
* commit '45edbb701ac44891aa07a403a55ee2393da9b25f':
  DOC CHANGE: FileProvider training class
2013-10-12 15:46:02 -07:00
Craig Mautner
faf1a40382 Restore wallpaper positioning between apps.
Simplification where wallpaper was behind all apps didn't work when
keyguard and associated wallpaper needed to be above phone screen when
phone screen animated in and out. Instead phone screen was instantly
hiding the wallpaper.

Fixes most of bug 10932680.

This fixes the wallpaper disappearing as soon as the animation begins
when going from keyguard to phone. There remains jank going from phone
to lockscreen where the animation is not occurring and the phone
blanks out immediately.

Change-Id: Ie5f464acb2f6cefd2fb91f3b920a687ec7c15d76
2013-10-12 15:43:07 -07:00
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
Craig Mautner
2219b751b6 Only return to home if the foreground task is removed.
The previous fix that returned to home when a task on top of home was
removed was too broad. If that task was not the foreground task it was
not a good idea to bring the home screen to the front.

Fixes bug 11198552.

Change-Id: I14e5fdc167011f25e0e8490c3e52c5c1dcbffbff
2013-10-12 11:26:08 -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
Craig Mautner
76371f0f0e am 2c1934d3: am 5a783173: Merge "Test for hidden keyguard before waiting for it." into klp-dev
* commit '2c1934d302730bf4dc9190bc600bee180067df3b':
  Test for hidden keyguard before waiting for it.
2013-10-11 21:58:55 -07:00
Craig Mautner
2c1934d302 am 5a783173: Merge "Test for hidden keyguard before waiting for it." into klp-dev
* commit '5a7831733be2040fde78027fe2f7eca4f4cc2e28':
  Test for hidden keyguard before waiting for it.
2013-10-11 21:56:55 -07:00
Craig Mautner
5a7831733b Merge "Test for hidden keyguard before waiting for it." into klp-dev 2013-10-12 04:54:42 +00:00
Craig Mautner
6f29590e9a Test for hidden keyguard before waiting for it.
Now that non-null window tokens are coming in in additional situations
(ag/372453) we have to look at whether the keyguard is hidden before
deciding to wait for it.

Fixes bug 1187500.

Change-Id: Ie89d5334ab3d0f5b8f2cf8c87fef84a9b6392b72
2013-10-11 21:43:06 -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
09abd164e7 am 2222a508: Merge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev
* commit '2222a508e7a1ae963ac1891c555f9add10e571af':
  Fix problem where PhoneWindowManager waits for keyguard to draw
2013-10-11 21:32:35 -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
Craig Mautner
272b0929a9 am 6b5fc882: am 166434ec: Merge "When removing a task that was on home, put home on top." into klp-dev
* commit '6b5fc882d1823c8922860ef284442442b635111b':
  When removing a task that was on home, put home on top.
2013-10-11 19:48:12 -07:00
Craig Mautner
6b5fc882d1 am 166434ec: Merge "When removing a task that was on home, put home on top." into klp-dev
* commit '166434eca57a09aed9347a3cfff5e80b268f97b0':
  When removing a task that was on home, put home on top.
2013-10-11 19:44:31 -07:00
Craig Mautner
166434eca5 Merge "When removing a task that was on home, put home on top." into klp-dev 2013-10-12 02:42:38 +00: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
8eebe3b5bc am dc70340d: Merge "Enable time format localization in keyguard" into klp-dev
* commit 'dc70340d48eeddf4aa92a4d199179cde269c5bd4':
  Enable time format localization in keyguard
2013-10-11 18:08:00 -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
Robert Greenwalt
dcc31551f8 am e9d99705: am 72dc0b43: Merge "Make Wifi Scans more heap-efficient" into klp-dev
* commit 'e9d997050bdd4cc273205f3451995f0e1e9cc3af':
  Make Wifi Scans more heap-efficient
2013-10-11 17:37:56 -07:00
Craig Mautner
8e5695778f When removing a task that was on home, put home on top.
Killing an app that was launched from home was not relaunching home.
Previous situations relaunched the next app (i.e. home) based on the
task flag. However, when an app dies the relaunch is deferred until
the TaskRecord has long been forgotten. This fix rearranges the stacks
immediately upon the TaskRecord being removed from the stack. Then the
next resumeTopActivities() call will start the home task.

Fixes bug 11189555.

Change-Id: I0e09350a7db55ea8b38cce7bf4b69923a6b99494
2013-10-11 17:36:59 -07:00
Baligh Uddin
92756b89c8 am 5a531ff9: (-s ours) am ea9aec27: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '5a531ff96081c20cab087306907c406076a10ddb':
  Import translations. DO NOT MERGE
2013-10-11 17:34:14 -07:00
Baligh Uddin
93a1154fbf am a57076e8: (-s ours) am 3c10347c: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'a57076e820731347236e69aee8abab73f2ab2ad2':
  Import translations. DO NOT MERGE
2013-10-11 17:34:11 -07:00
Baligh Uddin
480f83cfc6 am db79e4d4: (-s ours) am 84f5bf82: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'db79e4d41d21cf7daf403d680851d78c6c59a2af':
  Import translations. DO NOT MERGE
2013-10-11 17:34:07 -07:00
Robert Greenwalt
e9d997050b am 72dc0b43: Merge "Make Wifi Scans more heap-efficient" into klp-dev
* commit '72dc0b439152ad1428d8713abc2b8f16911e2e7e':
  Make Wifi Scans more heap-efficient
2013-10-11 17:33:21 -07:00
Baligh Uddin
e6cc525f45 am b43e0ead: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit 'b43e0eadbe144eae189ecf9f26005fd76d9f31d6':
  Import translations. DO NOT MERGE
2013-10-11 17:30:31 -07:00
Baligh Uddin
e3e194ae8b am 8cdfa5cd: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit '8cdfa5cd18ecf552f99c826797951a9a86c2af3c':
  Import translations. DO NOT MERGE
2013-10-11 17:30:28 -07:00
Baligh Uddin
9f93c67c6a am adb1b5b4: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit 'adb1b5b43f517751151835e2143d53ad3666ac8e':
  Import translations. DO NOT MERGE
2013-10-11 17:30:25 -07:00
Baligh Uddin
b780082cf3 am 4bb81ac8: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-ub-dev
* commit '4bb81ac838dd910ea4a8dded676d70d4e399eed9':
  Import translations. DO NOT MERGE
2013-10-11 17:30:23 -07:00