OSDN Git Service
alanv [Fri, 22 Jun 2012 17:47:28 +0000 (10:47 -0700)]
Ensure screen reader URL gets updated during ICS to JB update.
Bug:
6702042
Change-Id: I771863c53fa420ba0746fce30cd17eb8b2b9fba1
satok [Wed, 20 Jun 2012 20:01:09 +0000 (13:01 -0700)]
Merge "Workaround: Never reset the default IME if the system is not ready" into jb-dev
Ying Wang [Wed, 20 Jun 2012 19:26:14 +0000 (12:26 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Charles Chen [Wed, 20 Jun 2012 19:12:07 +0000 (12:12 -0700)]
Merge "Fixing gesture recognition configuration in TouchExplorer." into jb-dev
Dianne Hackborn [Wed, 20 Jun 2012 19:06:38 +0000 (12:06 -0700)]
Merge "Fix issue #
6686339: 2 taps required to launch notification..." into jb-dev
Dianne Hackborn [Wed, 20 Jun 2012 19:06:14 +0000 (12:06 -0700)]
Merge "Fix issue #
6675499: java.lang.RuntimeException: Unable to start..." into jb-dev
Ying Wang [Wed, 20 Jun 2012 18:58:21 +0000 (11:58 -0700)]
Import translations. DO NOT MERGE
Change-Id: If50ab67d8bc4570a07cb2e9dba0c22ed4f7d7592
satok [Wed, 20 Jun 2012 11:08:44 +0000 (20:08 +0900)]
Workaround: Never reset the default IME if the system is not ready
Bug:
6685037
Change-Id: Ifb311f85154beadd4787ec73669bedfdf1f5172d
Peter Ng [Wed, 20 Jun 2012 16:30:59 +0000 (09:30 -0700)]
Fixing typography typo and iconography typo
Bug:
5836343
Bug:
5831156
Change-Id: I2801002a20645d1cbf7d548a1a7c280796457adb
Jean-Michel Trivi [Wed, 20 Jun 2012 16:07:59 +0000 (09:07 -0700)]
Merge "Remote volume handling in MediaRouter" into jb-dev
Luca Zanolin [Wed, 20 Jun 2012 09:32:12 +0000 (02:32 -0700)]
Merge "Clone the list of listeners before notifing any event." into jb-dev
Jean-Michel Trivi [Tue, 19 Jun 2012 21:03:09 +0000 (14:03 -0700)]
Remote volume handling in MediaRouter
Extend MediaRouter.UserRouteInfo to enable setting playback
information, which includes volume. When the user route instance
has a RemoteControlClient, forward any playback information to it.
Enable specifying a callback to be notified of volume events
on the route.
Extend MediaRouter.RouteInfo to enable retrieving playback
information.
Update RemoteControlClient javadoc to reflect which parts of the
API are not intended to be made public.
Change-Id: I59d728eb61747af6c8c89d53f0faeb07940594c3
Adam Powell [Wed, 20 Jun 2012 02:18:34 +0000 (19:18 -0700)]
Merge "Add an XML attribute for controlling which route types a MediaRouteButton in a layout will alter." into jb-dev
Romain Guy [Wed, 20 Jun 2012 01:39:08 +0000 (18:39 -0700)]
Merge "Add extra systrace tracing" into jb-dev
Jim Miller [Wed, 20 Jun 2012 01:31:31 +0000 (18:31 -0700)]
Merge "Fix
6656710: center dot pattern in GlowPadView" into jb-dev
Jim Miller [Wed, 20 Jun 2012 00:38:04 +0000 (17:38 -0700)]
Fix
6656710: center dot pattern in GlowPadView
This fixes a bug where the dots weren't aligned with the center of the view.
The matrix should not contain the offset of the image itself since we really
want to scale about the abstract points. The code now subtracts the image
centering positions (cx,cy) from the point to be scaled.
Change-Id: I1d46a5d51b1fd1d39944c64baf86c306c2d5e923
Romain Guy [Tue, 19 Jun 2012 23:38:50 +0000 (16:38 -0700)]
Add extra systrace tracing
This change shows how much time is spent updating and executing
framework display lists within a frame.
This change also fixes a crash that happnes if you attempt to
perform a dumpsys gfxinfo while the app is drawing (we are telling
developers to use this new tool.)
Change-Id: Ia4047a78a42b545ab77176ef4f371c300686548c
Xavier Ducrohet [Wed, 20 Jun 2012 01:04:19 +0000 (18:04 -0700)]
Merge "Disable debug output in SDK layoutlib." into jb-dev
Xavier Ducrohet [Wed, 20 Jun 2012 01:01:50 +0000 (18:01 -0700)]
Disable debug output in SDK layoutlib.
Bug:
6697442
Change-Id: I9741761342ea220c158aa124089430b0db80bf7e
Dianne Hackborn [Wed, 20 Jun 2012 00:48:32 +0000 (17:48 -0700)]
Fix issue #
6686339: 2 taps required to launch notification...
...or settings from lock screen
When a window is drawn, the code to determine whether it should now
be shown was calling WindowState.isReadyForDisplay(). Part of the
condition of this function is that it is not ready if a policy is
forcing the window to be hidden -- which is the case when the lock
screen is shown. As a result, we wouldn't show the window at that
point, so wouldn't tell the activity manager that the token's windows
are visibible, and wouldn't tell the lock screen to go away.
This adds a new variation WindowState.isReadyForDisplayIgnoringKeyguard(),
which is the same as the original method but ignores the policy visibility
for app windows. This allows windows to be go through the complete
path of handling when the window is finally drawn and telling the
activity manager about it, even if behind the lock screen. By making it
a separate function, we don't impact any other code that is calling the
old function and may be relying on its behavior.
Also cleaned up a little of the dumpsys output. Most important, the
new ANR section is now moved to the top, since we want
"adb shell dumpsys window" to still give a nice summary of what we
normally care about -- the window stack and important global state.
Change-Id: Ica3ea85ce46f3f5f5cd2cc30fbd9de13d3885a57
Adam Powell [Wed, 20 Jun 2012 00:47:13 +0000 (17:47 -0700)]
Add an XML attribute for controlling which route types a
MediaRouteButton in a layout will alter.
Change-Id: I897a68188fa87e4c2dbc88794117a3ef87ffaab0
Adam Powell [Wed, 20 Jun 2012 00:00:35 +0000 (17:00 -0700)]
Merge "Permit MediaRouteButton to select system routes in toggle mode." into jb-dev
Jim Miller [Tue, 19 Jun 2012 23:41:50 +0000 (16:41 -0700)]
Merge "Fix
6693743: update animation ring for keyguard and search panel" into jb-dev
Casey Burkhardt [Tue, 19 Jun 2012 23:24:10 +0000 (16:24 -0700)]
Fixing gesture recognition configuration in TouchExplorer.
This fix adjusts the sensitivity of the gesture recognizer by
eliminating gesture rotation in the recognition process.
Bug:
6697119
Change-Id: Ic767f513c05210b27e583338c4f0adcaa1c4c625
Jim Miller [Tue, 19 Jun 2012 23:17:19 +0000 (16:17 -0700)]
Fix
6693743: update animation ring for keyguard and search panel
This is a partial revert of change Ibce96f45eb6a94582c694108b99e243fd57b1955.
This change:
- shows the expanding ring animation on keyguard and navbar search
- disables the first ping wave animation on both.
- restores the outer ring
Change-Id: I429d23a49ca2868dc00872b8b8fde000d6a53a6d
Victoria Lease [Tue, 19 Jun 2012 23:16:00 +0000 (16:16 -0700)]
Merge "DO NOT MERGE Engineer-asset light-theme findonpage prev/next buttons" into jb-dev
Chet Haase [Tue, 19 Jun 2012 22:59:27 +0000 (15:59 -0700)]
Merge "Handle non-started LayoutTransition animations correctly" into jb-dev
Adam Powell [Tue, 19 Jun 2012 22:58:38 +0000 (15:58 -0700)]
Permit MediaRouteButton to select system routes in toggle mode.
Bug
6694917
Change-Id: I82e68aee196c72f349e7638717b727ef3f23e9b5
Victoria Lease [Tue, 19 Jun 2012 20:56:27 +0000 (13:56 -0700)]
DO NOT MERGE Engineer-asset light-theme findonpage prev/next buttons
This is a cherrypick of Iae2795da from master.
These are provided with the expectation that they will be replaced
with more professional assets as soon as available.
Bug:
6685279
Change-Id: Iae2795dafaffcc337b74f4a178f68de4a96b96bf
Chet Haase [Tue, 19 Jun 2012 20:54:29 +0000 (13:54 -0700)]
Handle non-started LayoutTransition animations correctly
A recent change to LayoutTransition noop'd animations in non-visible
parents, to avoid artifacts like scaling/moving from (0,0,0,0). But there
was logic in ViewGroup that didn't account for transitions that didn't actually
run an animation, causing a disconnect between the state of a parent (getting ready
to remove an item later) and the state of the transition (not running, therefore
not needing the child to be removed later).
The fix was to detect when the transition did not start and avoid adding the
view to the list of children to be removed later.
Issue #
6602502 Playing video through crackle application only audio is heard no video is displayed
Change-Id: Id5260580ab0d6dd165c62006c7bd579fd821a5f5
Jim Miller [Tue, 19 Jun 2012 22:23:03 +0000 (15:23 -0700)]
Merge "Fix
6667238: allow market apps to support ACTION_ASSIST" into jb-dev
Craig Mautner [Tue, 19 Jun 2012 22:08:41 +0000 (15:08 -0700)]
Merge "Clear sendingToBottom when animation is complete." into jb-dev
Dianne Hackborn [Tue, 19 Jun 2012 22:07:05 +0000 (15:07 -0700)]
Fix issue #
6675499: java.lang.RuntimeException: Unable to start...
...activity ComponentInfo{com.google.android.gm/
com.google.android.gm.ui.MailActivityGmail}: java.lang.NullPointerException
There were a number of places in FragmentManagerImpl where we were
not dealing with mAdded being null. In the original implementation,
mAdded would almost always be null if mActive is null. As we have
added features, this has become a less strong guarantee (and it actually
was never completely guaranteed), but there are a lot of places where
we would check for mActive being non-null and assume this meant
mAdded is non-null.
Fix these to correctly check for mAdded.
Bug:
6675499
Change-Id: I2a6a801d8bc89550fc73e12c9c3f8bb0ad6c7fa4
Jim Miller [Tue, 19 Jun 2012 02:23:39 +0000 (19:23 -0700)]
Fix
6667238: allow market apps to support ACTION_ASSIST
This change allows market apps and 3rd parties to supply an activity
that responds to ACTION_ASSIST (e.g. market apps).
It also adds a test app to respond to the ASSIST intent and force
the intent disambiguation dialog to appear.
Change-Id: I5a78863c6a9546d18c66275187d178f6a1c9ee17
Eric Fischer [Tue, 19 Jun 2012 21:43:50 +0000 (14:43 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Tue, 19 Jun 2012 21:38:50 +0000 (14:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I050bc722a5a06acc49fc519d57bf16b14158e97a
Craig Mautner [Tue, 19 Jun 2012 21:10:01 +0000 (14:10 -0700)]
Clear sendingToBottom when animation is complete.
Was counting on moving the app to the top to clear the flag
indicating that the app was being sent to the bottom. Since this
did not always happen the sendingToBottom flag was occasionally
left set. In this case the focus was skipped for that app and
consequently input was never propagated to it.
This fix clears the sendingToBottom flag each time the app
animations are completed.
Fixes bug
6691421.
Change-Id: I6f851dc5bedca95182db8490d87c876a71ad5fde
Jeff Sharkey [Tue, 19 Jun 2012 20:32:22 +0000 (13:32 -0700)]
Handle SCREEN_ON/OFF broadcasts without blocking.
NetworkPolicy currently uses a single background thread to process
various broadcasts. When processing other broadcasts, this thread
can block our handling of SCREEN_ON/OFF, which are sent as ordered
broadcasts.
This change moves SCREEN_ON/OFF handling to the main thread, and
dispatches a one-way message to the background thread, allowing the
ordered broadcast to always proceed.
Bug:
6677047
Change-Id: I52de2c7b75beb8059bb87e123689ba4a9c4ae349
Dianne Hackborn [Tue, 19 Jun 2012 17:54:42 +0000 (10:54 -0700)]
Merge "Docs only: DENSITY_TV, not just for TVs any more!" into jb-dev
Jean-Michel Trivi [Tue, 19 Jun 2012 17:54:32 +0000 (10:54 -0700)]
Merge "Remote volume handling" into jb-dev
Luca Zanolin [Tue, 19 Jun 2012 17:15:29 +0000 (18:15 +0100)]
Clone the list of listeners before notifing any event.
This is required, otherwise the listener cannot remove it-self from the
list of listeners during the notification.
Bug:
6692355
Change-Id: I07762feb4f9b97ec4b6148d2f604d53e266b84d7
Adam Powell [Tue, 19 Jun 2012 04:36:23 +0000 (21:36 -0700)]
Merge "MediaRouter bluetooth a2dp selection" into jb-dev
Adam Powell [Mon, 18 Jun 2012 23:14:46 +0000 (16:14 -0700)]
MediaRouter bluetooth a2dp selection
Remove bluetooth permission check from internal AudioService method
setBluetoothA2dpOn
Manage BT A2DP state in MediaRouter. A2DP is only enabled or disabled
when either the system built-in audio route or the A2DP audio route is
selected; when selecting any other route the current state is left
alone.
Change-Id: Ib14274e206e79bd8762edca1205ecfa87b7a94cf
Dianne Hackborn [Tue, 19 Jun 2012 02:29:45 +0000 (19:29 -0700)]
Docs only: DENSITY_TV, not just for TVs any more!
Change-Id: Id70e0bc179ab405fbb7f3b2cda7b75f44ff30b57
Gilles Debunne [Tue, 19 Jun 2012 01:53:30 +0000 (18:53 -0700)]
Merge "Fixed text rendering issue with spans." into jb-dev
Jean-Michel Trivi [Mon, 11 Jun 2012 22:03:52 +0000 (15:03 -0700)]
Remote volume handling
Extend RemoteControlClient class to enable an applicaton to
specify more information about how it's playing media, now covering
usecases where media playback happens "remotely". This playback
information can be used to set the volume and maximum volume
used remotely.
Declare a new intent and associated extras in Intent,
ACTION_VOLUME_UPDATE, so an application can be notified that
the volume it handles should be updated. It can then use
the new RemoteControlClient.setPlaybackInformation() method
to notify AudioService what the volume is.
Extend AudioService to maintain playback information associated
with the RemoteControlClient information in the stack of
media button event receivers (mRCStack). The information
about the active remote is cached so the stack doesn't have
to be iterated over in order to retrieve remote playback info.
Events to "adjust" the remote volume based on hardware key
presses cause the client application to be notified of
volume updates, and the volume panel to display the volume
set by the app.
Revise which stream type is controlled when none is specified
according to latest guidelines for remote playback.
Update VolumePanel class to support a new pseudo stream type,
AudioService.STREAM_REMOTE_MUSIC, that corresponds to the
remote playback volume, and uses the new "media route" icon.
Enable it to receive asynchronously new volume values for
the remote that will be displayed if the UI is still up,
and ignored otherwise.
Now supports hiding/showing sliders dynamically so remote
volume only appears when AudioService has a remote control
client handling remote volume.
Define new java symbols for the two media route icons.
Modify lockscreen behavior: don't automatically control music
volume when music is active, consider also remote playback.
Still to do:
- playback information set by RemoteControlClient should post
a message for AudioService to update playback information
instead of updating it synchronously
Change-Id: I557aa687239f9acfe33a609f05876c67fa7eb967
Craig Mautner [Tue, 19 Jun 2012 01:01:53 +0000 (18:01 -0700)]
Merge "More paths for turning on screen immediately." into jb-dev
Nicolas Falliere [Tue, 19 Jun 2012 00:39:48 +0000 (17:39 -0700)]
Merge "Added or fixed doctrings for required permissions." into jb-dev
Nicolas Falliere [Tue, 19 Jun 2012 00:21:06 +0000 (17:21 -0700)]
Added or fixed doctrings for required permissions.
Bug:
6591338
Change-Id: Ia2092f9994854701b5fa1425c371817367ae07ec
Jim Miller [Tue, 19 Jun 2012 00:22:10 +0000 (17:22 -0700)]
Merge "Fix
6683092: tune GlowPadView wave animation" into jb-dev
Jim Miller [Tue, 19 Jun 2012 00:04:58 +0000 (17:04 -0700)]
Fix
6683092: tune GlowPadView wave animation
This adds some aesthetic changes to the wave animation for GlowPadView:
- wave shape is no longer symmetric
- disable expand in keyguard
- enable expand in SearchPanelView (when mAlwaysTrackFinger == true)
- if a current wave animation isn't finished yet, don't start a new one
- various timing changes
Change-Id: Ibce96f45eb6a94582c694108b99e243fd57b1955
Craig Mautner [Mon, 18 Jun 2012 23:53:27 +0000 (16:53 -0700)]
More paths for turning on screen immediately.
This fix forces the path through the updateLightsLocked method to turn
the screen on immediately if mWaitingForFirstLightSensor is true. Also
do not clear mWaitingForFirstLightSensor if mPreparingForScreenOn
is true. Wait until it turns false.
Fixes bug
6612418.
Change-Id: I03407e748cce4906a73de1f15df1654649b133c4
Amith Yamasani [Mon, 18 Jun 2012 23:49:28 +0000 (16:49 -0700)]
Merge "Don't backup or delete the backup file, if it's in the backup path." into jb-dev
Dianne Hackborn [Mon, 18 Jun 2012 23:19:56 +0000 (16:19 -0700)]
Merge "Implement issue #
6680894: Provide a way to configure app defaults..." into jb-dev
Dianne Hackborn [Mon, 18 Jun 2012 22:38:12 +0000 (15:38 -0700)]
Implement issue #
6680894: Provide a way to configure app defaults...
...for a smoother OOB experience
Way provided.
Put your defaults in system/etc/preferred-apps/*.xml.
Figure out what to put there with "adb shell dumpsys package preferred-xml".
Bug:
6680894
Change-Id: Ia06bb0061876274a5f80bf06d1ba5ad155edc323
Jeff Brown [Mon, 18 Jun 2012 21:14:55 +0000 (14:14 -0700)]
Merge "Fix an NPE and possible unsynchronized call of Locked method." into jb-dev
Jim Miller [Mon, 18 Jun 2012 20:29:49 +0000 (13:29 -0700)]
Merge "Fix
6665117: ACTION_ASSIST visual improvements" into jb-dev
Amith Yamasani [Mon, 18 Jun 2012 20:04:27 +0000 (13:04 -0700)]
Don't backup or delete the backup file, if it's in the backup path.
Change-Id: Ie77782722a271e09f8cbde7fb5393e8127d4334d
Jeff Brown [Mon, 18 Jun 2012 19:58:03 +0000 (12:58 -0700)]
Fix an NPE and possible unsynchronized call of Locked method.
Bug:
6680398
Change-Id: Id5ef4fa82b2a5ef5e9c3934ca95156143f91e5e2
Ying Wang [Mon, 18 Jun 2012 19:57:03 +0000 (12:57 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Ying Wang [Mon, 18 Jun 2012 19:36:51 +0000 (12:36 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0108055d8a3aa31fb8157b43e0f2224fab488642
Adam Powell [Mon, 18 Jun 2012 19:10:20 +0000 (12:10 -0700)]
Merge "Restrict MediaRouter selection" into jb-dev
Adam Powell [Mon, 18 Jun 2012 18:51:34 +0000 (11:51 -0700)]
Restrict MediaRouter selection
Actually restrict the programmatic selection of routes by
type. (Oops.)
Change-Id: I91e837f7ecbcddb626c664fb470e8296d563498d
Svetoslav Ganov [Mon, 18 Jun 2012 18:27:44 +0000 (11:27 -0700)]
Merge "API for finding accessibility focus in virtual tree not needed." into jb-dev
Daniel Sandler [Mon, 18 Jun 2012 18:20:54 +0000 (11:20 -0700)]
Merge "Turn off debug logs." into jb-dev
Svetoslav Ganov [Mon, 18 Jun 2012 17:20:42 +0000 (10:20 -0700)]
Merge "Ensure WebViewClassic calls super.onHoverEvent()" into jb-dev
Daniel Sandler [Mon, 18 Jun 2012 15:26:43 +0000 (11:26 -0400)]
Turn off debug logs.
Also switch to Slog, which is more appropriate for framework
logging.
Bug:
6684167
Change-Id: I829de86702a9952ce42ec9967c8d493529253426
Justin Ho [Mon, 18 Jun 2012 14:29:02 +0000 (07:29 -0700)]
Merge "Increasing brightness for notification icons and navigation bar icons Bug:
6612414" into jb-dev
Adam Powell [Mon, 18 Jun 2012 02:32:22 +0000 (19:32 -0700)]
Merge "Volume control in MediaRouter dialogs" into jb-dev
Adam Powell [Mon, 18 Jun 2012 02:32:07 +0000 (19:32 -0700)]
Merge "Make MediaRouter UI more robust around route count changes" into jb-dev
Jeff Brown [Sun, 17 Jun 2012 21:17:52 +0000 (14:17 -0700)]
Capture window manager's last ANR state in bug report.
Currently just grabbing the window state but we could grab
other things as part of the last ANR report.
Bug:
6680398
Change-Id: I23aa70907b1bdcb21c8acc556fde196ca790ef6a
Jeff Brown [Sun, 17 Jun 2012 19:01:06 +0000 (12:01 -0700)]
Capture input dispatcher's last ANR state in bug report.
Some ANR bugs are very difficult to localize because by the time
the bug report has been captured, the relevant information is
gone. Work around this by capturing a log of the input dispatcher's
state at the exact time of the ANR before anything has changed
and include this information in the bug report.
Also fixed a nit related to some format strings that had
improper field widths specified.
Bug:
6680398
Change-Id: I5323bf18ec5e47a767cd053209753cc46852bf4c
Svetoslav Ganov [Sun, 17 Jun 2012 22:07:29 +0000 (15:07 -0700)]
API for finding accessibility focus in virtual tree not needed.
1. The function for finding where the accessibility focus in a virtual
node tree presented by an AccessibilityNodeProvider is not needed
API since the framework already keeps track of the accessibility
focused virtual node in order to draw the focus rectangle. This API
adds unnecessary complexity to developers of AccessibilityNodeProviders.
bug:
6675330
Change-Id: I84774686b06a995073a39e45b8ef22f2cd04b773
Adam Powell [Sat, 16 Jun 2012 21:58:39 +0000 (14:58 -0700)]
Volume control in MediaRouter dialogs
MediaRouter dialogs now intercept the volume keys for altering the
current volume. The status icon indicates if the slider/buttons are
currently controlling the local device volume or a remote device's
volume.
Group volume for user routes is handled by using the
RemoteControlClient supplied by the first route in the group.
Change-Id: I40a0d054847ed5acce7a4c3b669487841b4dca15
Adam Powell [Sat, 16 Jun 2012 21:25:38 +0000 (14:25 -0700)]
Make MediaRouter UI more robust around route count changes
Improve the API around ActionProvider visibility overriding. Allow the
application to notify whatever is hosting the ActionProvider that
visibility has changed in a way that is friendly to alternate support
library-style reimplementations of MenuItem.
Allow MediaRouter.Callback implementations to add or remove themselves
or other Callbacks during dispatch of callback events.
Make MediaRouteActionProvider track the visibility of corresponding
menu items more accurately.
Change-Id: Ic7ddb6a87c3637904750d2661e4a9fa323b09ea0
Makoto Onuki [Sat, 16 Jun 2012 19:34:56 +0000 (12:34 -0700)]
Merge "Allow restricting the scope of a phone-filter search" into jb-dev
Daniel Lehmann [Sat, 16 Jun 2012 03:32:33 +0000 (20:32 -0700)]
Allow restricting the scope of a phone-filter search
This also includes a previous change to current.txt that hasn't been
copied to 16.txt yet
Bug:
6662259
Change-Id: Iaab5c38ad56882a1270b5276ba7a399bbb8a49f3
Adam Powell [Sat, 16 Jun 2012 02:21:34 +0000 (19:21 -0700)]
ActionProvider API update
* Add ActionProvider#overridesItemVisibility and isVisible.
These methods allow an ActionProvider to override the
visibility of a MenuItem that it is bound to. If a MenuItem
has been explicitly hidden by the application, it will not
be visible.
* Change MediaRouteActionProvider to not require a MediaRouter
callback, to avoid extra lifecycle management headaches.
Change-Id: I606fa98b3a6a3e60a953dd024274f9bf9c67acdd
Christian Robertson [Sat, 16 Jun 2012 02:36:30 +0000 (19:36 -0700)]
Increasing brightness for notification icons and navigation bar icons
Bug:
6612414
Change-Id: I5ab60f60f5bf502b3b15c30207047285db611ae3
alanv [Sat, 16 Jun 2012 01:59:11 +0000 (18:59 -0700)]
Ensure WebViewClassic calls super.onHoverEvent()
Bug:
6679763
Change-Id: I9b182f25fa1c4050ea3a046c896e82ffbb4651ad
Jim Miller [Sat, 16 Jun 2012 00:26:28 +0000 (17:26 -0700)]
Fix
6665117: ACTION_ASSIST visual improvements
- add generic icon for search providers that don't supply one
- change alpha weighting factor for glow
- don't show ring background
Change-Id: I86c86dc2d623c25ec7b91e206fac8ad9cd60faac
Dianne Hackborn [Sat, 16 Jun 2012 00:48:54 +0000 (17:48 -0700)]
Merge "Fix issue #
6664140: Time to lock should work even Stay awake..." into jb-dev
Dianne Hackborn [Sat, 16 Jun 2012 00:05:25 +0000 (17:05 -0700)]
Fix issue #
6664140: Time to lock should work even Stay awake...
...in Developer options is on
Don't respect stay awake while on as long as a time to lock limit
is being enforced. When we start enforcing one, make sure the
setting is off (since we won't be respecting it anyway).
Bug:
6664140
Change-Id: Id07cb528afa0c64c7766341841c51771f507121d
Adam Powell [Fri, 15 Jun 2012 22:32:14 +0000 (15:32 -0700)]
Merge "Remove workaround for bug that was fixed a while ago." into jb-dev
Jeff Brown [Fri, 15 Jun 2012 22:30:40 +0000 (15:30 -0700)]
Merge "Revert "Synthesize fake vsyncs when the screen is off."" into jb-dev
Gilles Debunne [Fri, 8 Jun 2012 00:54:47 +0000 (17:54 -0700)]
Fixed text rendering issue with spans.
Bug
6598784
The algorithm uses three imbricated loops:
- paragraphs
- span regions (called "blocks" in that description) in these
- characters in these
We can ignore the paragraphs and assume paraStart==0.
The span region loop cuts the text into blocks of text which share
the same set of MetricAffectingSpan spans applied to them. Note that
spanStart and spanEnd represent such a range, and not necessarily an
actual span range.
The third loop then iterates over the characters of these blocks, and creates
a new line (calling out() as soon as the width has been reached.
The core of the problem comes from the 'nextSpanStart' variable.
It is used to restart the block loop from a previous position in case
a line has been created that does not intersect with the current block.
However, in case the current block is larger than the width of the text,
the character loop is going to create other lines of text before we exit the
j-loop. Going back to the block loop, we reset spanStart to the nextSpanStart,
which may be too far back in the text. As a result, the same range of characters
is measured again.
The (spanStart == spanEnd) test was used to handle the case where
nextSpanStart was indeed assigned to a value different than spanEnd.
This fix simplifies this logic and removes the nextSpanStart variable:
When the created line ends before the current block (here < spanStart), we
immediately exit the character loop, re-starting the block loop from the
current position.
Patch 4: added a fix in measured to handle overlapping character ranges.
Change-Id: Ie71b3cf4018b332e335ea916fef08acb43a6679e
Jim Miller [Fri, 15 Jun 2012 22:19:16 +0000 (15:19 -0700)]
Merge "Fix
6507787: fix MMI PUK unlock procedure" into jb-dev
Adam Powell [Fri, 15 Jun 2012 22:10:58 +0000 (15:10 -0700)]
Remove workaround for bug that was fixed a while ago.
Change-Id: I368dd8fea6b33af6908b6fe3b7691104166a707a
Svetoslav Ganov [Fri, 15 Jun 2012 22:00:43 +0000 (15:00 -0700)]
Merge "Accessibility focus search and setting it from hover are performed by the client." into jb-dev
Ying Wang [Fri, 15 Jun 2012 21:19:08 +0000 (14:19 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Ying Wang [Fri, 15 Jun 2012 21:18:13 +0000 (14:18 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev
Dianne Hackborn [Fri, 15 Jun 2012 21:10:42 +0000 (14:10 -0700)]
Merge "Add new callback for MediaRouter to found out about device changes." into jb-dev
Eric Laurent [Fri, 15 Jun 2012 21:01:49 +0000 (14:01 -0700)]
Merge "AudioManager: back to old setBluetoothA2dpOn()" into jb-dev
Teng-Hui Zhu [Fri, 15 Jun 2012 20:57:28 +0000 (13:57 -0700)]
Merge "Notify Java side to start when transition into full screen mode without a reload." into jb-dev
Dianne Hackborn [Fri, 15 Jun 2012 02:34:10 +0000 (19:34 -0700)]
Add new callback for MediaRouter to found out about device changes.
The AudioService now has an API to call to get the currently
connected devices, and later reports of changes in connection
state. The information includes the name of the bluetooth
device if one is connected for display to the user, and states
for all of the pluggable devices. No longer requires a Bluetooth
permission to keep the routes updated.
Change-Id: I81ca421c60592fbc1592477d59bf1c9d1b64954a
Ying Wang [Fri, 15 Jun 2012 20:06:55 +0000 (13:06 -0700)]
Import translations. DO NOT MERGE
Change-Id: I3634d090275ecbd789e89266910ede4e4e1d8566
Dianne Hackborn [Fri, 15 Jun 2012 20:05:26 +0000 (13:05 -0700)]
Merge "Fix issue #
6636731: Mariner animation ring gets stuck" into jb-dev
Ying Wang [Fri, 15 Jun 2012 19:44:39 +0000 (12:44 -0700)]
Import translations. DO NOT MERGE
Change-Id: I6ab3489fe984c442dceaef41e76ee5e6783e65ef
Kenny Root [Fri, 15 Jun 2012 19:37:39 +0000 (12:37 -0700)]
Merge "Make lib dir before changing ownership of app dir" into jb-dev
Dianne Hackborn [Fri, 15 Jun 2012 19:05:27 +0000 (12:05 -0700)]
Fix issue #
6636731: Mariner animation ring gets stuck
Weren't cleaning out any ActivityOptions that are still attached
to a finishing activity.
Bug:
6636731
Change-Id: If0520bbcbf1d4ce19d46ff769918893cefda9c87