OSDN Git Service

android-x86/frameworks-base.git
10 years agoMove the wallpaper beneath the keyguard.
Craig Mautner [Mon, 14 Oct 2013 19:58:42 +0000 (12:58 -0700)]
Move the wallpaper beneath the keyguard.

If the keyguard is the wallpaper target the wallpaper cannot sit at
the bottom of the stack and must be directly beneath the keyguard.
Otherwise keep it at the bottom of the window stack.

App animations when the keyguard is showing should not be disabled if
the keyguard is also animating.

Fixes bug 10858941.
Fixes bug 10932680.

Change-Id: I8399837f6510ea16003f68b165e67439f3571ef4

10 years agoMerge "Don't show [!] battery at boot." into klp-dev
Daniel Sandler [Mon, 14 Oct 2013 14:44:21 +0000 (14:44 +0000)]
Merge "Don't show [!] battery at boot." into klp-dev

10 years agoDon't show [!] battery at boot.
Daniel Sandler [Mon, 14 Oct 2013 14:27:45 +0000 (10:27 -0400)]
Don't show [!] battery at boot.

Defense in depth:
 1. If there's a sticky battery broadcast waiting around for
    us, apply its information immediately.
 2. If for some reason there is no battery information,
    just don't draw anything.

Bug: 11208146
Change-Id: I43e4b55a90a4ca619816ad0315e329f88b529581

10 years agoMerge "Limit transient nav cling to 380dp on large/land devices." into klp-dev
Daniel Sandler [Mon, 14 Oct 2013 13:50:56 +0000 (13:50 +0000)]
Merge "Limit transient nav cling to 380dp on large/land devices." into klp-dev

10 years agoLimit transient nav cling to 380dp on large/land devices.
Daniel Sandler [Mon, 14 Oct 2013 02:04:36 +0000 (22:04 -0400)]
Limit transient nav cling to 380dp on large/land devices.

Bug: 11077915
Change-Id: I141a5f3f565109ae5ac9221053e5a4db36633ca7

10 years agoAdding additional MNC overlays. (Bug 10518893)
Winson Chung [Mon, 14 Oct 2013 06:42:59 +0000 (23:42 -0700)]
Adding additional MNC overlays. (Bug 10518893)

Change-Id: I1c314c4e7ce7adf6f4a6f6722b51781f0ce7cd22

10 years agoTest for task in front must include stack in front.
Craig Mautner [Mon, 14 Oct 2013 01:15:00 +0000 (18:15 -0700)]
Test for task in front must include stack in front.

The CL that ensured that a dying task must be in front of the user
(ag/374996) only checked that the task was at the top of /a/ stack,
not on top of the frontmost stack. This checks the stack for being
frontmost before switching to home.

Fixes bug 11208762.

Change-Id: I43f6d380e7a880ec19db03711ada6c7437e15f73

10 years agoFix updating fast scroll state for data set changes
Adam Powell [Mon, 14 Oct 2013 00:19:10 +0000 (17:19 -0700)]
Fix updating fast scroll state for data set changes

Only looking for old/new count changes is incomplete with the current
state of things. The observer's onChanged method will update this in
some cases, stomping the different values needed to trigger a fast
scroller update. Also update the fast scroller if the data change flag
is set.

Also fix the positioning of the legacy text overlay.

Bug 11188512

Change-Id: I35b3915ce49f8494c6d82f6be6d6df7169deddd7

10 years agoMerge "Revert "Restore wallpaper positioning between apps."" into klp-dev
Craig Mautner [Mon, 14 Oct 2013 01:25:26 +0000 (01:25 +0000)]
Merge "Revert "Restore wallpaper positioning between apps."" into klp-dev

10 years agoMerge "Hide the camera and search icons when switching to the camera page" into klp-dev
Jim Miller [Mon, 14 Oct 2013 00:44:12 +0000 (00:44 +0000)]
Merge "Hide the camera and search icons when switching to the camera page" into klp-dev

