113444 Commits

Author SHA1 Message Date
Daniel Sandler
05021e5e47 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
2013-10-14 10:27:45 -04:00
Craig Mautner
e1db0dd089 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
2013-10-14 02:20:57 +00:00
Adam Powell
5db566f16a 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
2013-10-13 18:49:15 -07:00
Craig Mautner
4ebe57804d Merge "Revert "Restore wallpaper positioning between apps."" into klp-dev 2013-10-14 01:25:27 +00:00
Jim Miller
f89ff85f6c Merge "Hide the camera and search icons when switching to the camera page" into klp-dev 2013-10-14 00:44:13 +00:00
Jim Miller
fadccf1d0e Hide the camera and search icons when switching to the camera page
Partial fix for bug 11190737

Change-Id: I8b14a0b32cec51fe381f8ef110a13623d8324938
2013-10-13 17:26:39 -07:00
Jim Miller
05da328078 Merge "Fix warp animation in keyguard" into klp-dev 2013-10-14 00:06:49 +00:00
Jim Miller
afef5b23a1 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
2013-10-13 17:02:11 -07:00
John Spurlock
1ae1373aed Merge "Wire up new hideycling ok button to persist setting." into klp-dev 2013-10-13 23:27:20 +00:00
John Spurlock
47e3de2baa Wire up new hideycling ok button to persist setting.
Otherwise you'll see it every time.

Bug:11077915
Change-Id: I2ec725459f6ec133c1b82e9788a80dede6e87343
2013-10-13 19:20:04 -04:00
Craig Mautner
7c495cbf68 Revert "Restore wallpaper positioning between apps."
This reverts commit faf1a40382b61d9cabab82e6e835603511046564.

Bug 10932680 is back where it was.

Change-Id: I5058db837941769f25f09e3fafd9c19ef370df8e
2013-10-13 23:19:45 +00:00
Dianne Hackborn
ef53fcc3ef Merge "Fix issue #11199654: Action bar enter animation skips frames when cleared by the system" into klp-dev 2013-10-13 23:04:13 +00:00
Dianne Hackborn
021d243d6d 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
2013-10-13 15:56:29 -07:00
Jim Miller
103a734b66 Merge "Fix bug where lockout timeout is shown for SIM in keyguard" into klp-dev 2013-10-13 22:54:21 +00:00
Jim Miller
7fa498bf9b Merge "Disable the camera and search buttons while we're in bouncer mode." into klp-dev 2013-10-13 22:53:37 +00:00
Vineeta Srivastava
158aeaf088 Merge "telephony: redirect call barring MMI code to other purpose" into klp-dev 2013-10-13 22:52:03 +00:00
Aravind Akella
45ca531e77 Merge "Adding stepcounter & stepdetector feature strings." into klp-dev 2013-10-13 22:48:03 +00:00
duho.ro
23ee84ee5e 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
2013-10-13 15:23:28 -07:00
John Spurlock
f732e37c19 Merge "If the panels are disabled, don't go opaque on interaction." into klp-dev 2013-10-13 22:10:31 +00:00
Victoria Lease
881e1a6b91 Merge "do not request location from unavailable providers" into klp-dev 2013-10-13 22:04:23 +00:00
Adam Powell
85e5ed639d Merge "Account for translationY when targeting the fast scroller via touch" into klp-dev 2013-10-13 21:26:35 +00:00
Jim Miller
39eaeb99c3 Merge "Update clock to use 14dp instead of 12dp for status info." into klp-dev 2013-10-13 21:24:42 +00:00
Jim Miller
94a52da03b Update clock to use 14dp instead of 12dp for status info.
Fixes bug 11195120

Change-Id: Ifa24ad80f64363e2cc815de67d2e99a27eef3425
2013-10-13 14:13:56 -07:00
Adam Powell
d827389684 Account for translationY when targeting the fast scroller via touch
Bug 11188512

Change-Id: Ia8e0088760a18d5862bbe1b904610abd908a190e
2013-10-13 13:35:27 -07:00
Daniel Sandler
ce6d9066b6 Merge "New window cling for immersive mode." into klp-dev 2013-10-13 19:30:29 +00:00
Daniel Sandler
e00ab01977 Merge "Easter egg cleanups." into klp-dev 2013-10-13 19:29:30 +00:00
Daniel Sandler
a953b6d968 New window cling for immersive mode.
Bug: 11077915
Change-Id: I6858259b31301b76dee81d3e6fbc534c1cdea661
2013-10-13 15:28:19 -04:00
Svetoslav Ganov
d914995aad Merge "Printing from secondary user not working." into klp-dev 2013-10-13 19:27:22 +00:00
Svetoslav Ganov
188d095381 Merge "The print dialog in bad state after pressing back from prnt to PDF." into klp-dev 2013-10-13 19:21:18 +00:00
Daniel Sandler
70966ec922 Easter egg cleanups.
Bug: 11171189
Bug: 10240151
Change-Id: Id5a8904bdf6c16302e09f2b48392f99c280a8179
2013-10-13 15:20:52 -04:00
Victoria Lease
b30f38383e 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
2013-10-13 12:15:40 -07:00
Svetoslav Ganov
65d7b8d0db Merge "The list of active print jobs in print service retunring wrong result." into klp-dev 2013-10-13 19:10:12 +00:00
Adam Powell
18e1214790 Merge "Tighten up the KG transport control layout for stability" into klp-dev 2013-10-13 19:07:43 +00:00
Svetoslav Ganov
3cccec4c6e Merge "The callbacks for tracking a printer called more than once without printer change." into klp-dev 2013-10-13 19:07:26 +00:00
Adam Powell
00298a5126 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
2013-10-13 11:55:08 -07:00
Adam Powell
f51769221c 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
2013-10-13 10:39:04 -07:00
John Spurlock
3d7e0958c4 If the panels are disabled, don't go opaque on interaction.
Bug:11149893
Change-Id: Id1a56200ead6e7d7e78e665796646b90ed5c0870
2013-10-13 13:34:21 -04:00
Svetoslav Ganov
4a82b455f9 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
2013-10-12 19:04:57 -07:00
Eino-Ville Talvala
d38b1302b7 Merge "DO NOT MERGE: Hide new camera API." into klp-dev 2013-10-13 01:50:30 +00:00
Aravind Akella
068b0c05fe Adding stepcounter & stepdetector feature strings.
Change-Id: Ic8cc95612f776db7cb1d1c13a228d5cd8ed64f56
2013-10-12 18:47:00 -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
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
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