OSDN Git Service
Jim Miller [Sun, 13 Oct 2013 22:54:21 +0000 (22:54 +0000)]
Merge "Fix bug where lockout timeout is shown for SIM in keyguard" into klp-dev
Jim Miller [Sun, 13 Oct 2013 22:53:36 +0000 (22:53 +0000)]
Merge "Disable the camera and search buttons while we're in bouncer mode." into klp-dev
Vineeta Srivastava [Sun, 13 Oct 2013 22:52:03 +0000 (22:52 +0000)]
Merge "telephony: redirect call barring MMI code to other purpose" into klp-dev
Aravind Akella [Sun, 13 Oct 2013 22:48:03 +0000 (22:48 +0000)]
Merge "Adding stepcounter & stepdetector feature strings." into klp-dev
duho.ro [Wed, 2 Oct 2013 05:47:16 +0000 (14:47 +0900)]
telephony: redirect call barring MMI code to other purpose
Some operators redirect call barring MMI codes to other purpose.
For instance, *333# should be processed as USSD code with Indonesia
Axis SIM and Indonesia Hutchison SIM. This change is adding an array
for call barring MMI code to config.xml. So, we can redefine the array
for redirecting the call barring MMI codes.
Bug:
10101303
Change-Id: Ib21540a90c64e105cd4bc1864238329d594cd056
Conflicts:
core/res/res/values/config.xml
core/res/res/values/symbols.xml
John Spurlock [Sun, 13 Oct 2013 22:10:30 +0000 (22:10 +0000)]
Merge "If the panels are disabled, don't go opaque on interaction." into klp-dev
Victoria Lease [Sun, 13 Oct 2013 22:04:22 +0000 (22:04 +0000)]
Merge "do not request location from unavailable providers" into klp-dev
Adam Powell [Sun, 13 Oct 2013 21:26:34 +0000 (21:26 +0000)]
Merge "Account for translationY when targeting the fast scroller via touch" into klp-dev
Jim Miller [Sun, 13 Oct 2013 21:24:42 +0000 (21:24 +0000)]
Merge "Update clock to use 14dp instead of 12dp for status info." into klp-dev
Jim Miller [Sun, 13 Oct 2013 21:11:04 +0000 (14:11 -0700)]
Update clock to use 14dp instead of 12dp for status info.
Fixes bug
11195120
Change-Id: Ifa24ad80f64363e2cc815de67d2e99a27eef3425
Adam Powell [Sun, 13 Oct 2013 20:35:27 +0000 (13:35 -0700)]
Account for translationY when targeting the fast scroller via touch
Bug
11188512
Change-Id: Ia8e0088760a18d5862bbe1b904610abd908a190e
Daniel Sandler [Sun, 13 Oct 2013 19:30:28 +0000 (19:30 +0000)]
Merge "New window cling for immersive mode." into klp-dev
Daniel Sandler [Sun, 13 Oct 2013 19:29:29 +0000 (19:29 +0000)]
Merge "Easter egg cleanups." into klp-dev
Daniel Sandler [Fri, 11 Oct 2013 18:27:53 +0000 (14:27 -0400)]
New window cling for immersive mode.
Bug:
11077915
Change-Id: I6858259b31301b76dee81d3e6fbc534c1cdea661
Svetoslav Ganov [Sun, 13 Oct 2013 19:27:22 +0000 (19:27 +0000)]
Merge "Printing from secondary user not working." into klp-dev
Svetoslav Ganov [Sun, 13 Oct 2013 19:21:17 +0000 (19:21 +0000)]
Merge "The print dialog in bad state after pressing back from prnt to PDF." into klp-dev
Daniel Sandler [Sun, 13 Oct 2013 19:20:52 +0000 (15:20 -0400)]
Easter egg cleanups.
Bug:
11171189
Bug:
10240151
Change-Id: Id5a8904bdf6c16302e09f2b48392f99c280a8179
Victoria Lease [Sun, 13 Oct 2013 19:15:40 +0000 (12:15 -0700)]
do not request location from unavailable providers
This commit prevents a system_server crash when applications attempt
to use the fused location provider on systems that do not have a
network location provider available.
Bug:
10845061
Change-Id: I85b33806e05566e8b68ee2ccc401b1c565fd7b9a
Svetoslav Ganov [Sun, 13 Oct 2013 19:10:12 +0000 (19:10 +0000)]
Merge "The list of active print jobs in print service retunring wrong result." into klp-dev
Adam Powell [Sun, 13 Oct 2013 19:07:42 +0000 (19:07 +0000)]
Merge "Tighten up the KG transport control layout for stability" into klp-dev
Svetoslav Ganov [Sun, 13 Oct 2013 19:07:25 +0000 (19:07 +0000)]
Merge "The callbacks for tracking a printer called more than once without printer change." into klp-dev
Adam Powell [Sun, 13 Oct 2013 18:07:33 +0000 (11:07 -0700)]
Tighten up the KG transport control layout for stability
Decrease margin between elements to allow the transport controls to
fully fit within the space allotted on some devices. This prevents
unwanted resizing and shuffling when the challenge is swiped downward
to make more room for the current widget page.
Also remove some unused views from features not currently supported.
Bug
11158270
Change-Id: Id5b19a9399760e291495a16def315c7ad6437450
Adam Powell [Sun, 13 Oct 2013 17:39:04 +0000 (10:39 -0700)]
Use INVISIBLE instead of GONE to hide KG transport buttons
Maintain a stable/predictable button layout when a remote control
client shows or hides specific transport control buttons.
Bug
11195246
Change-Id: I0e745150127c5e354ed2752c379e05ea8e0bd33d
John Spurlock [Sun, 13 Oct 2013 17:34:21 +0000 (13:34 -0400)]
If the panels are disabled, don't go opaque on interaction.
Bug:
11149893
Change-Id: Id1a56200ead6e7d7e78e665796646b90ed5c0870
Svetoslav Ganov [Sun, 13 Oct 2013 02:04:53 +0000 (19:04 -0700)]
Printing from secondary user not working.
The last refactoring of how the print dialog activity is started moved
the code that creates the pending intent from the spooler which is a
per user app to the system process but failed to create the intent
for the right user. Also the code in the print manager service that
puts a notification for a newly isntalled print service was not taking
into account the current user.
bug:
11199393
Change-Id: I64ecf9dc1457ec4d58cc1a62e53735bb0793a003
Eino-Ville Talvala [Sun, 13 Oct 2013 01:50:30 +0000 (01:50 +0000)]
Merge "DO NOT MERGE: Hide new camera API." into klp-dev
Aravind Akella [Sun, 13 Oct 2013 00:39:15 +0000 (17:39 -0700)]
Adding stepcounter & stepdetector feature strings.
Change-Id: Ic8cc95612f776db7cb1d1c13a228d5cd8ed64f56
Craig Mautner [Sun, 13 Oct 2013 01:40:44 +0000 (01:40 +0000)]
Merge "Restore wallpaper positioning between apps." into klp-dev
Craig Mautner [Sun, 13 Oct 2013 01:40:02 +0000 (01:40 +0000)]
Merge "Only return to home if the foreground task is removed." into klp-dev
Svetoslav Ganov [Sun, 13 Oct 2013 00:32:47 +0000 (00:32 +0000)]
Merge "Printed document size not persisted." into klp-dev
Svetoslav Ganov [Sun, 13 Oct 2013 00:32:12 +0000 (00:32 +0000)]
Merge "Fail only scheduled print jobs, i.e. handed to a service, if the service is disabled." into klp-dev
Svetoslav Ganov [Sun, 13 Oct 2013 00:23:59 +0000 (17:23 -0700)]
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
Svetoslav Ganov [Sat, 12 Oct 2013 22:44:42 +0000 (15:44 -0700)]
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
Joe Malin [Sat, 12 Oct 2013 22:52:19 +0000 (15:52 -0700)]
am
91245730: am
ca338777: am
45edbb70: DOC CHANGE: FileProvider training class
* commit '
91245730a103f526a7c3cc0f4f6c3a03c1094703':
DOC CHANGE: FileProvider training class
Joe Malin [Sat, 12 Oct 2013 22:49:09 +0000 (15:49 -0700)]
am
ca338777: am
45edbb70: DOC CHANGE: FileProvider training class
* commit '
ca3387776037cd00b7bd7114535e3f3365cf3464':
DOC CHANGE: FileProvider training class
Joe Malin [Sat, 12 Oct 2013 22:46:02 +0000 (15:46 -0700)]
am
45edbb70: DOC CHANGE: FileProvider training class
* commit '
45edbb701ac44891aa07a403a55ee2393da9b25f':
DOC CHANGE: FileProvider training class
Craig Mautner [Sat, 12 Oct 2013 18:09:15 +0000 (11:09 -0700)]
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
Svetoslav Ganov [Sat, 12 Oct 2013 21:28:41 +0000 (14:28 -0700)]
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
Svetoslav Ganov [Sat, 12 Oct 2013 20:18:12 +0000 (13:18 -0700)]
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
Svetoslav Ganov [Sat, 12 Oct 2013 19:35:41 +0000 (12:35 -0700)]
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
Craig Mautner [Sat, 12 Oct 2013 18:26:08 +0000 (11:26 -0700)]
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
Jim Miller [Sat, 12 Oct 2013 05:45:57 +0000 (22:45 -0700)]
Fix bug where lockout timeout is shown for SIM in keyguard
Fixes bug
11193577
Change-Id: I62964c478bdb060ea6964009fc99bc3d7b5e3f80
Craig Mautner [Sat, 12 Oct 2013 04:54:42 +0000 (04:54 +0000)]
Merge "Test for hidden keyguard before waiting for it." into klp-dev
Craig Mautner [Sat, 12 Oct 2013 04:43:06 +0000 (21:43 -0700)]
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
Jim Miller [Sat, 12 Oct 2013 04:29:00 +0000 (04:29 +0000)]
Merge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev
Jim Miller [Sat, 12 Oct 2013 04:03:22 +0000 (21:03 -0700)]
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
Jim Miller [Sat, 12 Oct 2013 02:49:31 +0000 (19:49 -0700)]
Disable the camera and search buttons while we're in bouncer mode.
Fixes
11191334
Change-Id: I035f9e4e3d033fac6e1660b2d357ddac6f36bcbf
Craig Mautner [Sat, 12 Oct 2013 02:42:37 +0000 (02:42 +0000)]
Merge "When removing a task that was on home, put home on top." into klp-dev
Jim Miller [Sat, 12 Oct 2013 01:00:24 +0000 (01:00 +0000)]
Merge "Enable time format localization in keyguard" into klp-dev
Jim Miller [Fri, 11 Oct 2013 23:21:45 +0000 (16:21 -0700)]
Enable time format localization in keyguard
Fixes bug
11173871
Change-Id: Ife44c93b01770a3349343d034fe6adb1c6d66185
Craig Mautner [Sat, 12 Oct 2013 00:36:59 +0000 (17:36 -0700)]
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
Robert Greenwalt [Sat, 12 Oct 2013 00:30:22 +0000 (00:30 +0000)]
Merge "Make Wifi Scans more heap-efficient" into klp-dev
Baligh Uddin [Sat, 12 Oct 2013 00:27:15 +0000 (00:27 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sat, 12 Oct 2013 00:26:44 +0000 (00:26 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Sat, 12 Oct 2013 00:26:23 +0000 (00:26 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Svetoslav [Sat, 12 Oct 2013 00:21:12 +0000 (00:21 +0000)]
Merge "Putting the cursor at the end of the copies and range inputs." into klp-dev
Chris Craik [Sat, 12 Oct 2013 00:08:08 +0000 (00:08 +0000)]
Merge "Document special case in hasOverlappingRendering" into klp-dev
Svetoslav [Sat, 12 Oct 2013 00:00:45 +0000 (17:00 -0700)]
Putting the cursor at the end of the copies and range inputs.
bug:
10983508
Change-Id: I767876fada2f28b00283ed9140fca1a40729f38f
Chris Craik [Fri, 11 Oct 2013 21:17:21 +0000 (14:17 -0700)]
Document special case in hasOverlappingRendering
bug:
11121809
Change-Id: I074ac47aa510bd2362cfda7dffc73930f07e925c
Joe Malin [Mon, 26 Aug 2013 21:55:54 +0000 (14:55 -0700)]
DOC CHANGE: FileProvider training class
Change-Id: Idad8840dec02150733f23cfefdeaf152a260f63a
Baligh Uddin [Fri, 11 Oct 2013 23:31:18 +0000 (16:31 -0700)]
Import translations. DO NOT MERGE
Change-Id: I66efc38992968ef463f4d02f1af101053adfb41e
Auto-generated-cl: translation import
Baligh Uddin [Fri, 11 Oct 2013 23:25:46 +0000 (16:25 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8d1fd0e44df5ea45d590e675e1f2d0afda54bc69
Auto-generated-cl: translation import
Baligh Uddin [Fri, 11 Oct 2013 23:21:25 +0000 (16:21 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0ca278dcf2291ed0919f46eeaff99c1ca61969ae
Auto-generated-cl: translation import
Jim Miller [Fri, 11 Oct 2013 21:38:04 +0000 (21:38 +0000)]
Merge "Delay all widget additions in keyguard until after boot completes" into klp-dev
Jeff Sharkey [Fri, 11 Oct 2013 21:30:54 +0000 (21:30 +0000)]
Merge "Fix spelling." into klp-dev
Svetoslav [Fri, 11 Oct 2013 21:30:01 +0000 (21:30 +0000)]
Merge "Adding timeout if the current printer or its capabilities disappear." into klp-dev
Matthew Williams [Fri, 11 Oct 2013 21:26:19 +0000 (21:26 +0000)]
Merge "Fix infinite boot-loop bug in SM." into klp-dev
Jeff Sharkey [Fri, 11 Oct 2013 21:25:48 +0000 (14:25 -0700)]
Fix spelling.
Change-Id: Ibcc5a5b976e185c4a6605b18b645b05a5c00f3ec
Robert Greenwalt [Fri, 11 Oct 2013 19:38:07 +0000 (12:38 -0700)]
Make Wifi Scans more heap-efficient
We were ending up with 1 reference to every char array
in which a new AP was discovered. In a busy env this could
cost several hundred K from the dalvik heap.
bug:
11087956
Change-Id: I3b14c39fd0c98e4aea08a406e80bcf6af40d0664
Jean-Michel Trivi [Fri, 11 Oct 2013 21:12:22 +0000 (21:12 +0000)]
Merge "Remote volume changes" into klp-dev
Svetoslav [Fri, 11 Oct 2013 20:56:08 +0000 (13:56 -0700)]
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
Chris Craik [Fri, 11 Oct 2013 20:57:34 +0000 (20:57 +0000)]
Merge "Workaround fading edge incompatibility with alpha modulation" into klp-dev
Svetoslav [Fri, 11 Oct 2013 20:55:00 +0000 (20:55 +0000)]
Merge "Print spooler not starting." into klp-dev
Matthew Williams [Thu, 10 Oct 2013 22:51:00 +0000 (15:51 -0700)]
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
Chris Craik [Fri, 11 Oct 2013 19:51:11 +0000 (12:51 -0700)]
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
Craig Mautner [Fri, 11 Oct 2013 19:50:02 +0000 (19:50 +0000)]
Merge "Add test for topmost home stack activity being home." into klp-dev
Svetoslav [Fri, 11 Oct 2013 18:28:30 +0000 (11:28 -0700)]
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
Scott Main [Fri, 11 Oct 2013 19:32:48 +0000 (12:32 -0700)]
am
eae969c1: am
439c4b47: am
c0da3f1d: media-formats.html: clarify WebP availability
* commit '
eae969c17a6507c6985b5d9be1f6e0523766f6dd':
media-formats.html: clarify WebP availability
Scott Main [Fri, 11 Oct 2013 19:30:43 +0000 (12:30 -0700)]
am
439c4b47: am
c0da3f1d: media-formats.html: clarify WebP availability
* commit '
439c4b4783ec9e800e9a6fd6fc38dd393c41b77b':
media-formats.html: clarify WebP availability
Scott Main [Fri, 11 Oct 2013 19:27:13 +0000 (12:27 -0700)]
am
c0da3f1d: media-formats.html: clarify WebP availability
* commit '
c0da3f1d60f99c3188906d429ed38edbdd934f12':
media-formats.html: clarify WebP availability
Eino-Ville Talvala [Mon, 7 Oct 2013 20:24:52 +0000 (13:24 -0700)]
DO NOT MERGE: Hide new camera API.
Not yet ready.
Bug:
11141002
Change-Id: I4704bffb9ba36af47a66dc5b49cbba00be623aae
Jeff Sharkey [Fri, 11 Oct 2013 19:18:50 +0000 (19:18 +0000)]
Merge "Treat dates near epoch as unknown." into klp-dev
Scott Main [Fri, 11 Oct 2013 19:03:12 +0000 (12:03 -0700)]
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
Craig Mautner [Fri, 11 Oct 2013 18:57:07 +0000 (11:57 -0700)]
Add test for topmost home stack activity being home.
And restarts home if test fails.
Fixes bug
11118615.
Change-Id: I3b6c544d479b467f10febff512798c2db8e32f74
Craig Mautner [Fri, 11 Oct 2013 18:41:45 +0000 (18:41 +0000)]
Merge "Make an exception for screenshot optimization." into klp-dev
Jean-Michel Trivi [Fri, 11 Oct 2013 01:12:59 +0000 (18:12 -0700)]
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
Craig Mautner [Fri, 11 Oct 2013 18:05:35 +0000 (11:05 -0700)]
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
Alan Viverette [Fri, 11 Oct 2013 17:30:58 +0000 (17:30 +0000)]
Merge "Resize lock screen widgets when IME is open." into klp-dev
John Spurlock [Fri, 11 Oct 2013 17:27:25 +0000 (17:27 +0000)]
Merge "Ensure fitSystemWindows is called on the IME at least once." into klp-dev
John Spurlock [Fri, 11 Oct 2013 17:16:23 +0000 (13:16 -0400)]
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
Svetoslav Ganov [Fri, 11 Oct 2013 17:06:12 +0000 (17:06 +0000)]
Merge "Added UI for errors during layout and write." into klp-dev
Svetoslav Ganov [Wed, 9 Oct 2013 17:53:26 +0000 (10:53 -0700)]
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
Svetoslav [Fri, 11 Oct 2013 17:01:14 +0000 (17:01 +0000)]
Merge "Refactor how the print dialog activity is started." into klp-dev
Craig Mautner [Fri, 11 Oct 2013 16:49:55 +0000 (16:49 +0000)]
Merge "Reduce jank on incoming phone call during dream." into klp-dev
Jeff Sharkey [Fri, 11 Oct 2013 16:49:03 +0000 (09:49 -0700)]
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
Dianne Hackborn [Fri, 11 Oct 2013 16:42:39 +0000 (16:42 +0000)]
Merge "Small IntentFilter docs improvement." into klp-dev
Dianne Hackborn [Fri, 11 Oct 2013 16:40:18 +0000 (09:40 -0700)]
Small IntentFilter docs improvement.
Change-Id: I52522e1c007c02d2c4fae8665369d92971689fd2
Torne (Richard Coles) [Fri, 11 Oct 2013 16:17:41 +0000 (16:17 +0000)]
Merge "Add internal resource symbol used by WebViewChromium." into klp-dev
Svetoslav [Thu, 10 Oct 2013 20:36:23 +0000 (13:36 -0700)]
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
John Spurlock [Fri, 11 Oct 2013 15:49:54 +0000 (15:49 +0000)]
Merge "Fix dock rect calculation when nav is translucent." into klp-dev