OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Added or fixed doctrings for required permissions." 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

12 years agoAdded or fixed doctrings for required permissions.
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

12 years agoMerge "Fix 6683092: tune GlowPadView wave animation" into jb-dev
Jim Miller [Tue, 19 Jun 2012 00:22:10 +0000 (17:22 -0700)]
Merge "Fix 6683092: tune GlowPadView wave animation" into jb-dev

12 years agoFix 6683092: tune GlowPadView wave animation
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

12 years agoMerge "Don't backup or delete the backup file, if it's in the backup path." into...
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

12 years agoMerge "Implement issue #6680894: Provide a way to configure app defaults..." into...
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

12 years agoImplement issue #6680894: Provide a way to configure app defaults...
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

12 years agoMerge "Fix an NPE and possible unsynchronized call of Locked method." into jb-dev
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

12 years agoMerge "Fix 6665117: ACTION_ASSIST visual improvements" 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

12 years agoDon't backup or delete the backup file, if it's in the backup path.
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

12 years agoFix an NPE and possible unsynchronized call of Locked method.
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

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Ying Wang [Mon, 18 Jun 2012 19:57:03 +0000 (12:57 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Ying Wang [Mon, 18 Jun 2012 19:36:51 +0000 (12:36 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0108055d8a3aa31fb8157b43e0f2224fab488642

12 years agoMerge "Restrict MediaRouter selection" into jb-dev
Adam Powell [Mon, 18 Jun 2012 19:10:20 +0000 (12:10 -0700)]
Merge "Restrict MediaRouter selection" into jb-dev

12 years agoRestrict MediaRouter selection
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

12 years agoMerge "API for finding accessibility focus in virtual tree not needed." into jb-dev
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

12 years agoMerge "Turn off debug logs." into jb-dev
Daniel Sandler [Mon, 18 Jun 2012 18:20:54 +0000 (11:20 -0700)]
Merge "Turn off debug logs." into jb-dev

12 years agoMerge "Ensure WebViewClassic calls super.onHoverEvent()" 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

12 years agoTurn off debug logs.
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

12 years agoMerge "Increasing brightness for notification icons and navigation bar icons Bug...
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

12 years agoMerge "Volume control in MediaRouter dialogs" 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

12 years agoMerge "Make MediaRouter UI more robust around route count changes" 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

12 years agoCapture window manager's last ANR state in bug report.
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

12 years agoCapture input dispatcher's last ANR state in bug report.
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

12 years agoAPI for finding accessibility focus in virtual tree not needed.
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

12 years agoVolume control in MediaRouter dialogs
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

12 years agoMake MediaRouter UI more robust around route count changes
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

12 years agoMerge "Allow restricting the scope of a phone-filter search" into jb-dev
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

12 years agoAllow restricting the scope of a phone-filter search
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

12 years agoActionProvider API update
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

12 years agoIncreasing brightness for notification icons and navigation bar icons
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

12 years agoEnsure WebViewClassic calls super.onHoverEvent()
alanv [Sat, 16 Jun 2012 01:59:11 +0000 (18:59 -0700)]
Ensure WebViewClassic calls super.onHoverEvent()

Bug: 6679763
Change-Id: I9b182f25fa1c4050ea3a046c896e82ffbb4651ad

12 years agoFix 6665117: ACTION_ASSIST visual improvements
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

12 years agoMerge "Fix issue #6664140: Time to lock should work even Stay awake..." into jb-dev
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

12 years agoFix issue #6664140: Time to lock should work even Stay awake...
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

12 years agoMerge "Remove workaround for bug that was fixed a while ago." into jb-dev
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

12 years agoMerge "Revert "Synthesize fake vsyncs when the screen is off."" 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

12 years agoMerge "Fix 6507787: fix MMI PUK unlock procedure" into jb-dev
Jim Miller [Fri, 15 Jun 2012 22:19:16 +0000 (15:19 -0700)]
Merge "Fix 6507787: fix MMI PUK unlock procedure" into jb-dev

12 years agoRemove workaround for bug that was fixed a while ago.
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

12 years agoMerge "Accessibility focus search and setting it from hover are performed by the...
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

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

12 years agoMerge "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

12 years agoMerge "Add new callback for MediaRouter to found out about device changes." into...
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

12 years agoMerge "AudioManager: back to old setBluetoothA2dpOn()" 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

12 years agoMerge "Notify Java side to start when transition into full screen mode without a...
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

12 years agoAdd new callback for MediaRouter to found out about device changes.
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

12 years agoImport translations. DO NOT MERGE
Ying Wang [Fri, 15 Jun 2012 20:06:55 +0000 (13:06 -0700)]
Import translations. DO NOT MERGE

Change-Id: I3634d090275ecbd789e89266910ede4e4e1d8566

12 years agoMerge "Fix issue #6636731: Mariner animation ring gets stuck" into jb-dev
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

12 years agoImport translations. DO NOT MERGE
Ying Wang [Fri, 15 Jun 2012 19:44:39 +0000 (12:44 -0700)]
Import translations. DO NOT MERGE

Change-Id: I6ab3489fe984c442dceaef41e76ee5e6783e65ef

12 years agoMerge "Make lib dir before changing ownership of app dir" into jb-dev
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

12 years agoFix issue #6636731: Mariner animation ring gets stuck
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

12 years agoMerge "Update MediaRouteChooserDialog grouping UI" into jb-dev
Adam Powell [Fri, 15 Jun 2012 18:52:10 +0000 (11:52 -0700)]
Merge "Update MediaRouteChooserDialog grouping UI" into jb-dev

12 years agoAudioManager: back to old setBluetoothA2dpOn()
Eric Laurent [Fri, 15 Jun 2012 18:48:50 +0000 (11:48 -0700)]
AudioManager: back to old setBluetoothA2dpOn()

Come back to old versions of setBluetoothA2dpOn() and isBluetoothA2dpOn().

MediaRouter will call methods on IAudioService directly.

Change-Id: I18f0a3106bad78715ed11a6b7b4ec1d656cdae41

12 years agoMerge "Hide "no internet connection" when connected some other way." into jb-dev
Daniel Sandler [Fri, 15 Jun 2012 18:46:35 +0000 (11:46 -0700)]
Merge "Hide "no internet connection" when connected some other way." into jb-dev

12 years agoNotify Java side to start when transition into full screen mode without a reload.
Teng-Hui Zhu [Fri, 15 Jun 2012 18:22:23 +0000 (11:22 -0700)]
Notify Java side to start when transition into full screen mode without a reload.

When video start in inline mode, and then transition into full screen mode, the
video is still playing, so we need to notify the player, such that the controller
can get the state correctly.

bug:6675847

Change-Id: Ib5f712ca91fe1c374dcc20de996dac6ff7b9e983

12 years agoAccessibility focus search and setting it from hover are performed by the client.
Svetoslav Ganov [Fri, 15 Jun 2012 17:31:31 +0000 (10:31 -0700)]
Accessibility focus search and setting it from hover are performed by the client.

1. Currently we are providing accessibility focus search algorithm in the
   framework and we are also setting accessibility focus from hover. It
   appears that implementing a focus search strategy that works for all
   accessibility services is non trivial task if feasible. Based on
   feedback from the developers of two such services at Google - TalkBack
   and BarilleBack - the built in focus search does not quite match what
   they need and they would like to implement a custom strategy.

   Hence, having APIs for accessibility focus search in the framework does
   not make. Therefore, we are hiding this APIs and later will take out the focus
   search logic and allow the accessibility service to implement search.

   Also putting accessibility focus from hover is tightly integrated with
   the focus search since the set of views that get accessibility focus
   from hover should be the same as the set of views returned by the
   focus search routine. Therefore, we are letting the accessibility service
   decide where to put accessibility focus when it gets an accessibility
   hover event.

bug:6675330

Change-Id: Ie152230990a6602f3fd1d82de2177d0b1444d654

12 years agoHide "no internet connection" when connected some other way.
Daniel Sandler [Fri, 15 Jun 2012 17:17:39 +0000 (13:17 -0400)]
Hide "no internet connection" when connected some other way.

We now track whether the device is connected at all, and use
this to suppress the disconnected message in the mobile
status string (we previously just looked at wifi
connectivity).

So, if a device is attached via ethernet:

- On wifi-only devices, the combined label is shown in the
  notification panel, so you'll see "ETHERNET" (this comes
  straight from EthernetDataTracker; at some point we need
  localized strings and icons).

- On mobile-data devices (phones), the notification panel
  only shows the mobile data label, which will be
  suppressed, so you'll see nothing at all.

Bug: 6648292
Change-Id: I9841eaeffe50a4f046afbdc09d80c5bd4d78a839

12 years agoMerge "Jelly Bean ringtone Bug: 6619980" into jb-dev
Justin Ho [Fri, 15 Jun 2012 16:23:25 +0000 (09:23 -0700)]
Merge "Jelly Bean ringtone Bug: 6619980" into jb-dev

12 years agoMerge "Concatenate SPN and PLMN with a pipe." into jb-dev
Daniel Sandler [Fri, 15 Jun 2012 16:17:03 +0000 (09:17 -0700)]
Merge "Concatenate SPN and PLMN with a pipe." into jb-dev

12 years agoJelly Bean ringtone
Justin Ho [Fri, 15 Jun 2012 15:48:49 +0000 (08:48 -0700)]
Jelly Bean ringtone
Bug: 6619980

Change-Id: I717c66274d3efaafb0caa60204d311732c182268

12 years agoUpdate MediaRouteChooserDialog grouping UI
Adam Powell [Fri, 15 Jun 2012 06:06:24 +0000 (23:06 -0700)]
Update MediaRouteChooserDialog grouping UI

Move UserRouteInfo tag support to RouteInfo

Change-Id: Ia753924f8613462d5f74736be93a8d748689eef1

12 years agoRevert "Synthesize fake vsyncs when the screen is off."
Jeff Brown [Fri, 15 Jun 2012 06:48:40 +0000 (23:48 -0700)]
Revert "Synthesize fake vsyncs when the screen is off."

This reverts commit 858491ba13ab5d45a5ec462d002b5856703b1b2b

It turns out that Surface Flinger is supposed to generate fake vsyncs while the screen is off, but sometimes it wasn't working due to a bug.  That bug has now been fixed by the following change: I7c6abc23bb021d1dfc94f101bd3ce18e3a81a73e

12 years agoFix 6507787: fix MMI PUK unlock procedure
Jim Miller [Fri, 15 Jun 2012 05:22:50 +0000 (22:22 -0700)]
Fix 6507787: fix MMI PUK unlock procedure

This fixes a bug where the user uses the MMI sequence (**05*PUK*PIN1*PIN1#)
from the EmergencyDialer to unlock their phone instead of the provided interface.

The code now recognizes when UnlockMode becomes invalid because it was previously
locked because of SIM state. It then dismisses the PUK unlock screen and advances
to the home screen.

Change-Id: I8902350e6f640cd2fa0af3460c3ea1a39d926c8a

12 years agoMerge "Help out issue #6654729: CAB + screen off during playback" into jb-dev
Dianne Hackborn [Fri, 15 Jun 2012 04:33:48 +0000 (21:33 -0700)]
Merge "Help out issue #6654729: CAB + screen off during playback" into jb-dev

12 years agoMerge "Synthesize fake vsyncs when the screen is off." into jb-dev
Jeff Brown [Fri, 15 Jun 2012 04:30:49 +0000 (21:30 -0700)]
Merge "Synthesize fake vsyncs when the screen is off." into jb-dev

12 years agoConcatenate SPN and PLMN with a pipe.
Daniel Sandler [Fri, 15 Jun 2012 03:54:55 +0000 (23:54 -0400)]
Concatenate SPN and PLMN with a pipe.

Prior change 199020 fixes it for instances of CarrierLabel;
this fixes it for customers of NetworkController.

Bug: 6639047
Change-Id: I69dada2298f4a3caf453f43d847cdb32fe7eaa9f

12 years agoSynthesize fake vsyncs when the screen is off.
Jeff Brown [Fri, 15 Jun 2012 02:03:44 +0000 (19:03 -0700)]
Synthesize fake vsyncs when the screen is off.

When the screen is off, we might not receive real vsync pulses from
the hardware which would cause posted Choreographer callbacks to not run.
This is bad because messages in the Looper might be blocked behind a barrier
that is scheduled to be removed by one of those Choreographer callback
(see ViewRootImpl.doTraversals).  Until the barrier is removed, those messages
will not run.  To prevent starvation of the Looper, we synthesize fake vsync
pulses at a reduced rate whenever the display hardware stops generating them.

This change should fix a variety of rare non-deterministic bugs where
the system might appear to be unresponsive while the screen is off,
and spurious ANRs reported shortly after the screen is turned back on.

Bug: 6574842
Bug: 6636995
Bug: 6643559
Change-Id: I263f2fdf979afd79e5ac47a0cc5d34a93b860c21

12 years agoMerge "Handle ENITR failure for Headset control channel." into jb-dev
Matthew Xie [Fri, 15 Jun 2012 03:28:46 +0000 (20:28 -0700)]
Merge "Handle ENITR failure for Headset control channel." into jb-dev

12 years agoHandle ENITR failure for Headset control channel.
Matthew Xie [Fri, 15 Jun 2012 03:08:40 +0000 (20:08 -0700)]
Handle ENITR failure for Headset control channel.

Wrap poll and read with TEMP_FAILURE_RETRY
bug 65030006623444

Change-Id: I2e302dc04df6b5bd5982c3d189881a687a95fb2d

12 years agoHelp out issue #6654729: CAB + screen off during playback
Dianne Hackborn [Fri, 15 Jun 2012 02:38:20 +0000 (19:38 -0700)]
Help out issue #6654729: CAB + screen off during playback

People generally expect, if they are using FLAG_KEEP_SCREEN_ON,
that the screen won't immediately dim after it is cleared, even
if it has been passed the user activity timeout since the last
user interaction.  So include the flag to reset the user activity
timeout when releasing its wake lock.

Change-Id: If7a8fea8faef3edbf13dff10a2f248adc9e3ff0b

12 years agoMerge "Don't finish noHistory="true" activities behind the lock screen" into jb-dev
Christopher Tate [Fri, 15 Jun 2012 02:35:58 +0000 (19:35 -0700)]
Merge "Don't finish noHistory="true" activities behind the lock screen" into jb-dev

12 years agoMerge "API updates for MediaRouter" into jb-dev
Adam Powell [Fri, 15 Jun 2012 00:51:25 +0000 (17:51 -0700)]
Merge "API updates for MediaRouter" into jb-dev

12 years agoMerge "Run the screen on/off broadcasts at foreground priority" into jb-dev
Christopher Tate [Fri, 15 Jun 2012 00:34:28 +0000 (17:34 -0700)]
Merge "Run the screen on/off broadcasts at foreground priority" into jb-dev

12 years agoMerge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev
Svetoslav Ganov [Fri, 15 Jun 2012 00:19:54 +0000 (17:19 -0700)]
Merge "Add support for NEXT_HTML_ELEMENT to WebViewClassic." into jb-dev

12 years agoRun the screen on/off broadcasts at foreground priority
Christopher Tate [Fri, 15 Jun 2012 00:00:48 +0000 (17:00 -0700)]
Run the screen on/off broadcasts at foreground priority

Bug 6643559

Change-Id: I392f11dabea518238d0f4336c3663bf5c7d46146

12 years agoDon't finish noHistory="true" activities behind the lock screen
Christopher Tate [Thu, 14 Jun 2012 21:16:54 +0000 (14:16 -0700)]
Don't finish noHistory="true" activities behind the lock screen

The foreground activity is stopped when the device goes to sleep,
and started again when the device is unlocked.  We now distinguish
this case from a "normal" stop, and do not finish() a foreground
noHistory="true" activity inappropriately when the device sleeps.
We also detect the case where an activity is started while the
device is still asleep, in which case the foreground noHistory
activity is cleaned up as part of bringing the new activity to
the foreground.

Bug 6657549

Change-Id: I9c6a0830aed0e47e4207b62803b90067c8486112

12 years agoAPI updates for MediaRouter
Adam Powell [Thu, 14 Jun 2012 23:04:12 +0000 (16:04 -0700)]
API updates for MediaRouter

* Accept a Context when fetching the names of routes and
  categories. This lets string resources resolve at time of access
  with the correct configuration. The older versions remain available
  that will use the static resources from the application. (There are
  enough cases where applications will populate this from external
  data that requiring it each time even when it was not initialized
  from a resource doesn't seem reasonable.)

* Remove the ability for apps to programmatically select non-user
  routes.

* Make MediaRouter.Callback an abstract class instead of an interface.
  This will make further extensions easier to keep compatible in the
  future.

Change-Id: If981c511dfbdfaf41ef0d1cfe4a377fc14bb5600

12 years agoMerge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev
George Mount [Thu, 14 Jun 2012 23:14:16 +0000 (16:14 -0700)]
Merge "DO NOT MERGE Respect the "Make password visible" setting." into jb-dev

12 years agoMerge "Show even fewer notifications in Setup." into jb-dev
Daniel Sandler [Thu, 14 Jun 2012 23:07:45 +0000 (16:07 -0700)]
Merge "Show even fewer notifications in Setup." into jb-dev

12 years agoMake lib dir before changing ownership of app dir
Kenny Root [Thu, 14 Jun 2012 20:05:18 +0000 (13:05 -0700)]
Make lib dir before changing ownership of app dir

Bug: 6668897
Change-Id: I8998a50359892277b15e80b5b5590ff94b125467

12 years agoAdd support for NEXT_HTML_ELEMENT to WebViewClassic.
alanv [Thu, 14 Jun 2012 22:24:19 +0000 (15:24 -0700)]
Add support for NEXT_HTML_ELEMENT to WebViewClassic.

Bug: 6663344
Change-Id: Ieb48998e3af12916fe499a12d5bf7a767df8d05b

12 years agoMerge "AccessibilityInjector should return false on a failed action." into jb-dev
Svetoslav Ganov [Thu, 14 Jun 2012 22:14:14 +0000 (15:14 -0700)]
Merge "AccessibilityInjector should return false on a failed action." into jb-dev

12 years agoDO NOT MERGE Respect the "Make password visible" setting.
George Mount [Thu, 14 Jun 2012 21:08:56 +0000 (14:08 -0700)]
DO NOT MERGE Respect the "Make password visible" setting.

 Bug 6667146

 Webkit Change: I95ffcfa6fa47baad60b1af55f84bee35dfcc7972

Change-Id: I7fc107b02f73f4c54e8fe66484038ea9d7b69d61

12 years agoMerge "Expose apps when keyguard animating." into jb-dev
Craig Mautner [Thu, 14 Jun 2012 21:55:19 +0000 (14:55 -0700)]
Merge "Expose apps when keyguard animating." into jb-dev

12 years agoMerge "Tweak recents launch app animation" into jb-dev
Michael Jurka [Thu, 14 Jun 2012 21:33:55 +0000 (14:33 -0700)]
Merge "Tweak recents launch app animation" into jb-dev

12 years agoMerge "Don't create a giant layer for all notifications Bug #6642475" into jb-dev
Romain Guy [Thu, 14 Jun 2012 21:32:07 +0000 (14:32 -0700)]
Merge "Don't create a giant layer for all notifications Bug #6642475" into jb-dev

12 years agoDon't create a giant layer for all notifications
Romain Guy [Thu, 14 Jun 2012 19:52:53 +0000 (12:52 -0700)]
Don't create a giant layer for all notifications
Bug #6642475

When expanding the status bar, create one layer per notification instead of
a single giant layer for the pile of notifications. This prevents layer
creation failure when the total height of the notifications is larger
than the maximum allowed texture size in OpenGL ES 2.0.

This change only enables layers on notifications that will be visible
once the notification area is fully expanded.

Change-Id: I3c791a66cf5ac0973f3a65cfcd84b95209d580f3

12 years agoExpose apps when keyguard animating.
Craig Mautner [Thu, 14 Jun 2012 21:11:27 +0000 (14:11 -0700)]
Expose apps when keyguard animating.

Continuing in the trend of not hiding apps while the keyguard is
animating.

Fixes bug 6653600.

Change-Id: I151315084a13dcec061d2d6edccd31e1133610f4

12 years agoMerge "Remove Disco video from builds." into jb-dev
Eino-Ville Talvala [Thu, 14 Jun 2012 21:02:46 +0000 (14:02 -0700)]
Merge "Remove Disco video from builds." into jb-dev

12 years agoShow even fewer notifications in Setup.
Daniel Sandler [Thu, 14 Jun 2012 20:10:13 +0000 (16:10 -0400)]
Show even fewer notifications in Setup.

Restricting to pkg="android" didn't filter out things like
open wifi networks, etc. So now we have a whitelist:
notifications must be sent the "android" pseudo-package,
*and* they must have one of these "kind" tags:

  - android.system.imeswitcher (IME switcher, needed by SUW)
  - android.system.update (OTAs)

Note that OTAs currently use a fullScreenIntent, so they
bypass this logic anyway, but for consistency's sake we now
allow OTA icons in the status bar explicitly.

Bug: 6645469
Change-Id: Ib2e2f22d7a0817a1acaf8137ed4f3c7d3ddf8af5

12 years agoMerge "Import translations. DO NOT MERGE" into jb-dev
Eric Fischer [Thu, 14 Jun 2012 19:20:40 +0000 (12:20 -0700)]
Merge "Import translations. DO NOT MERGE" into jb-dev

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Thu, 14 Jun 2012 19:10:43 +0000 (12:10 -0700)]
Import translations. DO NOT MERGE

Change-Id: I561c60ea1ff93ae79414331242232bccfc820679

12 years agoTweak recents launch app animation
Michael Jurka [Thu, 14 Jun 2012 18:57:50 +0000 (11:57 -0700)]
Tweak recents launch app animation

- Sometimes the black background would flash; changing
animation durations to make this much less likely
- Fixing issue in Recents where we sometimes forgot
to disable drawing caches on views after enabling them

12 years agoMerge "Change snap behavior for lock screen" into jb-dev
Michael Jurka [Thu, 14 Jun 2012 18:39:21 +0000 (11:39 -0700)]
Merge "Change snap behavior for lock screen" into jb-dev

12 years agoMerge "Add new ASSIST key and map it to the global assist intent." into jb-dev
Jeff Brown [Thu, 14 Jun 2012 18:28:52 +0000 (11:28 -0700)]
Merge "Add new ASSIST key and map it to the global assist intent." into jb-dev

12 years agoMerge "Support route grouping in the MediaRouter dialog UI." into jb-dev
Adam Powell [Thu, 14 Jun 2012 18:25:20 +0000 (11:25 -0700)]
Merge "Support route grouping in the MediaRouter dialog UI." into jb-dev

12 years agoChange snap behavior for lock screen
Michael Jurka [Thu, 14 Jun 2012 00:38:14 +0000 (17:38 -0700)]
Change snap behavior for lock screen

Use angle and distance from center, rather than
distance from target.

Change-Id: Ic970bc4b05d341dbb6aab334e3f630794f2a211c

12 years agoMerge "Fix bug #6661824 Hebrew Text can be clipped" into jb-dev
Fabrice Di Meglio [Thu, 14 Jun 2012 17:50:36 +0000 (10:50 -0700)]
Merge "Fix bug #6661824 Hebrew Text can be clipped" into jb-dev

12 years agoMerge "Active window not updated window not updated properly." into jb-dev
Svetoslav Ganov [Thu, 14 Jun 2012 17:48:09 +0000 (10:48 -0700)]
Merge "Active window not updated window not updated properly." into jb-dev

12 years agoActive window not updated window not updated properly.
Svetoslav Ganov [Thu, 14 Jun 2012 17:30:00 +0000 (10:30 -0700)]
Active window not updated window not updated properly.

1. Accessibility allows querying only of the active window.
   The active window is the one that has input focus or the
   one the user is touching. Hence, if the user is touching
   a window that does not have input focus this window is
   the active one and as soon as the user stops touching
   it the active window becomes the one that has input
   focus. Currently the active window is not updated properly
   when the user lifts his finger. This leads to a scenario
   of traversal actions sent to the wrong window and the user
   being stuck.

   The reason is that the last touch explored event that is
   used to determine where to click is cleared when accessibility
   focus moves but this event is also used to determine when to
   send the hover exit and touch exploration gesture end events.
   The problem is that the last hover event is cleared before
   it is used for sending the right exit events, thus the event
   stream is inconsistent and the accessibility manager service
   relies on this stream to update the active window. Now we
   are keeping separate copies of the last touch event - one
   for clicking and one for determining the which events to
   inject to ensure consistent stream.

bug:6666041

Change-Id: Ie9961e562a42ef8a9463afacfff2246adcb66303