10 years agoHide the camera and search icons when switching to the camera page
Jim Miller [Mon, 14 Oct 2013 00:26:39 +0000 (17:26 -0700)]
Hide the camera and search icons when switching to the camera page

Partial fix for bug 11190737

Change-Id: I8b14a0b32cec51fe381f8ef110a13623d8324938

10 years agoMerge "Fix warp animation in keyguard" into klp-dev
Jim Miller [Mon, 14 Oct 2013 00:06:48 +0000 (00:06 +0000)]
Merge "Fix warp animation in keyguard" into klp-dev

10 years agoFix warp animation in keyguard
Jim Miller [Sun, 13 Oct 2013 23:49:43 +0000 (16:49 -0700)]
Fix warp animation in keyguard

This fixes a problem where the warp page was remaining onscreen due to a
race between the animation completing and releasing the finger.  The fix
is to track when the page is onscreen or when the warp is still animating
to ensure we hide it when we're done.

Change-Id: Ie53c65d276032da16cd42ec84b23ae812fc7e2eb

10 years agoMerge "Wire up new hideycling ok button to persist setting." into klp-dev
John Spurlock [Sun, 13 Oct 2013 23:27:20 +0000 (23:27 +0000)]
Merge "Wire up new hideycling ok button to persist setting." into klp-dev

10 years agoWire up new hideycling ok button to persist setting.
John Spurlock [Sun, 13 Oct 2013 23:20:04 +0000 (19:20 -0400)]
Wire up new hideycling ok button to persist setting.

Otherwise you'll see it every time.

Bug:11077915
Change-Id: I2ec725459f6ec133c1b82e9788a80dede6e87343

10 years agoRevert "Restore wallpaper positioning between apps."
Craig Mautner [Sun, 13 Oct 2013 23:19:45 +0000 (23:19 +0000)]
Revert "Restore wallpaper positioning between apps."

This reverts commit faf1a40382b61d9cabab82e6e835603511046564.

Bug 10932680 is back where it was.

Change-Id: I5058db837941769f25f09e3fafd9c19ef370df8e

10 years agoMerge "Fix issue #11199654: Action bar enter animation skips frames when cleared...
Dianne Hackborn [Sun, 13 Oct 2013 23:04:12 +0000 (23:04 +0000)]
Merge "Fix issue #11199654: Action bar enter animation skips frames when cleared by the system" into klp-dev

10 years agoFix issue #11199654: Action bar enter animation skips frames when cleared by the...
Dianne Hackborn [Sun, 13 Oct 2013 22:20:09 +0000 (15:20 -0700)]
Fix issue #11199654: Action bar enter animation skips frames when cleared by the system

We have become too aggressive about not allowing windows to draw while windw
animations are running, basically not allowing any drawing in any window when
there is any window animation.  So if you did a relayout while the status bars
were being animated, your window would stop drawing until that status bar
animation was complete.

This change relaxes those rules in two ways:

- A particular window will only be told to stop updating when *it* is
  currently involved in a window animation.  So animations in status bars
  will not stop app windows from update, and vice versa.

- If a window receives input events while it is in the "do not update"
  state, we will immediately terminate that state and start allowing it to
  draw.  If the user is actually interacting with a window, we don't want
  to wait to show feedback.

Change-Id: I72574eec048aee53115b46a78686cf27f42c42f7

10 years agoMerge "Fix bug where lockout timeout is shown for SIM in keyguard" into klp-dev
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

10 years agoMerge "Disable the camera and search buttons while we're in bouncer mode." 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

10 years agoMerge "telephony: redirect call barring MMI code to other purpose" 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

10 years agoMerge "Adding stepcounter & stepdetector feature strings." 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

10 years agotelephony: redirect call barring MMI code to other purpose
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

10 years agoMerge "If the panels are disabled, don't go opaque on interaction." into klp-dev
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

10 years agoMerge "do not request location from unavailable providers" 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

10 years agoMerge "Account for translationY when targeting the fast scroller via touch" into...
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

10 years agoMerge "Update clock to use 14dp instead of 12dp for status info." 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

