OSDN Git Service

android-x86/frameworks-base.git
12 years agoRemove line3 in big notification unless there's text to show.
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

12 years ago"Two actions ought to be enough for anybody."
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

12 years agoSuppress header flash when collapsing notifications panel.
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

12 years agoMerge "Don't allow apps to request scrolls to out-of-bounds positions" 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

12 years agoMerge "Crash in the touch explorer." 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

12 years agoMerge "Settings crash after enabling TalkBack accessibility." 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

12 years agoCrash in the touch explorer.
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

12 years agoMerge "Fix fake bold for fallback fonts in frameworks." into jb-dev
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

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Fri, 8 Jun 2012 23:31:51 +0000 (16:31 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0edaecd41cef0eb158d003a3a0aafe28f49949f7

12 years agoSettings crash after enabling TalkBack accessibility.
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

12 years agoDon't allow apps to request scrolls to out-of-bounds positions
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

12 years agoMerge "Bug 6605167: Turning off FUL during error counts as attempt" into jb-dev
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

12 years agoFix fake bold for fallback fonts in frameworks.
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

12 years agoMerge "Fix clear services API" into jb-dev
Irfan Sheriff [Fri, 8 Jun 2012 20:45:19 +0000 (13:45 -0700)]
Merge "Fix clear services API" into jb-dev

12 years agoMerge "Various notification template cleanups." into jb-dev
Daniel Sandler [Fri, 8 Jun 2012 20:38:02 +0000 (13:38 -0700)]
Merge "Various notification template cleanups." into jb-dev

12 years agoMerge "Hide wallpaper when wallpaper target gets hidden." 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

12 years agoHide wallpaper when wallpaper target gets hidden.
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

12 years agoMerge "Do not animate keyboard and button brightness." into jb-dev
Craig Mautner [Fri, 8 Jun 2012 19:48:19 +0000 (12:48 -0700)]
Merge "Do not animate keyboard and button brightness." into jb-dev

12 years agoMerge "Workaround for bug 6609605: Hindi rendering regression in WebView" 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

12 years agoMerge "Turn off dimming immediately for removed windows." 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

12 years agoMerge "apply Jellybean styling to tablet system bar and panel" 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

12 years agoMerge "Fix issue #6295373: "Package com.google.android.apps.authenticator2 has.....
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

12 years agoWorkaround for bug 6609605: Hindi rendering regression in WebView
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

12 years agoMerge "Progress bar assets - once more, with feeling!" into jb-dev
Adam Powell [Fri, 8 Jun 2012 17:11:40 +0000 (10:11 -0700)]
Merge "Progress bar assets - once more, with feeling!" into jb-dev

12 years agoTurn off dimming immediately for removed windows.
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

12 years agoMerge "Whoops, this version number wasn't updated when JB was introduced!" into jb-dev
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

12 years agoFix clear services API
Irfan Sheriff [Fri, 8 Jun 2012 16:24:33 +0000 (09:24 -0700)]
Fix clear services API

BUg: 6631291
Change-Id: I9cee827b5eb78e356fdf86390103136f5610dd3e

12 years agoDo not animate keyboard and button brightness.
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

12 years agoMerge "Delete old forward-locked apps on upgrade" into jb-dev
Kenny Root [Fri, 8 Jun 2012 16:16:40 +0000 (09:16 -0700)]
Merge "Delete old forward-locked apps on upgrade" into jb-dev

12 years agoMerge "Added a tvdpi specific background 9 patch" 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

12 years agoBug 6605167: Turning off FUL during error counts as attempt
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

12 years agoVarious notification template cleanups.
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

12 years agoapply Jellybean styling to tablet system bar and panel
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

12 years agoMerge "Fix for U+0449 (lowercase shcha) glyph in Roboto Light. Bug: 6609392" into...
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

12 years agoMerge "Cannot click on the last touch explored auto-completion item." 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

12 years agoProgress bar assets - once more, with feeling!
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

12 years agoWhoops, this version number wasn't updated when JB was introduced!
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

12 years agoFix issue #6295373: "Package com.google.android.apps.authenticator2 has...
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

12 years agoCannot click on the last touch explored auto-completion item.
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

12 years agoMerge "rename exif to exif_jni due to refactoring in external/jhead" into jb-dev
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

12 years agoMerge "Eliminate gap between finalize() and destroy()" 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

12 years agoMerge "Measure ASECs for forward-locked apps" 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

12 years agoMerge "Stay in layer scroll if nothing to scroll" 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

12 years agoMerge "Configuration for lock and UI sound levels" 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

12 years agoStay in layer scroll if nothing to scroll
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

12 years agoMerge "Only call fixSdPermissions when appropriate" into jb-dev
Kenny Root [Thu, 7 Jun 2012 21:21:14 +0000 (14:21 -0700)]
Merge "Only call fixSdPermissions when appropriate" into jb-dev

12 years agoMerge "Fixed cast exception with selectable text." 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

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

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 7 Jun 2012 20:52:56 +0000 (13:52 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ic209397930750934fe3ab136ab3a4586257c1ed3

12 years agoMerge "Cannot interact with dialogs when IME is up and on not touch explored popups...
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

12 years agoMeasure ASECs for forward-locked apps
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

12 years agoEliminate gap between finalize() and destroy()
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

12 years agoOnly call fixSdPermissions when appropriate
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

12 years agoMerge "Protect against bogus input for ListViews" into jb-dev
Adam Powell [Thu, 7 Jun 2012 19:12:00 +0000 (12:12 -0700)]
Merge "Protect against bogus input for ListViews" into jb-dev

12 years agoCannot interact with dialogs when IME is up and on not touch explored popups.
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

12 years agoMerge "Revert "Remove ViewTreeObserver allocations"" into jb-dev
Chet Haase [Thu, 7 Jun 2012 18:27:26 +0000 (11:27 -0700)]
Merge "Revert "Remove ViewTreeObserver allocations"" into jb-dev

12 years agoFixed cast exception with selectable text.
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

12 years agorename exif to exif_jni due to refactoring in external/jhead
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

12 years agoMerge "Small NFC API docs addition." into jb-dev
Martijn Coenen [Thu, 7 Jun 2012 17:35:15 +0000 (10:35 -0700)]
Merge "Small NFC API docs addition." into jb-dev

12 years agoMerge "Back from the dead: Carrier name, background dimming." 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

12 years agoMerge "Fix notification icon fading." into jb-dev
Chris Wren [Thu, 7 Jun 2012 16:44:34 +0000 (09:44 -0700)]
Merge "Fix notification icon fading." into jb-dev

12 years agoRevert "Remove ViewTreeObserver allocations"
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

12 years agoTrack canvas clearing for swap buffers logic.
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

12 years agoProtect against bogus input for ListViews
Adam Powell [Thu, 7 Jun 2012 05:46:42 +0000 (22:46 -0700)]
Protect against bogus input for ListViews

Guard against cases where ListView might receive touch events while
detached.

Update ListMenuPresenter to dispatch a data set change when the
backing menu is changed.

Bug 6543282

Change-Id: If2fb9b6aa3cf4a1b7070a7cd0de0edf0fc2f4cca

12 years agoFix notification icon fading.
Daniel Sandler [Wed, 6 Jun 2012 20:32:21 +0000 (16:32 -0400)]
Fix notification icon fading.

Bug: 6581738
Change-Id: I547cae03533d9a9e6cf1d15e4b47845f61eee072

12 years agoBack from the dead: Carrier name, background dimming.
Daniel Sandler [Tue, 5 Jun 2012 17:44:14 +0000 (13:44 -0400)]
Back from the dead: Carrier name, background dimming.

Unlike previous versions of Android, we now show the current
wifi SSID in the carrier label if connected to wifi.

Bug: 6612419
Bug: 6620626
Change-Id: Ifb5ba8efe6dd387e960efc6a9b1da69a08e97d96

12 years agoMerge "New mouse pointer arrow with high res versions. Bug: 6579869" into jb-dev
Christian Robertson [Thu, 7 Jun 2012 00:56:36 +0000 (17:56 -0700)]
Merge "New mouse pointer arrow with high res versions. Bug: 6579869" into jb-dev

12 years agoFix for U+0449 (lowercase shcha) glyph in Roboto Light. Bug: 6609392
Christian Robertson [Thu, 7 Jun 2012 00:55:03 +0000 (17:55 -0700)]
Fix for U+0449 (lowercase shcha) glyph in Roboto Light. Bug: 6609392

Change-Id: Id320c0c73275dfc06282c5c7eec79824d2062665

12 years agoSmall NFC API docs addition.
Martijn Coenen [Wed, 6 Jun 2012 20:07:47 +0000 (13:07 -0700)]
Small NFC API docs addition.

Indicate that if the device does not support Bluetooth or WiFI,
calling the API is a no-op.

Bug: 6620788
Change-Id: Ib261e0e7855d0914e97803b3b808015b72f3a186

12 years agoMerge "Revert "Add temporary functor detach logging"" into jb-dev
Chris Craik [Wed, 6 Jun 2012 23:59:01 +0000 (16:59 -0700)]
Merge "Revert "Add temporary functor detach logging"" into jb-dev

12 years agoRevert "Add temporary functor detach logging"
Chris Craik [Wed, 6 Jun 2012 23:45:53 +0000 (16:45 -0700)]
Revert "Add temporary functor detach logging"

bug:6608646

This reverts commit f98851ab37c07b243c485168cca201b07a22e6c7

12 years agoMerge "Revert "Add more temporary logging for investigating detachFunctor"" into...
Chris Craik [Wed, 6 Jun 2012 23:45:04 +0000 (16:45 -0700)]
Merge "Revert "Add more temporary logging for investigating detachFunctor"" into jb-dev

12 years agoMerge "add MINIMAL_FONT_FOOTPRINT configuration for PDK" into jb-dev
Keun young Park [Wed, 6 Jun 2012 23:24:25 +0000 (16:24 -0700)]
Merge "add MINIMAL_FONT_FOOTPRINT configuration for PDK" into jb-dev

12 years agoAdded a tvdpi specific background 9 patch
Gilles Debunne [Wed, 6 Jun 2012 23:21:41 +0000 (16:21 -0700)]
Added a tvdpi specific background 9 patch

Bug 6612759

Change-Id: If006b254b100ab9fcf8f31b500945c787b4c7b36

12 years agoDelete old forward-locked apps on upgrade
Kenny Root [Wed, 6 Jun 2012 23:05:05 +0000 (16:05 -0700)]
Delete old forward-locked apps on upgrade

The old style forward-locked apps were in a directory called
/data/app-private but the new style forward-locked apps are in ASEC
containers. This made the upgrade path confused and it wouldn't
correctly generate the InstallArgs to delete the old file.

Bug: 6619438
Change-Id: If4323fa8701d9fc653998f5db58670b4124b9e87

12 years agoMerge "Update group capability before connect" into jb-dev
Irfan Sheriff [Wed, 6 Jun 2012 22:45:41 +0000 (15:45 -0700)]
Merge "Update group capability before connect" into jb-dev

12 years agoMerge "Ensure we compute display name when needed" into jb-dev
Marco Nelissen [Wed, 6 Jun 2012 22:44:20 +0000 (15:44 -0700)]
Merge "Ensure we compute display name when needed" into jb-dev

12 years agoMerge "Disable automatic screen dimming." into jb-dev
Craig Mautner [Wed, 6 Jun 2012 22:24:36 +0000 (15:24 -0700)]
Merge "Disable automatic screen dimming." into jb-dev

12 years agoFix build.
Dianne Hackborn [Wed, 6 Jun 2012 22:02:25 +0000 (15:02 -0700)]
Fix build.

Change-Id: I42c3f6466d926258bbd303f2082de7207734451a

12 years agoUpdate group capability before connect
Irfan Sheriff [Wed, 6 Jun 2012 19:03:33 +0000 (12:03 -0700)]
Update group capability before connect

We need to get the latest group capability information before connect
now that the supplicant behavior is to do a delayed cleanup.

Bug: 6613470
Change-Id: Ie374d750950f3bd4376fd6a767bb253fd7986eb1

12 years agoDisable automatic screen dimming.
Craig Mautner [Wed, 6 Jun 2012 21:49:44 +0000 (14:49 -0700)]
Disable automatic screen dimming.

Done by setting the dimming period to Integer.MAX_VALUE. While it
doesn't technically disable dimming it will take 248 days to get to
any target value.

Fixes bug 6616423.

Change-Id: I5b753286b9d93664fbff79021be38adf4d8a007d

12 years agoMerge "Set screen brightness to match sensor at power on." into jb-dev
Craig Mautner [Wed, 6 Jun 2012 21:39:29 +0000 (14:39 -0700)]
Merge "Set screen brightness to match sensor at power on." into jb-dev

12 years agoadd MINIMAL_FONT_FOOTPRINT configuration for PDK
Keun young Park [Tue, 5 Jun 2012 22:20:17 +0000 (15:20 -0700)]
add MINIMAL_FONT_FOOTPRINT configuration for PDK

- all non-latin fonts excluded
- symlink used to create additional fonts

Bug: 6540216

Change-Id: Id0909124dc1d71331bde3c5911c24eee5b1692a2

12 years agoMerge "Fix some divide by zero errors that could crash the system." into jb-dev
Dianne Hackborn [Wed, 6 Jun 2012 21:16:05 +0000 (14:16 -0700)]
Merge "Fix some divide by zero errors that could crash the system." into jb-dev

12 years agoSet screen brightness to match sensor at power on.
Craig Mautner [Wed, 6 Jun 2012 21:13:39 +0000 (14:13 -0700)]
Set screen brightness to match sensor at power on.

Use the first sensor value received after screen on to set the screen
brightness. Do this setting immediately rather than animate to the
target brightness.

Fixes bug 6612418.

Change-Id: I6c24c55e0bd35ef58a6494d3b5e449954241fd00

12 years agoRevert "Add more temporary logging for investigating detachFunctor"
Chris Craik [Wed, 6 Jun 2012 20:59:33 +0000 (13:59 -0700)]
Revert "Add more temporary logging for investigating detachFunctor"

bug:6608646

This reverts commit 8857b2f76abad1e4ec742dfd85d0c997880be376

Change-Id: I1563b5974c52b84201ae448298f804eb0dcc235d

12 years agoMerge "DO NOT MERGE: Remove SMS shortcode warning feature." into jb-dev
Jake Hamby [Wed, 6 Jun 2012 21:01:24 +0000 (14:01 -0700)]
Merge "DO NOT MERGE: Remove SMS shortcode warning feature." into jb-dev

12 years agoEnsure we compute display name when needed
Marco Nelissen [Wed, 6 Jun 2012 20:37:50 +0000 (13:37 -0700)]
Ensure we compute display name when needed

Since the media scanner no longer uses an in memory cache, it always
found an entry for files inserted via MTP, which made it follow a
different code path than before, which in turn made the media
provider skip computing the display name column.
By clearing the row id in the media scanner when handling an mtp
request, we steer it back to the correct code path.
b/6297105
b/6525450

Change-Id: I624522b176a0057d246ce3040598af255b00a141

12 years agoDO NOT MERGE: Remove SMS shortcode warning feature.
Jake Hamby [Wed, 6 Jun 2012 20:56:50 +0000 (13:56 -0700)]
DO NOT MERGE: Remove SMS shortcode warning feature.

Fix jb-dev build. The SMS shortcode warning feature has some usability
limitations which need to be resolved before shipping. Remove the code
for JellyBean. It will be added back to a future release when the
feature is complete.

Bug: 6605549
Change-Id: Ic8a68dc0b1ad038618962185f5ee680d5281ca21

12 years agoMerge "Revert "Import translations. DO NOT MERGE"" into jb-dev
Eric Fischer [Wed, 6 Jun 2012 20:53:00 +0000 (13:53 -0700)]
Merge "Revert "Import translations. DO NOT MERGE"" into jb-dev

12 years agoRevert "Import translations. DO NOT MERGE"
Eric Fischer [Wed, 6 Jun 2012 20:51:50 +0000 (13:51 -0700)]
Revert "Import translations. DO NOT MERGE"

This reverts commit 6a6f746ece453c43aa92808cd140012866c8eb5c

12 years agoMerge "Fix bug 6499508" into jb-dev
Michael Jurka [Wed, 6 Jun 2012 20:31:58 +0000 (13:31 -0700)]
Merge "Fix bug 6499508" into jb-dev

12 years agoMerge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev
Dianne Hackborn [Wed, 6 Jun 2012 20:31:55 +0000 (13:31 -0700)]
Merge "Docs (mostly): enumerate JELLY_BEAN target SDK changes." into jb-dev

12 years agoMerge "Always queue A2DP connection state message with wakelock held" into jb-dev
Jean-Michel Trivi [Wed, 6 Jun 2012 20:31:53 +0000 (13:31 -0700)]
Merge "Always queue A2DP connection state message with wakelock held" into jb-dev

12 years agoMerge "New background for notification panel header." into jb-dev
Daniel Sandler [Wed, 6 Jun 2012 19:58:35 +0000 (12:58 -0700)]
Merge "New background for notification panel header." into jb-dev

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Wed, 6 Jun 2012 19:37:51 +0000 (12:37 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Wed, 6 Jun 2012 19:02:00 +0000 (12:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5a8719c293a25460058ad5b62069ea80c33da110

12 years agoFix some divide by zero errors that could crash the system.
Dianne Hackborn [Wed, 6 Jun 2012 18:48:46 +0000 (11:48 -0700)]
Fix some divide by zero errors that could crash the system.

Change-Id: I66273df84e45de59b5b161f4d13de67a9e0f46d5

12 years agoDocs (mostly): enumerate JELLY_BEAN target SDK changes.
Dianne Hackborn [Wed, 6 Jun 2012 00:38:50 +0000 (17:38 -0700)]
Docs (mostly): enumerate JELLY_BEAN target SDK changes.

Okay this isn't entirely docs.  I have un-hidden the new permission
for binding to accessibility services; we were going to go out with
it hidden since it didn't go into factory ROM, but now that we are
doing other things we might as well expose it.

Also changed a log from E to W, since it is not an error.

Change-Id: I9226c95e3b63e12218fe41dc3f4290d9824a9e5c

12 years agoAlways queue A2DP connection state message with wakelock held
Jean-Michel Trivi [Wed, 6 Jun 2012 17:51:58 +0000 (10:51 -0700)]
Always queue A2DP connection state message with wakelock held

Messages for changes to A2DP connection state are intended to be
 queued in AudioService after acquiring a wake lock, which is
 released after the message has been handled.
This was correctly done for connection messages when the system
 is up and running, but wasn't when the BluetoothProfile service
 listener gets an onServiceConnected() event, which is the case
 the the device boots.
This change correctly uses the queueMsgUnderWakeLock() method
 whenever a MSG_SET_A2DP_CONNECTION_STATE is to be sent.

Bug 6616292

Change-Id: Ie337a4641a89c522e2d233bccaac4e08ce324117