113367 Commits

Author SHA1 Message Date
Jim Miller
0c48689b08 Enable time format localization in keyguard
Fixes bug 11173871

Change-Id: Ife44c93b01770a3349343d034fe6adb1c6d66185
2013-10-11 17:50:35 -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
Jeff Sharkey
12ad9ce23e Merge "Fix spelling." into klp-dev 2013-10-11 21:30:54 +00: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
Matthew Williams
32551ae519 Merge "Fix infinite boot-loop bug in SM." into klp-dev 2013-10-11 21:26:19 +00:00
Jeff Sharkey
ed74f8eda2 Fix spelling.
Change-Id: Ibcc5a5b976e185c4a6605b18b645b05a5c00f3ec
2013-10-11 14:25:48 -07:00
Jean-Michel Trivi
7a6ccb8729 Merge "Remote volume changes" into klp-dev 2013-10-11 21:12:22 +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
Chris Craik
c2245e1ac7 Merge "Workaround fading edge incompatibility with alpha modulation" into klp-dev 2013-10-11 20:57:34 +00:00
Svetoslav
3691dd063f Merge "Print spooler not starting." into klp-dev 2013-10-11 20:55:01 +00:00
Matthew Williams
632515b9d0 Fix infinite boot-loop bug in SM.
Bug:11064918
If the ContentResolver sync API is used with the empty ("")
string as a provider, the ContentService will throw an RTE.
This cl addresses all the entry points of the API that could
allow this, as well as adds an ifEmpty check at the point of
failure.
Also removed RTE throws from public functions(no point in
crashing the phone).

Change-Id: I57427d12a6cafb3e6d7a32ca0c10b05315b20580
2013-10-11 13:18:22 -07:00
Chris Craik
7bcde5009d Workaround fading edge incompatibility with alpha modulation
bug:11121809

Fading edges, such as drawn by a scrolling marquee TextView, don't
behave correctly when their view is modulated, as done by the view
system when alpha is set on a view that returns false from
hasOverlappingRendering.

To work around this, always return true from hasOverlappingRendering
if a TextView has horizontal fading edges enabled.

Change-Id: I64c9b8c653aa1d9ca320292306fd24333e3ee225
2013-10-11 12:55:42 -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
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
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
ab3276ddd9 Merge "Make an exception for screenshot optimization." into klp-dev 2013-10-11 18:41:45 +00:00
Jean-Michel Trivi
fca1e60323 Remote volume changes
When the user plays media remotely, and presses on the volume
 keys with the screen off, verify whether not only local playback
 is active, but also if remote playback is active to see if
 the volume should be adjusted.
When adjusting the volume with screen off, adjust the remote
 volume if applicable.

When controlling volume, give priority to local media playback.

Bug 11169862

Change-Id: I88a8c003969177d50d4c1569ec6cd2a7c153a341
2013-10-11 11:36:18 -07: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
8da6bc53c8 Merge "Resize lock screen widgets when IME is open." into klp-dev 2013-10-11 17:30:59 +00: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
f22a767e87 Merge "Added UI for errors during layout and write." into klp-dev 2013-10-11 17:06:12 +00: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
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
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)
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
8ca2d05293 Merge "Fix dock rect calculation when nav is translucent." into klp-dev 2013-10-11 15:49:54 +00:00
Baligh Uddin
38de7ab47a Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:15:50 +00:00
Baligh Uddin
ccfd6f44f4 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:09:06 +00:00
Baligh Uddin
6db722776b Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:53 +00:00
Baligh Uddin
491ad45fee Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:39 +00:00
Baligh Uddin
d32e9b7ffb Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:08:10 +00:00
Baligh Uddin
29cff85287 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:57 +00:00
Baligh Uddin
d010f7a3e2 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-10-11 15:07:42 +00: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
Torne (Richard Coles)
740753c5b4 Add internal resource symbol used by WebViewChromium.
The Chromium WebView needs access to the default <video> tag poster
image, which is a framework resource. Add to the list of internal
resource symbols.

Bug: 11158656
Change-Id: I0c9ca7c25fe4c9a970b9e336ff72eda55637c201
2013-10-11 15:47:06 +01:00
Jim Miller
9ccf123ee0 Delay all widget additions in keyguard until after boot completes
Fixes bug 11013685

Change-Id: Ic74b2d5cf80f090b0168d384f65c15b0d256c74c
2013-10-10 22:49:40 -07: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
Vineeta Srivastava
caaefaeab7 Merge "Setting MTU size for specific network" into klp-dev 2013-10-11 04:07:58 +00:00
Craig Mautner
2881630af9 Reduce jank on incoming phone call during dream.
- Include dreams in the conditions that disable transition animations.
  This way there is no visibility of activities that are closing
  behind the keyguard when an activity that dismisses the keyguard
  starts up.

- Do not notify the keyguard mediator when the keyguard is dismissed
  because a dream is starting up. This keeps activities from resuming
  just because the keyguard is being dismissed.

Fixes bug 11064847.

Change-Id: I9d32fc96d518b1cdab511e187226a3cb889cf6d4
2013-10-10 20:31:00 -07:00
Adam Powell
1db8cf12a9 Merge "Toggle wallpaper window flag when setting custom keyguard background" into klp-dev 2013-10-11 03:09:35 +00:00