OSDN Git Service
Christopher Tate [Thu, 14 Jun 2012 21:16:54 +0000 (14:16 -0700)]
Don't finish noHistory="true" activities behind the lock screen
The foreground activity is stopped when the device goes to sleep,
and started again when the device is unlocked. We now distinguish
this case from a "normal" stop, and do not finish() a foreground
noHistory="true" activity inappropriately when the device sleeps.
We also detect the case where an activity is started while the
device is still asleep, in which case the foreground noHistory
activity is cleaned up as part of bringing the new activity to
the foreground.
Bug
6657549
Change-Id: I9c6a0830aed0e47e4207b62803b90067c8486112
Michael Jurka [Thu, 14 Jun 2012 21:33:55 +0000 (14:33 -0700)]
Merge "Tweak recents launch app animation" into jb-dev
Romain Guy [Thu, 14 Jun 2012 21:32:07 +0000 (14:32 -0700)]
Merge "Don't create a giant layer for all notifications Bug #
6642475" into jb-dev
Romain Guy [Thu, 14 Jun 2012 19:52:53 +0000 (12:52 -0700)]
Don't create a giant layer for all notifications
Bug #
6642475
When expanding the status bar, create one layer per notification instead of
a single giant layer for the pile of notifications. This prevents layer
creation failure when the total height of the notifications is larger
than the maximum allowed texture size in OpenGL ES 2.0.
This change only enables layers on notifications that will be visible
once the notification area is fully expanded.
Change-Id: I3c791a66cf5ac0973f3a65cfcd84b95209d580f3
Eino-Ville Talvala [Thu, 14 Jun 2012 21:02:46 +0000 (14:02 -0700)]
Merge "Remove Disco video from builds." into jb-dev
Eric Fischer [Thu, 14 Jun 2012 19:20:40 +0000 (12:20 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 14 Jun 2012 19:10:43 +0000 (12:10 -0700)]
Import translations. DO NOT MERGE
Change-Id: I561c60ea1ff93ae79414331242232bccfc820679
Michael Jurka [Thu, 14 Jun 2012 18:57:50 +0000 (11:57 -0700)]
Tweak recents launch app animation
- Sometimes the black background would flash; changing
animation durations to make this much less likely
- Fixing issue in Recents where we sometimes forgot
to disable drawing caches on views after enabling them
Michael Jurka [Thu, 14 Jun 2012 18:39:21 +0000 (11:39 -0700)]
Merge "Change snap behavior for lock screen" into jb-dev
Jeff Brown [Thu, 14 Jun 2012 18:28:52 +0000 (11:28 -0700)]
Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev
Adam Powell [Thu, 14 Jun 2012 18:25:20 +0000 (11:25 -0700)]
Merge "Support route grouping in the MediaRouter dialog UI." into jb-dev
Michael Jurka [Thu, 14 Jun 2012 00:38:14 +0000 (17:38 -0700)]
Change snap behavior for lock screen
Use angle and distance from center, rather than
distance from target.
Change-Id: Ic970bc4b05d341dbb6aab334e3f630794f2a211c
Fabrice Di Meglio [Thu, 14 Jun 2012 17:50:36 +0000 (10:50 -0700)]
Merge "Fix bug #
6661824 Hebrew Text can be clipped" into jb-dev
Svetoslav Ganov [Thu, 14 Jun 2012 17:48:09 +0000 (10:48 -0700)]
Merge "Active window not updated window not updated properly." into jb-dev
Svetoslav Ganov [Thu, 14 Jun 2012 17:30:00 +0000 (10:30 -0700)]
Active window not updated window not updated properly.
1. Accessibility allows querying only of the active window.
The active window is the one that has input focus or the
one the user is touching. Hence, if the user is touching
a window that does not have input focus this window is
the active one and as soon as the user stops touching
it the active window becomes the one that has input
focus. Currently the active window is not updated properly
when the user lifts his finger. This leads to a scenario
of traversal actions sent to the wrong window and the user
being stuck.
The reason is that the last touch explored event that is
used to determine where to click is cleared when accessibility
focus moves but this event is also used to determine when to
send the hover exit and touch exploration gesture end events.
The problem is that the last hover event is cleared before
it is used for sending the right exit events, thus the event
stream is inconsistent and the accessibility manager service
relies on this stream to update the active window. Now we
are keeping separate copies of the last touch event - one
for clicking and one for determining the which events to
inject to ensure consistent stream.
bug:
6666041
Change-Id: Ie9961e562a42ef8a9463afacfff2246adcb66303
Svetoslav Ganov [Thu, 14 Jun 2012 17:03:59 +0000 (10:03 -0700)]
Merge "If a gesture cannot be detected the device should transition to touch exploration state." into jb-dev
John Spurlock [Thu, 14 Jun 2012 15:53:12 +0000 (08:53 -0700)]
Merge "NavBar: Slippery on the unsecured lock screen." into jb-dev
Nick Pelly [Thu, 14 Jun 2012 15:34:12 +0000 (08:34 -0700)]
Merge "Fix NPE when public API removeProximityAlert() used before addProximityAlert()." into jb-dev
Daniel Sandler [Thu, 14 Jun 2012 14:15:29 +0000 (07:15 -0700)]
Merge "Remove an unnecessary animation." into jb-dev
John Spurlock [Wed, 13 Jun 2012 15:19:51 +0000 (11:19 -0400)]
NavBar: Slippery on the unsecured lock screen.
The NavBar is always non-slippery, except when:
- the notification shade is showing
- the 3 buttons (back,home,recents) are disabled
Also fix unrelated bug that ignored the "show panel delay"
before the first config change.
Bug:
6614842
Change-Id: Ib40adaef122b563809398fdebbd8a88d8f0c7ffd
Chris Wren [Thu, 14 Jun 2012 12:47:08 +0000 (05:47 -0700)]
Merge "enable touch feedback on notification title." into jb-dev
Chris Wren [Thu, 14 Jun 2012 12:46:49 +0000 (05:46 -0700)]
Merge "Invert the sense of the two-figner direction on tablets." into jb-dev
Jeff Brown [Thu, 14 Jun 2012 01:28:57 +0000 (18:28 -0700)]
Add new ASSIST key and map it to the global assist intent.
Moved some duplicate code from SearchPanelView and LockScreen
over to SearchManager to avoid creating yet another copy of it
in PhoneWindowManager.
Bug:
6594275
Change-Id: Ib4ebcd6817639d17548952ab2ce7cb876c05777c
Jeff Brown [Thu, 14 Jun 2012 09:45:35 +0000 (02:45 -0700)]
Merge "When SIM absent, keyguard should be considered non-secure." into jb-dev
Ruei-sung Lin [Thu, 14 Jun 2012 06:41:38 +0000 (23:41 -0700)]
Merge "Add property to override backdropper effect threshold." into jb-dev
Adam Powell [Thu, 14 Jun 2012 06:15:49 +0000 (23:15 -0700)]
Support route grouping in the MediaRouter dialog UI.
Change-Id: Idcae12cedfb7ca13950e7fa45441fba2029a9f68
Svetoslav Ganov [Thu, 14 Jun 2012 04:01:51 +0000 (21:01 -0700)]
If a gesture cannot be detected the device should transition to touch exploration state.
1. We are deciding whether the user is performing a gesture or an exploration based
on the gesture velocity. If we are detecting gesture we do the recognition at the
gesture end which is when the finger goes up. This is better than having a mode
toggle gesture for exploring and gestures detection. However, it is possible that
the user really wanted to perform an exploration but was moving too fast and
unless he lifts his finger the device is in gesture detection mode. This is
frustrating since the user has no feedback and assumes exploration does not
work.
We want to perform gesture detection only for a maximal time frame and if the
user did not lift his finger we transition into touch exploration state.
bug:
6663173
Change-Id: I954ff937cca902e31b51325d1e1dfce84d239624
Uriel Rodriguez [Thu, 14 Jun 2012 04:11:12 +0000 (21:11 -0700)]
Merge "BUG
5457035: lowering max FUL failed attempts to 3" into jb-dev
Jeff Brown [Thu, 14 Jun 2012 03:00:49 +0000 (20:00 -0700)]
When SIM absent, keyguard should be considered non-secure.
Previously, it was observed that while a SIM is being initialized
by the hardware the SIM may briefly be reported as being in an
ABSENT state before eventually transitioning into a READY,
PIN_REQUIRED, PUK_REQUIRED, PERM_DISABLE state.
While booting up, the phone might observe that the SIM is ABSENT and
therefore bypass the keyguard going straight to the home screen.
Later when the SIM was fully initialized, the phone would revert back
to the lock screen in order to ask for the PIN. The user might
turn on the phone, slide out the keyboard (bypassing the keyguard),
then a few moments later the keyguard would pop up prompting for a PIN.
The user experience could be somewhat jarring, so the keyguard was
changed to handle the transient case differently. While the SIM
was ABSENT, the keyguard would not be automatically bypassed
by opening the keyboard slider. Thus the user would be forced to
manually swipe away the keyguard before interacting with the
device. This would help to cover the time it would take before
the SIM was fully initialized and the keyguard could determine
whether the user would need to be prompted for a SIM PIN or PUK.
To prevent the keyguard from being bypassed automatically, we
hacked up the keyguard so that it would be considered to be in a
secure state while the SIM was ABSENT. It's worth noting that
considering the keyguard to be secure did not confer any
additional security properties to the system whatsoever.
If the user did not have a pattern lock, PIN or password set then
all it would take to access the phone is to swipe away the keyguard.
This old hack was all about devices with slide-out keyboards,
but it had some side-effects. Namely, it assumed that the SIM
ABSENT state was transient. But what about phones that are
being used without a SIM at all?
Considering the keyguard to be secure when the SIM is ABSENT
breaks stuff. In fact, it turns out that making the keyguard
secure isn't really what we want at all. What we want is a way
to prevent the keyguard from being automatically bypassed on
boot when the user opens up a sliding keyboard. But we don't
have those anymore... and in the worst case it was just a little
janky... and what's more, nowadays the keyguard provides useful
features so maybe we shouldn't bypass it anyhow... oh and actually,
I deleted the code that used to bypass the keyguard when the
keyboard slider was opened... so this does nothing useful at all.
Right...
This change removes the old hack thereby ensuring that non-secure
keyguard features like launching the Camera or Assistant or
application features like hands-free voice search will work
correctly on phones without a SIM.
Bug:
6022658
Change-Id: I019d1d8c65c55cbf4d10d4928e1d2b2b242162a6
Daniel Sandler [Thu, 14 Jun 2012 01:00:56 +0000 (18:00 -0700)]
Merge "Remove line3 in big notification unless there's text to show." into jb-dev
Nick Pelly [Wed, 13 Jun 2012 23:45:27 +0000 (16:45 -0700)]
Fix NPE when public API removeProximityAlert() used before addProximityAlert().
Bug:
6313992
Change-Id: I905ad9ea771286727ce4a3a2334f2a0dac967c3d
Fabrice Di Meglio [Wed, 13 Jun 2012 22:45:38 +0000 (15:45 -0700)]
Fix bug #
6661824 Hebrew Text can be clipped
- use the correct ellipsis char in both measurement and rendered string
Change-Id: Ia00285fc16da528f18702719026503b5d0610642
Eino-Ville Talvala [Fri, 8 Jun 2012 21:35:13 +0000 (14:35 -0700)]
Add property to override backdropper effect threshold.
Also, change the default background mean to be the first incoming frame.
Bug:
6600585
Change-Id: I2181e75711d48d01f48e3fb1d604eb467f08fda4
Eino-Ville Talvala [Wed, 13 Jun 2012 22:17:58 +0000 (15:17 -0700)]
Remove Disco video from builds.
Bug:
6294985
Change-Id: Idde6148b94a55a27740f3b4f82c2038272f06628
Craig Mautner [Wed, 13 Jun 2012 22:27:51 +0000 (15:27 -0700)]
Merge "Do not hide animating window behind keyguard." into jb-dev
John Reck [Wed, 13 Jun 2012 21:59:13 +0000 (14:59 -0700)]
Merge "Call WebView.performLongClick instead of performLongClick()" into jb-dev
Uriel Rodriguez [Wed, 13 Jun 2012 21:30:13 +0000 (17:30 -0400)]
BUG
5457035: lowering max FUL failed attempts to 3
After an unrecognized face occurs 3 times in a row, we disable FUL until the user unlocks via the
backup lock. Lowering this values makes spoofing with liveliness enabled more difficult. Since
we currently don't differentiate between the max number attempts with and without liveliness
enabled, we had to lower it for all uses of FUL.
Change-Id: I7a429f64cde2767ddd2ceb0885343acd0b802aac
Craig Mautner [Wed, 13 Jun 2012 21:09:08 +0000 (14:09 -0700)]
Merge "Update wallpaper visibility at time of hide/show." into jb-dev
Adam Powell [Wed, 13 Jun 2012 21:02:53 +0000 (14:02 -0700)]
Merge "MediaRouter dialog" into jb-dev
Eric Fischer [Wed, 13 Jun 2012 19:32:00 +0000 (12:32 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Chris Wren [Wed, 13 Jun 2012 17:35:43 +0000 (13:35 -0400)]
enable touch feedback on notification title.
Bug:
6646294
Change-Id: I8ef6fa104dabe280a45258181aa2ed597e433fca
Jeff Sharkey [Wed, 13 Jun 2012 19:06:10 +0000 (12:06 -0700)]
Merge "Clear identity when snoozing limit." into jb-dev
Eric Fischer [Wed, 13 Jun 2012 19:05:16 +0000 (12:05 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic1cf133bf3f6b25be1bc748595024f973c0f0deb
Adam Powell [Tue, 12 Jun 2012 23:59:45 +0000 (16:59 -0700)]
MediaRouter dialog
Add the dialog behavior for MediaRouteActionProvider/MediaRouteButton.
Still TODO:
* Switch audio icon based on source; speaker/bt/user
* Rig up volume slider
* Rig up item icons
* Rig up group button for groupable categories
* Make grouping work
Change-Id: I3f992516b184d5ae940ddb7bbb7f94ff58914589
John Reck [Wed, 13 Jun 2012 17:37:40 +0000 (10:37 -0700)]
Call WebView.performLongClick instead of performLongClick()
Bug:
6656538
Due to the WebView/WebViewClassic refactor we need to call
WebView.performLongClick instead of performLongClick directly
to allow subclasses to override performLongClick
Change-Id: I9b580217fbafc82d03e63eabfdda9f5bad98db0f
Daniel Sandler [Wed, 13 Jun 2012 17:36:52 +0000 (13:36 -0400)]
Remove an unnecessary animation.
When the notification panel is full-width (small devices
like phones) we can just leave the icons showing all the
time, which saves a little CPU during the
performance-critical shade expand operation.
On sw600dp devices we continue to use DISABLE_SYSTEM_INFO to
smoothly hide the status bar when the notification panel
appears (and show it when the panel is dismissed).
Bug:
6555172
Change-Id: I59a1226549dd1e51c375c3972b47079c1ee856b0
Chris Craik [Wed, 13 Jun 2012 17:34:59 +0000 (10:34 -0700)]
Merge "Fix attachFunctor path to ignore delay" into jb-dev
Chris Wren [Wed, 13 Jun 2012 16:20:05 +0000 (12:20 -0400)]
remove obsolete notificaiton pane visibility code.
Bug:
6647263
Change-Id: I634f17c608effe215b9ec4241355fd7cc8860d8e
Daniel Sandler [Wed, 13 Jun 2012 16:17:07 +0000 (12:17 -0400)]
Remove line3 in big notification unless there's text to show.
If you have no subText or summaryText in a big template, but
you *do* have a number, the overflow bar (below the big text
or inbox or whatever) would have shown; now it does not.
Bug:
6657006
Change-Id: Ib2af2712da3a98227bd8d697560893adbdc427e9
Craig Mautner [Wed, 13 Jun 2012 15:39:38 +0000 (08:39 -0700)]
Update wallpaper visibility at time of hide/show.
Call the Window client method dispatchAppVisibility when hiding or
showing wallpaper rather than wait until the next call to
performLayoutAndPlaceSurfaces.
Fixes bug
6645473.
Change-Id: I363f69f8db0affff92308e11ce52546401959d8f
Daniel Sandler [Wed, 13 Jun 2012 14:07:02 +0000 (07:07 -0700)]
Merge ""Two actions ought to be enough for anybody."" into jb-dev
Jeff Sharkey [Wed, 13 Jun 2012 04:06:30 +0000 (21:06 -0700)]
Clear identity when snoozing limit.
Continues to check MANAGE_NETWORK_POLICY permission. This allows
SystemUI to invoke snoozeLimit() without CONNECTIVITY_INTERNAL.
Bug:
6653091
Change-Id: I464bf62b79f2647c6b6db151251a0036897d0cc0
Jim Miller [Wed, 13 Jun 2012 02:56:34 +0000 (19:56 -0700)]
Fix
6641800: Remove unnecessary padding below status view
This fixes a bug on a 600dp device where the owner info text
was clipped.
Change-Id: I5293b6c1f508307dc55b23d6e2f219e9fa735693
Craig Mautner [Tue, 12 Jun 2012 22:50:45 +0000 (15:50 -0700)]
Do not hide animating window behind keyguard.
The transition from clock to keyguard when restarting the device
was janky. The cause was that the clock app was animating away
which kept the adjustWallpaperWindowsLocked() method from setting
the keyguard as the new mWallpaperTarget. At the same time the
WindowAnimator saw that the keyguard was readyToDisplay() which
set mForceHiding true causing the clock to become hidden. Since
the clock was mWallpaperTarget the wallpaper was hidden at the
same time.
This fix does not allow mForceHiding to hide an animating
window.
Fixes bug
6649988.
Change-Id: Ie5cb0dfcc987d5ee1ad2351cf520629b8e301a2b
Jim Miller [Tue, 12 Jun 2012 04:06:13 +0000 (21:06 -0700)]
Fix
6613962: Update keyguard to use new GlowPadView UX design.
Change-Id: I4f1ef3107e5550f7df9dcb412943a84b66432b7d
Craig Mautner [Wed, 13 Jun 2012 02:04:01 +0000 (19:04 -0700)]
Merge "Set detached wallpaper on the scale up animation." into jb-dev
Chris Craik [Wed, 13 Jun 2012 00:23:28 +0000 (17:23 -0700)]
Fix attachFunctor path to ignore delay
Don't defer functor invocation when calling attach functor directly.
bug:
6653638
Change-Id: Ifffc027df16612f380f39b82b7d0a4411d53b4ea
Jeff Sharkey [Wed, 13 Jun 2012 00:12:08 +0000 (17:12 -0700)]
Low disk space string change, surface state.
Surface current low disk state through IPackageManager for use in
Settings app.
Bug:
6576409
Change-Id: I9ae9ce99a2faa3015a237036c03567d1ae11628f
Jeff Brown [Tue, 12 Jun 2012 23:06:03 +0000 (16:06 -0700)]
Merge "Print extended SQLite error code." into jb-dev
Craig Mautner [Tue, 12 Jun 2012 22:50:45 +0000 (15:50 -0700)]
Set detached wallpaper on the scale up animation.
This keeps the background wallpaper from disappearing when expanding an
app that has a wallpaper background (e.g. clock).
Fixes bug
6649988. The second half of the bug, the first half will be
reissued as a new bug.
Change-Id: I209c9038469e4133586a927c92ef64ae43fb937f
Craig Mautner [Tue, 12 Jun 2012 22:45:37 +0000 (15:45 -0700)]
Merge "Do not cancel animations when switching." into jb-dev
Jeff Brown [Tue, 12 Jun 2012 22:39:09 +0000 (15:39 -0700)]
Print extended SQLite error code.
Bug:
6538393
Change-Id: I2b010c6a1127887717af67ec588c3df8bf41afe6
James Dong [Tue, 12 Jun 2012 21:20:31 +0000 (14:20 -0700)]
Merge "Add NOTICE and MODULE_LICENSE_APACH2 to libvideoeditor_jni.so" into jb-dev
James Dong [Tue, 12 Jun 2012 21:04:30 +0000 (14:04 -0700)]
Add NOTICE and MODULE_LICENSE_APACH2 to libvideoeditor_jni.so
Change-Id: Ibe37c2e6ede6143dc4e27c6072867bc58aa1c08a
related-to-bug:
6647465
Chris Wren [Mon, 11 Jun 2012 14:39:36 +0000 (10:39 -0400)]
Invert the sense of the two-figner direction on tablets.
Bug:
6506376
Change-Id: Ife336c6695608f14554e18e32ea35f118d7f12e2
Christopher Tate [Tue, 12 Jun 2012 20:38:56 +0000 (13:38 -0700)]
Merge "Make sure to stop noHistory="true" activities properly" into jb-dev
John Spurlock [Tue, 12 Jun 2012 20:29:09 +0000 (13:29 -0700)]
Merge "StatusBar: Respond properly to global expand message" into jb-dev
Ying Wang [Tue, 12 Jun 2012 20:20:19 +0000 (13:20 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Ying Wang [Tue, 12 Jun 2012 20:17:59 +0000 (13:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iafceb53cc46753f25f460609e9db6fa227c15032
Christopher Tate [Tue, 12 Jun 2012 20:08:18 +0000 (13:08 -0700)]
Make sure to stop noHistory="true" activities properly
The code was correctly inducing a 'finish' when such an activity was
being stopped, but then was not continuing with the rest of the stop
bookkeeping at that point. In some circumstances this could result
in an inconsistent state, with the activity marked as finishing but
neither in the foreground nor stopped.
Bug
6585403
Change-Id: Ib5c5be885bc6534e099e040d87a8589f7b7454ce
Daniel Sandler [Tue, 12 Jun 2012 20:06:27 +0000 (16:06 -0400)]
"Two actions ought to be enough for anybody."
Bug:
6650170
Change-Id: I5ee6990a8e556f9ee1fbfb0989db33f75b07f4ea
Adam Powell [Tue, 12 Jun 2012 19:04:24 +0000 (12:04 -0700)]
Merge "MediaRouter work" into jb-dev
Adam Powell [Tue, 12 Jun 2012 18:25:54 +0000 (11:25 -0700)]
MediaRouter work
Fix a bug where MediaRouter would crash on creation
Add click listener for app-supplied extended settings on the route
selection dialog.
Change-Id: I2991db1720b5c574148e250526984592f4dc3c44
Justin Ho [Tue, 12 Jun 2012 18:22:44 +0000 (11:22 -0700)]
Merge "make the boot animation 32-bits to avoid banding" into jb-dev
Craig Mautner [Tue, 12 Jun 2012 18:13:41 +0000 (11:13 -0700)]
Do not cancel animations when switching.
Was canceling ongoing animations when starting a new animation which
caused the window of the first animation to restart. This looked
janky. The original cancellation was put in to stop the incorrect
animation being selected when quickly switching between an incoming
app and the homescreen. Reversing the cancellation no longer exposes
the original problem it was put in to fix.
One way to duplicate what this is fixing.
1. Slow down animations to 10x.
2. Run ApiDemos/App/Alert Dialogs/List dialog
3. Tap outside the list dialog and then tap the home button.
Tapping outside the list dialog causes the list dialog to animate
away. Tapping the home button then causes the app to animate away.
Before this fix the list dialog would revert to full size before
the app animates away. With this fix the list dialog continues its
original animation as the app animates away.
Fixes bug
6600726.
Change-Id: I29c940254808a321c3b6c2e4f4b7c78a72b47899
Eric Laurent [Tue, 12 Jun 2012 18:10:33 +0000 (11:10 -0700)]
Merge "Made IAudioService.setBluetoothA2dpOn() not oneway" into jb-dev
Daniel Sandler [Tue, 12 Jun 2012 18:04:11 +0000 (11:04 -0700)]
Merge "Put PLMN and SPN on one line in the notification panel." into jb-dev
Daniel Sandler [Tue, 12 Jun 2012 18:04:08 +0000 (11:04 -0700)]
Merge "Suppress header flash when collapsing notifications panel." into jb-dev
Gilles Debunne [Tue, 12 Jun 2012 17:47:31 +0000 (10:47 -0700)]
Merge "Prevent a crash when maxLines is set to 0" into jb-dev
Dianne Hackborn [Tue, 12 Jun 2012 17:40:11 +0000 (10:40 -0700)]
Merge "Fix issue #
6634325: View.setKeepScreenOn and..." into jb-dev
John Spurlock [Mon, 11 Jun 2012 20:23:10 +0000 (16:23 -0400)]
StatusBar: Respond properly to global expand message
Fix timing issue in PhoneStatusBar#animateExpand(). Also, notification panel
drag handle (when expanded) reflects movement immediately.
To test animateExpand():
$ adb shell service call statusbar 1
Bug:
6629916
Change-Id: I22bb09fc4c9d97c93ba8d7aed8921b60f5ebd610
Adam Powell [Tue, 12 Jun 2012 03:15:32 +0000 (20:15 -0700)]
Merge "Fix docs" into jb-dev
Adam Powell [Tue, 12 Jun 2012 03:12:56 +0000 (20:12 -0700)]
Fix docs
Change-Id: If0215c02abf419d14f28574b751c9dfc2f27bcbe
Jeff Brown [Tue, 12 Jun 2012 03:01:28 +0000 (20:01 -0700)]
Merge "Improve ANR diagnostics." into jb-dev
Adam Powell [Mon, 11 Jun 2012 22:15:10 +0000 (15:15 -0700)]
More MediaRouter features.
Add RemoteControlClient to user routes. This will allow the UI layered
on top to access info about the remote volume channel associated with
a user route.
Add icons for user routes and route groups.
Change-Id: I438aa60fc8c93f878ec7638897225738155f0746
Dianne Hackborn [Tue, 12 Jun 2012 01:35:41 +0000 (18:35 -0700)]
Fix issue #
6634325: View.setKeepScreenOn and...
...MediaPlayer.setScreenOnWhilePlaying seem broken
We need to correctly clear the keep screen on flag when the view
hierarchy request is gone... and to do that, we need to keep the
actual state of the flag requested by the app. Also when the app
changes its state, we need to compute the proper value based on
both the app request and any requests in the view hierarchy.
Bug:
6634325
Change-Id: I060e9a34a10faffbaa77c06098cf21298bb4969f
Jeff Brown [Tue, 12 Jun 2012 01:01:06 +0000 (18:01 -0700)]
Improve ANR diagnostics.
When an ANR occurs, log the associated reason.
When an event takes too long to process (currently more than 2 seconds)
log basic information about the event including how long it actually
took.
Dump the contents of the inbound, outbound and wait queues as part
of dumpsys input.
Bug:
6574842
Change-Id: I9ab754c320f609cb86fe266c469a61e7032dfed6
Gilles Debunne [Tue, 12 Jun 2012 00:46:24 +0000 (17:46 -0700)]
Prevent a crash when maxLines is set to 0
Bug
6642222
Using setMaxLines(0) and setMinHeight(30) causes a crash
because Layout#getLineRangeForDraw() returns a [0,0] interval
in that case.
Accessing the Direction in draw causes a NPE.
Change-Id: If50f9b554e3cdc598a721b623992e9196982838c
Romain Guy [Tue, 12 Jun 2012 00:31:44 +0000 (17:31 -0700)]
Merge "Textured text calls could be invisible Bug #
6597730" into jb-dev
Craig Mautner [Tue, 12 Jun 2012 00:12:03 +0000 (17:12 -0700)]
Merge "Remove over aggressive optimization." into jb-dev
Craig Mautner [Tue, 12 Jun 2012 00:11:47 +0000 (17:11 -0700)]
Merge "Revert "Merge errors."" into jb-dev
Craig Mautner [Tue, 12 Jun 2012 00:11:33 +0000 (17:11 -0700)]
Merge "Merge errors." into jb-dev
Eric Laurent [Tue, 12 Jun 2012 00:00:58 +0000 (17:00 -0700)]
Made IAudioService.setBluetoothA2dpOn() not oneway
IAudioService.setBluetoothA2dpOn() should not be one way as
IAudioService.isBluetoothA2dpOn() will return inconsistent results
if called just after.
Bug
6572651.
Change-Id: Ib03ae49e6c0041b1b37dcac9e198cd93a4794030
Dianne Hackborn [Mon, 11 Jun 2012 23:31:55 +0000 (16:31 -0700)]
Merge "Rework media router to be per-context with global process state." into jb-dev
Craig Mautner [Mon, 11 Jun 2012 22:57:19 +0000 (15:57 -0700)]
Remove over aggressive optimization.
It turns out that sometimes the wallpaper target is migrated to the
bottom of the window stack and then mWallpaperTarget is set to null.
In particular this happens when the launcher all-apps screen is
brought up. When this happens the layer of the wallpaper is
correctly set below the previous wallpaper target.
An optimization in WindowAnimator was keeping the layer update from
propagating to the Surface object. This fix removes that optimization.
Fixes bug
6631717.
Change-Id: I800dd043ce8df83b4e5edbf710503135396bc01e
Craig Mautner [Mon, 11 Jun 2012 23:27:54 +0000 (16:27 -0700)]
Revert "Merge errors."
This reverts commit
b0419a52008e57475ee254def1da20451da22d4c.
Craig Mautner [Mon, 11 Jun 2012 23:26:14 +0000 (16:26 -0700)]
Merge errors.
Change-Id: I33d0b1aa5dc5018cc879d2e9878e4825adaa4074
Michael Jurka [Mon, 11 Jun 2012 23:17:35 +0000 (16:17 -0700)]
Merge "Tweak recents out animation a bit more" into jb-dev
Romain Guy [Mon, 11 Jun 2012 23:03:47 +0000 (16:03 -0700)]
Textured text calls could be invisible
Bug #
6597730
Text would sometimes not appear when rendered with textured content
(BitmapShader, LinearGradientShader, etc.) This was due to a misuse
of OpenGL texture unit in FontRenderer. Textured text normally uses
two texture units:
- texture unit 0 for the font cache
- texture unit 1 for the textured content (gradient, etc.)
Recent changes to the font renderer allow it to bind new textures
while processing the text's geometry (this happens when caches get
full or when switching font size for instance.) The bindings were
done without ensuring the texture unit was the correct one
(unit 0), thus replacing the content of another texture unit
(unit 1).
This lead to text being drawn using the font cache itself as the
content texture, making the text invisible.
Change-Id: I392b4c884f09223305f6cbc6253e2ef9a98944c9
Jeff Brown [Mon, 11 Jun 2012 22:59:48 +0000 (15:59 -0700)]
Merge "Detect bad behavior earlier in Choreographer." into jb-dev