OSDN Git Service
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
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
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
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
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
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
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
Chia-chi Yeh [Mon, 11 Jun 2012 18:49:46 +0000 (11:49 -0700)]
Merge "VPN: move VpnDialogs away from system uid." into jb-dev
Jeff Brown [Mon, 11 Jun 2012 18:46:42 +0000 (11:46 -0700)]
Merge "Remove edge slop handling from ScaleGestureDetector." into jb-dev
Eric Fischer [Mon, 11 Jun 2012 18:42:43 +0000 (11:42 -0700)]
Import translations. DO NOT MERGE
Change-Id: I937a8a4cc8617744f4a63d72fe946b0e2d543ede
Craig Mautner [Mon, 11 Jun 2012 18:40:09 +0000 (11:40 -0700)]
Fix exposing wallpaper on rotations and other.
1. Rotations do not go through standard closing of animations so the
wallpaper was not being hidden when the wallpaper target surface was
destroyed. This fix adds hiding the wallpaper when the wallpaper
target is destroyed.
2. The wallpaper target is nulled when switching from launcher home
screen to launcher all apps. In this case the wallpaper remains
visible but below visible layers. It should be hidden so that when
those layers adjust it is not exposed. (Separate fix for adjusting
wallpaper in this case will come).
Fixes bug
6629464.
Change-Id: I522f97dafc0cdcc0f933a825ec9a29d8f63590b5
Dianne Hackborn [Mon, 11 Jun 2012 17:37:51 +0000 (10:37 -0700)]
Merge "Include important native processes in watchdog stacks." into jb-dev
Chet Haase [Sun, 10 Jun 2012 19:30:33 +0000 (12:30 -0700)]
Merge "Don't allow apps to request scrolls to out-of-bounds positions" into jb-dev
Svetoslav Ganov [Sun, 10 Jun 2012 16:59:24 +0000 (09:59 -0700)]
Merge "Crash in the touch explorer." into jb-dev
Svetoslav Ganov [Sun, 10 Jun 2012 16:50:24 +0000 (09:50 -0700)]
Merge "Settings crash after enabling TalkBack accessibility." into jb-dev
Dianne Hackborn [Sat, 9 Jun 2012 00:23:59 +0000 (17:23 -0700)]
Include important native processes in watchdog stacks.
Helps us track down deadlocks involving native service processes.
Bug:
6615693
Change-Id: I580047550772e29586195a8cf440141574e3f40c
Svetoslav Ganov [Sat, 9 Jun 2012 00:44:29 +0000 (17:44 -0700)]
Crash in the touch explorer.
1. The touch explorer was notified for accessibility events from
a binder thread which was poking the internal state of the
latter which by design is not tread safe. Since the touch
explorer is expected to be running only on the main thread
the accessibility manager service delivers the accessibility
events to the explorer on that thread.
bug:
6635496
Change-Id: Ifdc5329e4be8e485d7f77f0fb472184494fa0d15
Victoria Lease [Sat, 9 Jun 2012 00:27:28 +0000 (17:27 -0700)]
Merge "Fix fake bold for fallback fonts in frameworks." into jb-dev
Jeff Brown [Fri, 8 Jun 2012 23:40:01 +0000 (16:40 -0700)]
Remove edge slop handling from ScaleGestureDetector.
The edge slop code could violate invariants of ScaleGestureDetector,
such as the assumption that if an ACTION_POINTER_DOWN is observed
or if getPointerCount() >= 2, then there must be at least two
active pointers to choose from. But due to the edge slop handling,
it was possible for findNewActiveIndex to return -1 in this
case, resulting in a crash.
Bug:
6613154
Change-Id: I4e08e38a49ab27dac1be9484e19de086bc43624a
Eric Fischer [Fri, 8 Jun 2012 23:31:51 +0000 (16:31 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0edaecd41cef0eb158d003a3a0aafe28f49949f7
Svetoslav Ganov [Fri, 8 Jun 2012 23:09:29 +0000 (16:09 -0700)]
Settings crash after enabling TalkBack accessibility.
1. AccessibilityInput filter was not checking whether the touch
explorer instance is not null before passing it an accessibility
event. If the accessibility event is dispatched before the input
filter is installed but after it is created we runt into this
case.
2. Added a missing null check in accessibility node info.
bug:
6635089
Change-Id: Ia389dc1f427427eb73794f6331ccb870e0b44c55
Chet Haase [Fri, 8 Jun 2012 22:01:56 +0000 (15:01 -0700)]
Don't allow apps to request scrolls to out-of-bounds positions
An app was requesting smooth scrolling to a view position beyond the
number of items in the list. This caused our setup logic to execute on
every frame, waiting for the target view to be added.
This fix clamps the requested target position to the number of items
actually in the list.
Issue #
6572175 Messaging: Sometimes conversation doesn't scroll when focus is brought to the compose field
Change-Id: I23707aeb213e67af4297713a03c2f5b446c8e2b6
Brian Colonna [Fri, 8 Jun 2012 21:45:11 +0000 (14:45 -0700)]
Merge "Bug
6605167: Turning off FUL during error counts as attempt" into jb-dev
Victoria Lease [Fri, 8 Jun 2012 17:25:19 +0000 (10:25 -0700)]
Fix fake bold for fallback fonts in frameworks.
This change is analogous to Ic0e9f1bbd8cae9fdd3a6d1d015bb9224c8be545c
in WebView, and depends upon the same Skia change that that CL makes
use of.
This flips the "fake bold" flag on for bold fonts in
TextView.setTypeface(), with the expectation that Skia will ignore
the flag if the final typeface used to render the glyphs is already
bold. It also does the same for StyleSpans, TextAppearanceSpans,
TypefaceSpans, and the Switch widget.
With this, fake bold should work uniformly across all scripts - if
fake bold works for a primary typeface, it should also work for all
fallback typefaces.
Bug:
6629786
Change-Id: Id3b8639ab0df83052ffd82809cb12adaacc1d46b
Irfan Sheriff [Fri, 8 Jun 2012 20:45:19 +0000 (13:45 -0700)]
Merge "Fix clear services API" into jb-dev
Daniel Sandler [Fri, 8 Jun 2012 20:38:02 +0000 (13:38 -0700)]
Merge "Various notification template cleanups." into jb-dev
Craig Mautner [Fri, 8 Jun 2012 20:14:54 +0000 (13:14 -0700)]
Merge "Hide wallpaper when wallpaper target gets hidden." into jb-dev
Chia-chi Yeh [Fri, 8 Jun 2012 20:05:58 +0000 (13:05 -0700)]
VPN: move VpnDialogs away from system uid.
Bug:
6632536
Change-Id: Iece647c077caf5298ccfe7d7aba5f0911a4ed0d1
Craig Mautner [Fri, 8 Jun 2012 19:56:14 +0000 (12:56 -0700)]
Hide wallpaper when wallpaper target gets hidden.
Another location that potentially hides the wallpaper target while
leaving the wallpaper itself still visible. Causes the wallpaper to
show up when upper surfaces are transparent all the way down.
Fixes bug
b6621986.
Change-Id: If75053160f041eb78868eda36b7820fb2110d069
Craig Mautner [Fri, 8 Jun 2012 19:48:19 +0000 (12:48 -0700)]
Merge "Do not animate keyboard and button brightness." into jb-dev
Raph Levien [Fri, 8 Jun 2012 19:40:10 +0000 (12:40 -0700)]
Merge "Workaround for bug
6609605: Hindi rendering regression in WebView" into jb-dev
Craig Mautner [Fri, 8 Jun 2012 18:36:36 +0000 (11:36 -0700)]
Merge "Turn off dimming immediately for removed windows." into jb-dev
Chris Wren [Fri, 8 Jun 2012 18:26:22 +0000 (11:26 -0700)]
Merge "apply Jellybean styling to tablet system bar and panel" into jb-dev
Dianne Hackborn [Fri, 8 Jun 2012 18:01:42 +0000 (11:01 -0700)]
Merge "Fix issue #
6295373: "Package com.google.android.apps.authenticator2 has..." into jb-dev
Raph Levien [Fri, 8 Jun 2012 17:17:23 +0000 (10:17 -0700)]
Workaround for bug
6609605: Hindi rendering regression in WebView
This patch changes the font data so that all anchor points are in
absolute coordinates, rather than relative to outline points. With
the workaround, we don't trigger the bug in the HarfBuzz/Skia
integration that causes incorrect outline point data to be read.
The font was prepared with FontForge. There's some risk of other
problems, but I tested the font fairly carefully and it looks fine.
(With a version prepared in TTX, the substitution of the different
width forms of the ivowelsigndeva got broken, likely due to a TTX
bug, as this seems to happen with roundtrip of unedited original).
Change-Id: I3f6fffce91c3ea0695e6005b051bcf4e9b6f6361
Adam Powell [Fri, 8 Jun 2012 17:11:40 +0000 (10:11 -0700)]
Merge "Progress bar assets - once more, with feeling!" into jb-dev
Craig Mautner [Fri, 8 Jun 2012 16:54:59 +0000 (09:54 -0700)]
Turn off dimming immediately for removed windows.
Dimming was only turning off immediately for app-animated windows.
For removed windows dimming wouldn't turn off until the window was
completely gone.
Fixes bug
6628057.
Change-Id: I3ba6501b10a31b6f8c91012e17ad8734a84050c4
Kenny Root [Fri, 8 Jun 2012 16:51:04 +0000 (09:51 -0700)]
Merge "Whoops, this version number wasn't updated when JB was introduced!" into jb-dev
Irfan Sheriff [Fri, 8 Jun 2012 16:24:33 +0000 (09:24 -0700)]
Fix clear services API
BUg:
6631291
Change-Id: I9cee827b5eb78e356fdf86390103136f5610dd3e
Craig Mautner [Fri, 8 Jun 2012 02:58:58 +0000 (19:58 -0700)]
Do not animate keyboard and button brightness.
Keyboard and button brightness are always set to assign values
immediately but were being passed through the animation process
anyways. This interfered with the state of the screen brightness
animation. Intercept keyboard and button brightness directives and
implement them immediately.
Also use actual screen brightness and value to determine when we
are dimming or brightening. Previously we were using the sensor
values to determine whether the action called for was to brighten or
dim. This looks at the actual screen brightness level to make that
determination. If the two values get out of sync it is better to rely
on the screen value than the sensor value.
Fixes bug
6626681.
Change-Id: I82158f5188ffb739e01f818ba88e79f03a405c58
Kenny Root [Fri, 8 Jun 2012 16:16:40 +0000 (09:16 -0700)]
Merge "Delete old forward-locked apps on upgrade" into jb-dev
Gilles Debunne [Fri, 8 Jun 2012 16:12:34 +0000 (09:12 -0700)]
Merge "Added a tvdpi specific background 9 patch" into jb-dev
Brian Colonna [Mon, 4 Jun 2012 20:16:46 +0000 (16:16 -0400)]
Bug
6605167: Turning off FUL during error counts as attempt
If FUL was turned off while the error message was displayed it would
not count as a failed attempt. This commit changes the
reportFailedAttempt callback to just report the failure rather than
report the failure and close. This allows the FUL service to send the
reportFailedAttempt message earlier and then later close using the
existing cancel function, which closes without reporting a failed
attempt.
Change-Id: Ib3b76f477a98b149fcccc32ac39ecaeccd88a7e2
Daniel Sandler [Thu, 7 Jun 2012 20:33:08 +0000 (16:33 -0400)]
Various notification template cleanups.
Bug:
6597693 // hide line3 in InboxStyle
Bug:
6593691 // vertical centering inconsistencies
Bug:
6592116 // no left action gutter in BigPicture
Bug:
6622757 // missing subtext in BigText expanded
Change-Id: I941af99d0a905b6e0aa6fb74ad4eff29c17d9fc2
Chris Wren [Wed, 6 Jun 2012 22:08:56 +0000 (18:08 -0400)]
apply Jellybean styling to tablet system bar and panel
Bug:
6546070
Change-Id: I933883857747931388026e0beefcf092a00d531a
Bart Sears [Fri, 8 Jun 2012 06:20:20 +0000 (23:20 -0700)]
Merge "Fix for U+0449 (lowercase shcha) glyph in Roboto Light. Bug:
6609392" into jb-dev
Svetoslav Ganov [Fri, 8 Jun 2012 02:52:19 +0000 (19:52 -0700)]
Merge "Cannot click on the last touch explored auto-completion item." into jb-dev
Adam Powell [Fri, 8 Jun 2012 02:23:36 +0000 (19:23 -0700)]
Progress bar assets - once more, with feeling!
Bug
6628236
Change-Id: I06369f37caf3db8b00047822f5fda44ce380e01b
Dianne Hackborn [Fri, 8 Jun 2012 01:20:55 +0000 (18:20 -0700)]
Whoops, this version number wasn't updated when JB was introduced!
Change-Id: I9c9cd658cc1cba99b84059c8873c22b21b9f3c19
Dianne Hackborn [Thu, 7 Jun 2012 23:53:59 +0000 (16:53 -0700)]
Fix issue #
6295373: "Package com.google.android.apps.authenticator2 has...
...mismatched uid: X on disk, Y in settings" errors on Froyo and Gingerbread
Deal more gracefully with the uid changing in three ways:
1. If the uid on disk has become root, then have installd change it to
the application's uid. This is to correct a potential case where
installd was interrupted while linking or unlinking the libs dir,
during which it temporarily changes the owner of the dir to root
so that a malicious app can not get in its way. So if the uid on
disk has become root, we assume we can safely just change it back
to the correct uid.
2. When scaning packages at boot, use the same "delete and rebuild data
directory" code for third party applications as we have for system
applications. This allows us to at least end up in a state where the
app will run, even if its data is lost.
3. But we really don't want to get in to case 2, so if an application
update is being installed and we find that the uid we now have for
the app is different than the one on disk, fail the update. This will
protect against for example a developer changing the sharedUserId of
their app and getting into this bad state.
Bug:
6295373
Change-Id: Ic802fdd818ac62449ff3c61d1fff1aa4d4942f39
Svetoslav Ganov [Thu, 7 Jun 2012 23:35:04 +0000 (16:35 -0700)]
Cannot click on the last touch explored auto-completion item.
1. When typing into an auto completion edit field a list of completions pops up and if
the user touch explores the list and tries to double tap to select the touched
completion the latter is not selected.
The auto completion is a popup that does not take input focus and is overlaid on
top of the window that has input focus. The touch explorer was clicking on the
location of the accessibility focus if the last touch explored location is within
the bounds of the active window. In this case this was the window with the edit
text into which the user is typing. The check performed by the touch explorer
was missing the case when the last touch explored location was within the bounds
of the active window but it actually was deloverd to another overlaid window.
Now we are poking on the accessibility focus location if the last explored
location is within the active window and was delivered to it.
bug:
6629535
Change-Id: Ie66d5bb81ab021f2bb0414339b7de26d96826191
Keun young Park [Thu, 7 Jun 2012 23:19:02 +0000 (16:19 -0700)]
Merge "rename exif to exif_jni due to refactoring in external/jhead" into jb-dev
John Reck [Thu, 7 Jun 2012 22:57:56 +0000 (15:57 -0700)]
Merge "Eliminate gap between finalize() and destroy()" into jb-dev
Kenny Root [Thu, 7 Jun 2012 22:40:54 +0000 (15:40 -0700)]
Merge "Measure ASECs for forward-locked apps" into jb-dev
John Reck [Thu, 7 Jun 2012 22:29:46 +0000 (15:29 -0700)]
Merge "Stay in layer scroll if nothing to scroll" into jb-dev
Jean-Michel Trivi [Thu, 7 Jun 2012 22:28:51 +0000 (15:28 -0700)]
Merge "Configuration for lock and UI sound levels" into jb-dev
John Reck [Thu, 7 Jun 2012 21:45:34 +0000 (14:45 -0700)]
Stay in layer scroll if nothing to scroll
Bug:
6628376
The issue here is that contentX & contentY can both be 0 if we are scrolling
slowly enough as they are adjusted by the page's scale and can thus round down.
However, this would result in us falling out of layer drag mode even though
we haven't tried to scroll past the edge of the layer. Detect this case, and
stay in layer scroll mode.
Change-Id: I3c655d0d03e8f89887abbe718bd24699c133ee1a
Kenny Root [Thu, 7 Jun 2012 21:21:14 +0000 (14:21 -0700)]
Merge "Only call fixSdPermissions when appropriate" into jb-dev
Gilles Debunne [Thu, 7 Jun 2012 21:15:40 +0000 (14:15 -0700)]
Merge "Fixed cast exception with selectable text." into jb-dev
Eric Fischer [Thu, 7 Jun 2012 20:56:09 +0000 (13:56 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 7 Jun 2012 20:52:56 +0000 (13:52 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic209397930750934fe3ab136ab3a4586257c1ed3
Svetoslav Ganov [Thu, 7 Jun 2012 20:50:58 +0000 (13:50 -0700)]
Merge "Cannot interact with dialogs when IME is up and on not touch explored popups." into jb-dev
Kenny Root [Mon, 4 Jun 2012 23:39:47 +0000 (16:39 -0700)]
Measure ASECs for forward-locked apps
Forward-locked apps are mostly in ASEC containers now, so the
containers need to be measured as well.
Bug:
6606390
Change-Id: I69e9fe47aabe1e130568779a45fe8000b3ce9d4c
John Reck [Thu, 7 Jun 2012 18:35:35 +0000 (11:35 -0700)]
Eliminate gap between finalize() and destroy()
Bug:
6569073
Only nativeDestroy and nativeStopGL need to be called on the UI thread,
so split up destroyImpl into 3 functions, and only have the native
destroy be pushed to the UI thread if necessary. Also make the work that
is delayed be static without references to the finalizing WebView to allow
it to be fully deleted immediately after finalization.
Change-Id: I4e424051e69df0bc409af95ca3f3d2b9e58a6b75
Kenny Root [Tue, 5 Jun 2012 22:13:17 +0000 (15:13 -0700)]
Only call fixSdPermissions when appropriate
When media packages were loaded, they would lose their forward-locked
status since the flags covering it was not available when the
doPostInstall step was called.
Bug:
6611980
Change-Id: I807fcec6b61cedf7654808b704fba7de9c7c1922
Adam Powell [Thu, 7 Jun 2012 19:12:00 +0000 (12:12 -0700)]
Merge "Protect against bogus input for ListViews" into jb-dev
Svetoslav Ganov [Thu, 7 Jun 2012 04:12:20 +0000 (21:12 -0700)]
Cannot interact with dialogs when IME is up and on not touch explored popups.
1. If the last touch explored location is within the active window we
used to click on exact location if it is within the accessibility
focus otherwise in the accessibility focus center. If the last touch
explored location is not within the active window we used to just
click there. This breaks in the case were one has touch explored
at a given place in the current window and now a dialog opens *not*
covering the touch explored location. If one uses swipes to move
accessibility focus i.e. to traverse the dialog without touching
it one cannot activate anything because the touch explorer is using
the last touch explored location that is outside of the active
window e.g the dialog.
The solution is to clear the last touch explored location when a
window opens or accessibility focus moves. If the last touch
explored location is null we are clicking in the accessibility
focus location.
bug:
6620911
2. There is a bug in the window manager that does not notify a
window that its location has changed (bug:
6623031). This breaks
accessibility interaction with dialogs that have input because
when the IME is up the dialog is moved but not notified. Now
the accessibility layer gets incorrect location for the
accessibility focus and the window bounds.
The soluion is when the accessibility manager service calls
into the remove thress to obtain some accessibility node infos
it passes the window left and top which it gets from the
window manager. These values are used to update the attach info
window left and top so all accessibility node infos emitted
from that window had correct bounds in screen coordinates.
bug:
6620796
Change-Id: I18914f2095c55cfc826acf5277bd94b776bda0c8
Chet Haase [Thu, 7 Jun 2012 18:27:26 +0000 (11:27 -0700)]
Merge "Revert "Remove ViewTreeObserver allocations"" into jb-dev
Gilles Debunne [Thu, 7 Jun 2012 17:50:58 +0000 (10:50 -0700)]
Fixed cast exception with selectable text.
Bug
6550358
The EditText constructor now calls setTextIsSelectable, which uses
getText where the cast exception happens because the EditText is not
yet fully built and its text does not have the right type.
Fixed by using mText directly instead of getText().
Change-Id: I52a2720ae99475881f210ac74464728cab92147e
Keun young Park [Thu, 7 Jun 2012 01:14:50 +0000 (18:14 -0700)]
rename exif to exif_jni due to refactoring in external/jhead
- also pull libexif_jni from media_jni
Bug:
6623618
Change-Id: I4f06a4614c5fddcf98d95caff16a2c40f345dade
Martijn Coenen [Thu, 7 Jun 2012 17:35:15 +0000 (10:35 -0700)]
Merge "Small NFC API docs addition." into jb-dev
Chris Wren [Thu, 7 Jun 2012 16:44:54 +0000 (09:44 -0700)]
Merge "Back from the dead: Carrier name, background dimming." into jb-dev
Chris Wren [Thu, 7 Jun 2012 16:44:34 +0000 (09:44 -0700)]
Merge "Fix notification icon fading." into jb-dev
Chet Haase [Thu, 7 Jun 2012 14:48:48 +0000 (07:48 -0700)]
Revert "Remove ViewTreeObserver allocations"
This reverts commit
b999cc118fe430699e9a67d5dab355125b873abb.
There was an assumption in this earlier change that observer dispatching could not be
recursive - we could only ever have one iteration on the observer listener list. This
assumption broke down in a specific app, and maybe in more, so reverting the change for now.
We should probably find a way to accomplish the same allocation-minimizing goal without
causing exceptions when violating our assumptions.
Issue #
6620795 [Application compatibility] Lufthansa app crashes
Change-Id: I1c1f9ad329c14398feb0e74ce77e1a07111f7d1f
Chet Haase [Thu, 7 Jun 2012 02:03:58 +0000 (19:03 -0700)]
Track canvas clearing for swap buffers logic.
A previous fix made it necessary for a frame to render something to GL
in order to cause a call to eglSwapBuffers(). Besides the calls being
tracked as part of issuing a DisplayList, there is also a potential call
to clear the canvas (via glClear()) on non-opaque surfaces. This call is also
good to track, since a surface that gets cleared without any other drawing operations
is worth flipping to the screen (to erase old contents on that surface).
This fix tracks the status of the pre-draw operations to find out whether
glClear() was called and then sets the drawing status appropriately.
Issue #
6606422 QuickContact dismissal is janky again (Tracking)
Change-Id: I5fcaccfdc9293dd46b83f2fc279730a5d2740ebf