10 years agoUpdate clock to use 14dp instead of 12dp for status info.
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

10 years agoAccount for translationY when targeting the fast scroller via touch
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

10 years agoMerge "New window cling for immersive mode." into klp-dev
Daniel Sandler [Sun, 13 Oct 2013 19:30:28 +0000 (19:30 +0000)]
Merge "New window cling for immersive mode." into klp-dev

10 years agoMerge "Easter egg cleanups." into klp-dev
Daniel Sandler [Sun, 13 Oct 2013 19:29:29 +0000 (19:29 +0000)]
Merge "Easter egg cleanups." into klp-dev

10 years agoNew window cling for immersive mode.
Daniel Sandler [Fri, 11 Oct 2013 18:27:53 +0000 (14:27 -0400)]
New window cling for immersive mode.

Bug: 11077915
Change-Id: I6858259b31301b76dee81d3e6fbc534c1cdea661

10 years agoMerge "Printing from secondary user not working." into klp-dev
Svetoslav Ganov [Sun, 13 Oct 2013 19:27:22 +0000 (19:27 +0000)]
Merge "Printing from secondary user not working." into klp-dev

10 years agoMerge "The print dialog in bad state after pressing back from prnt to PDF." into...
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

10 years agoEaster egg cleanups.
Daniel Sandler [Sun, 13 Oct 2013 19:20:52 +0000 (15:20 -0400)]
Easter egg cleanups.

Bug: 11171189
Bug: 10240151
Change-Id: Id5a8904bdf6c16302e09f2b48392f99c280a8179

10 years agodo not request location from unavailable providers
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

10 years agoMerge "The list of active print jobs in print service retunring wrong result." into...
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

10 years agoMerge "Tighten up the KG transport control layout for stability" 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

10 years agoMerge "The callbacks for tracking a printer called more than once without printer...
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

10 years agoTighten up the KG transport control layout for stability
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

10 years agoUse INVISIBLE instead of GONE to hide KG transport buttons
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

10 years agoIf the panels are disabled, don't go opaque on interaction.
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

10 years agoPrinting from secondary user not working.
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

10 years agoMerge "DO NOT MERGE: Hide new camera API." into klp-dev
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

10 years agoAdding stepcounter & stepdetector feature strings.
Aravind Akella [Sun, 13 Oct 2013 00:39:15 +0000 (17:39 -0700)]
Adding stepcounter & stepdetector feature strings.

Change-Id: Ic8cc95612f776db7cb1d1c13a228d5cd8ed64f56

10 years agoMerge "Restore wallpaper positioning between apps." into klp-dev
Craig Mautner [Sun, 13 Oct 2013 01:40:44 +0000 (01:40 +0000)]
Merge "Restore wallpaper positioning between apps." into klp-dev

10 years agoMerge "Only return to home if the foreground task is removed." 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

10 years agoMerge "Printed document size not persisted." 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

10 years agoMerge "Fail only scheduled print jobs, i.e. handed to a service, if the service is...
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

10 years agoThe print dialog in bad state after pressing back from prnt to PDF.
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

10 years agoThe list of active print jobs in print service retunring wrong result.
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

10 years agoam 91245730: am ca338777: am 45edbb70: DOC CHANGE: FileProvider training class
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

10 years agoam ca338777: am 45edbb70: 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

10 years agoam 45edbb70: 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

10 years agoRestore wallpaper positioning between apps.
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

10 years agoThe callbacks for tracking a printer called more than once without printer change.
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

10 years agoPrinted document size not persisted.
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

10 years agoFail only scheduled print jobs, i.e. handed to a service, if the service is disabled.
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

10 years agoOnly return to home if the foreground task is removed.
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

10 years agoFix bug where lockout timeout is shown for SIM in keyguard
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

10 years agoMerge "Test for hidden keyguard before waiting for it." into klp-dev
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

10 years agoTest for hidden keyguard before waiting for it.
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

10 years agoMerge "Fix problem where PhoneWindowManager waits for keyguard to draw" into klp-dev
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

10 years agoFix problem where PhoneWindowManager waits for keyguard to draw
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

10 years agoDisable the camera and search buttons while we're in bouncer mode.
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

10 years agoMerge "When removing a task that was on home, put home on top." into klp-dev
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

10 years agoMerge "Enable time format localization in keyguard" 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

10 years agoEnable time format localization in keyguard
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

10 years agoWhen removing a task that was on home, put home on top.
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

10 years agoMerge "Make Wifi Scans more heap-efficient" into klp-dev
Robert Greenwalt [Sat, 12 Oct 2013 00:30:22 +0000 (00:30 +0000)]
Merge "Make Wifi Scans more heap-efficient" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" 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

10 years agoMerge "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

10 years agoMerge "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

10 years agoMerge "Putting the cursor at the end of the copies and range inputs." 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

10 years agoMerge "Document special case in hasOverlappingRendering" 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

10 years agoPutting the cursor at the end of the copies and range inputs.
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

10 years agoDocument special case in hasOverlappingRendering
Chris Craik [Fri, 11 Oct 2013 21:17:21 +0000 (14:17 -0700)]
Document special case in hasOverlappingRendering

bug:11121809

Change-Id: I074ac47aa510bd2362cfda7dffc73930f07e925c

10 years agoDOC CHANGE: FileProvider training class
Joe Malin [Mon, 26 Aug 2013 21:55:54 +0000 (14:55 -0700)]
DOC CHANGE: FileProvider training class

Change-Id: Idad8840dec02150733f23cfefdeaf152a260f63a

10 years agoImport translations. DO NOT MERGE
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoMerge "Delay all widget additions in keyguard until after boot completes" into klp-dev
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

10 years agoMerge "Fix spelling." into klp-dev
Jeff Sharkey [Fri, 11 Oct 2013 21:30:54 +0000 (21:30 +0000)]
Merge "Fix spelling." into klp-dev

10 years agoMerge "Adding timeout if the current printer or its capabilities disappear." into...
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

10 years agoMerge "Fix infinite boot-loop bug in SM." 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

10 years agoFix spelling.
Jeff Sharkey [Fri, 11 Oct 2013 21:25:48 +0000 (14:25 -0700)]
Fix spelling.

Change-Id: Ibcc5a5b976e185c4a6605b18b645b05a5c00f3ec

10 years agoMake Wifi Scans more heap-efficient
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

10 years agoMerge "Remote volume changes" into klp-dev
Jean-Michel Trivi [Fri, 11 Oct 2013 21:12:22 +0000 (21:12 +0000)]
Merge "Remote volume changes" into klp-dev

10 years agoAdding timeout if the current printer or its capabilities disappear.
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

10 years agoMerge "Workaround fading edge incompatibility with alpha modulation" into klp-dev
Chris Craik [Fri, 11 Oct 2013 20:57:34 +0000 (20:57 +0000)]
Merge "Workaround fading edge incompatibility with alpha modulation" into klp-dev

10 years agoMerge "Print spooler not starting." into klp-dev
Svetoslav [Fri, 11 Oct 2013 20:55:00 +0000 (20:55 +0000)]
Merge "Print spooler not starting." into klp-dev

10 years agoFix infinite boot-loop bug in SM.
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

10 years agoWorkaround fading edge incompatibility with alpha modulation
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

10 years agoMerge "Add test for topmost home stack activity being home." into klp-dev
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

10 years agoPrint spooler not starting.
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

10 years agoam eae969c1: am 439c4b47: am c0da3f1d: media-formats.html: clarify WebP availability
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

10 years agoam 439c4b47: am c0da3f1d: 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

10 years agoam c0da3f1d: 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

10 years agoDO NOT MERGE: Hide new camera API.
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

10 years agoMerge "Treat dates near epoch as unknown." into klp-dev
Jeff Sharkey [Fri, 11 Oct 2013 19:18:50 +0000 (19:18 +0000)]
Merge "Treat dates near epoch as unknown." into klp-dev