OSDN Git Service
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 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
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
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
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
Dianne Hackborn [Mon, 11 Jun 2012 22:08:39 +0000 (15:08 -0700)]
Rework media router to be per-context with global process state.
Change-Id: Ic1cb6f13e691d22783bcdafae85b7c75aec0a66f
Jeff Brown [Mon, 11 Jun 2012 22:25:48 +0000 (15:25 -0700)]
Detect bad behavior earlier in Choreographer.
Detect wonky vsync timestamps (should they occur) and
warn loudly about them.
Warn when too many frames are skipped. The threshold is pretty
conservative right now (only warn if at least 30 frames are skipped)
but it can be adjusted using system property. Even skipping just a
couple of frames is enough to generate noticeable jank.
The threshold is currently intended to help track down bigger problems
such when an app does too much work on the UI thread.
Bug:
6574842
Change-Id: I4aac7e5e17d1fb51adb0510e318a72a28b3775ed
Michael Jurka [Wed, 6 Jun 2012 00:22:24 +0000 (17:22 -0700)]
Tweak recents out animation a bit more
Bug:
6490204
-Fading to black in the recents layer
-Tweaking duration and interpolators
-Removing some unnecessary debug exceptions (Bug:
6642072)
Change-Id: Iba18fade7f874078111fc1d79a81830ee07617d4
Victoria Lease [Mon, 11 Jun 2012 22:21:39 +0000 (15:21 -0700)]
Merge "Revert "Fix fake bold for fallback fonts in frameworks."" into jb-dev
Adam Powell [Mon, 11 Jun 2012 22:00:57 +0000 (15:00 -0700)]
Merge "Further work on MediaRouter" into jb-dev
Mathias Agopian [Mon, 11 Jun 2012 21:08:02 +0000 (14:08 -0700)]
make the boot animation 32-bits to avoid banding
Bug:
6611693
Change-Id: Id31b711ea755c89240eaea26f6403a031cd939e4
Victoria Lease [Mon, 11 Jun 2012 21:46:04 +0000 (14:46 -0700)]
Revert "Fix fake bold for fallback fonts in frameworks."
This reverts commit
b26fa0ce68d3311b2fdffb930b27d897e481dd5a
Mathias Agopian [Mon, 11 Jun 2012 21:43:57 +0000 (14:43 -0700)]
Merge "Enable HW accelerated window shade for all devices" into jb-dev
Romain Guy [Mon, 11 Jun 2012 21:15:40 +0000 (14:15 -0700)]
Merge "Prevent crash in WebView when disabling the hw renderer Bug #
6596807" into jb-dev
Svetoslav Ganov [Mon, 11 Jun 2012 21:06:29 +0000 (14:06 -0700)]
Merge "NPE when iterating by character and word in Launcher widgets." into jb-dev
Romain Guy [Mon, 11 Jun 2012 20:24:30 +0000 (13:24 -0700)]
Prevent crash in WebView when disabling the hw renderer
Bug #
6596807
A crash would occur in the following situation:
- WebView registers a functor with the hardware renderer
- The hardware renderer gets disabled
- WebView attemps to unregister its functor
Unregistering the functor fails because the hardware renderer is now disabled.
When the renderer becomes enabled again, the functor is invoked, which leads
to a native crash.
This change simply allows functors to always be unregistered, even when the
renderer is disabled. A disabled renderer only means that it will not be used
for rendering; as such, unregistering a functor is a valid operation and
should be allowed.
Change-Id: I0ff897a0cca7e048c609033215cd0f7f5c940bcc
Dianne Hackborn [Mon, 11 Jun 2012 20:20:35 +0000 (13:20 -0700)]
Merge "DO NOT MERGE: Cherry-pick
2ed524966d3c4bd04ea5f54026ed59558d73cd44 to JB." into jb-dev
Adam Powell [Fri, 8 Jun 2012 21:46:35 +0000 (14:46 -0700)]
Further work on MediaRouter
Remove volume control and tracking. This will be handled by extensions
to existing audio and media APIs for now.
Tweak/refine other aspects of the API. Pass the router to callbacks for
easier future-proofing. Add group/ungroup callback methods.
Change-Id: Ib69e76e5f46280a9002b545bcf4cbc7b839844ee
Daniel Sandler [Mon, 11 Jun 2012 20:07:18 +0000 (16:07 -0400)]
Put PLMN and SPN on one line in the notification panel.
We now match the keyguard's presentation: either plmn, or
spn, or "plmn|spn" (concatenated with a pipe).
Bug:
6639047
Change-Id: Ia6ae9085fbf2fe9fa4465a6f7825cb997db5e6c5
Craig Mautner [Mon, 11 Jun 2012 20:10:01 +0000 (13:10 -0700)]
Merge "Fix exposing wallpaper on rotations and other." into jb-dev
Dianne Hackborn [Mon, 11 Jun 2012 20:09:22 +0000 (13:09 -0700)]
Merge "Fix issue #
6641368: can't launch gallery" into jb-dev
Daniel Sandler [Mon, 11 Jun 2012 20:07:52 +0000 (16:07 -0400)]
Suppress header flash when collapsing notifications panel.
LayoutTransition is poking through and it shouldn't be.
This change also fixes a few related animation glitches
around the carrier label and fling velocity.
Bug:
6628429
Change-Id: I6655c9f9a8c95c7abd9c6d7099957cb229b86d5a
Vairavan Srinivasan [Tue, 22 May 2012 07:06:15 +0000 (00:06 -0700)]
DO NOT MERGE: Cherry-pick
2ed524966d3c4bd04ea5f54026ed59558d73cd44 to JB.
This was contributed from AOSP, a fix to the management of URI write
permissions. This is a very blatant bug, and with the new Intent ClipData
and other stuff we are making much more use of write permissions in JB,
so it is well worth taking.
Change-Id: I58c86119b4d5c13fefd090944bea139803df1a48
Dianne Hackborn [Mon, 11 Jun 2012 19:27:05 +0000 (12:27 -0700)]
Fix issue #
6641368: can't launch gallery
This is a revert of
1db36528b12395b9ed9bf8a1005a6d4ace737627,
but with comments added so I don't make this mistake again. :)
Change-Id: I053216279e3721f08f32f561bb989736ef619f82
Svetoslav Ganov [Mon, 11 Jun 2012 19:08:18 +0000 (12:08 -0700)]
NPE when iterating by character and word in Launcher widgets.
1. The character and word iterators were use the application
context to keep track of locale changes. However, for widgets
the context from which the app context is obtained is custom
created therefore the app context is null and the iterators
code does not expect that. Now we are caching the locale
and update it when the configuration changes.
bug:
6642281
Change-Id: I3fd201ab9e4efd79e3bdc8afd8ee644e4354a7fb
Eric Fischer [Mon, 11 Jun 2012 18:56:22 +0000 (11:56 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev