113657 Commits

Author SHA1 Message Date
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
Craig Mautner
b1ce68f5a4 am 09cb9bdc: Merge "Add test for topmost home stack activity being home." into klp-dev
* commit '09cb9bdcc8949605e5a26ab50ac73970d1092978':
  Add test for topmost home stack activity being home.
2013-10-11 12:52:24 -07:00
Craig Mautner
09cb9bdcc8 Merge "Add test for topmost home stack activity being home." into klp-dev 2013-10-11 19:50:03 +00: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
Scott Main
d5786ca0a6 am 1001cf21: am eae969c1: am 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability
* commit '1001cf21ed98d7be4485a764eda5b74012bed7b7':
  media-formats.html: clarify WebP availability
2013-10-11 12:37:53 -07:00
Scott Main
1001cf21ed am eae969c1: am 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability
* commit 'eae969c17a6507c6985b5d9be1f6e0523766f6dd':
  media-formats.html: clarify WebP availability
2013-10-11 12:32:48 -07:00
Scott Main
eae969c17a am 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability
* commit '439c4b4783ec9e800e9a6fd6fc38dd393c41b77b':
  media-formats.html: clarify WebP availability
2013-10-11 12:30:43 -07:00
Scott Main
439c4b4783 am c0da3f1d: media-formats.html: clarify WebP availability
* commit 'c0da3f1d60f99c3188906d429ed38edbdd934f12':
  media-formats.html: clarify WebP availability
2013-10-11 12:27:13 -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
Scott Main
c0da3f1d60 media-formats.html: clarify WebP availability
Lossless and transparency support were added in JB-MR1

CL copied from https://critique.corp.google.com/#review/53655564

Change-Id: I2c568525ff7c7a540328e41a57b6f16647733e4e
2013-10-11 12:03:12 -07:00
Craig Mautner
760b2314d9 Add test for topmost home stack activity being home.
And restarts home if test fails.

Fixes bug 11118615.

Change-Id: I3b6c544d479b467f10febff512798c2db8e32f74
2013-10-11 11:57:07 -07:00
Craig Mautner
4732660a50 am ab3276dd: Merge "Make an exception for screenshot optimization." into klp-dev
* commit 'ab3276ddd902b44a81fc6973c5256b6e7e027fd1':
  Make an exception for screenshot optimization.
2013-10-11 11:45:08 -07:00
Craig Mautner
ab3276ddd9 Merge "Make an exception for screenshot optimization." into klp-dev 2013-10-11 18:41:45 +00:00
Craig Mautner
3474040486 Make an exception for screenshot optimization.
Screenshots were not being made for tasks with the flag
FLAG_EXCLUDE_FROM_RECENTS set. But if the task is in the foreground
the shot should be taken even with the flag set. This fix adds a test
for tasks being in the foreground.

Fixes bug 11170567.

Change-Id: If42db7f43ed1dd8d2b16b68824adc813b31c94f0
2013-10-11 11:05:35 -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
John Spurlock
b8818120ce am e2bd7be2: Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev
* commit 'e2bd7be298448602568e56a8cb6c3d7de3c08955':
  Ensure fitSystemWindows is called on the IME at least once.
2013-10-11 10:29:33 -07:00
John Spurlock
e2bd7be298 Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev 2013-10-11 17:27:26 +00:00
John Spurlock
3bf26b6f2f Ensure fitSystemWindows is called on the IME at least once.
InputMethodService will recreate the entire layout on config changes.
Until the system insets change again, the new instance will not
hear about the insets.

This change ensures fitSystemWindows is called at least once for all
input method root views that are added to a window.

Bug:11174545
Change-Id: Id0f02f32c0d6e9c2d6b6aeef74a12a13acfbb9e6
2013-10-11 13:16:23 -04: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
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
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
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)
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
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
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
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
9aa75f29a6 am ccfd6f44: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'ccfd6f44f487edb8cdd33731ec1f001bf9e1a913':
  Import translations. DO NOT MERGE
2013-10-11 08:11:24 -07:00
Baligh Uddin
c0cad45666 am 6db72277: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '6db722776b1486072724a6d361ba474835cf055e':
  Import translations. DO NOT MERGE
2013-10-11 08:11:21 -07:00
Baligh Uddin
25130be0cb am 491ad45f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '491ad45fee7e84772ff93d351125951a0e219174':
  Import translations. DO NOT MERGE
2013-10-11 08:11:19 -07:00
Baligh Uddin
bcb05cd06c am d32e9b7f: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'd32e9b7ffb9e7657c510f69cc2c770bd8986c95c':
  Import translations. DO NOT MERGE
2013-10-11 08:11:16 -07:00
Baligh Uddin
b7c280af9a am 29cff852: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit '29cff85287867f98edd9ebba5c580e4dbc460e89':
  Import translations. DO NOT MERGE
2013-10-11 08:11:13 -07:00
Baligh Uddin
a60212ab90 am d010f7a3: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-dev
* commit 'd010f7a3e2df30d08ce03312e7bf2232b8a4ffad':
  Import translations. DO NOT MERGE
2013-10-11 08:11:09 -07: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
e4e6a4f3af Merge "Import translations. DO NOT MERGE" into klp-ub-dev 2013-10-11 15:08:58 +00:00
Baligh Uddin
6db722776b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:53 +00:00