OSDN Git Service

android-x86/frameworks-base.git
11 years agoMerge "Implement event logging for intent firewall" into jb-mr2-dev
Ben Gruver [Mon, 8 Apr 2013 21:40:26 +0000 (21:40 +0000)]
Merge "Implement event logging for intent firewall" into jb-mr2-dev

11 years agoMerge "Remove the sender package filter from the intent firewall" into jb-mr2-dev
Ben Gruver [Mon, 8 Apr 2013 21:36:37 +0000 (21:36 +0000)]
Merge "Remove the sender package filter from the intent firewall" into jb-mr2-dev

11 years agoMerge "Update DataUsageStatColumns" into jb-mr2-dev
Yorke Lee [Mon, 8 Apr 2013 21:22:06 +0000 (21:22 +0000)]
Merge "Update DataUsageStatColumns" into jb-mr2-dev

11 years agoMerge "Fix SignalStrength response." into jb-mr2-dev
Wink Saville [Mon, 8 Apr 2013 20:26:02 +0000 (20:26 +0000)]
Merge "Fix SignalStrength response." into jb-mr2-dev

11 years agoMerge "Have audio service clean up new receivers in crashing processes." into jb...
Dianne Hackborn [Mon, 8 Apr 2013 20:09:18 +0000 (20:09 +0000)]
Merge "Have audio service clean up new receivers in crashing processes." into jb-mr2-dev

11 years agoMerge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev
Nick Kralevich [Mon, 8 Apr 2013 20:08:59 +0000 (20:08 +0000)]
Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev

11 years agoHave audio service clean up new receivers in crashing processes.
Dianne Hackborn [Fri, 5 Apr 2013 01:50:23 +0000 (18:50 -0700)]
Have audio service clean up new receivers in crashing processes.

The new media button receiver with only a pending intent (no
component name) could be left hanging if the process that
registered it went away.  These semantically need to be tied
to the calling process's lifetime; we now clean them up when
the calling process goes away.

Also added some additional cleanup of media button receivers
when packages change (updated, cleared).

And on top of that, a new "media" command for doing media
things.  Currently lets you send media keys and monitor
remote display data.

Oh and finally added a new BaseCommand base class for
implementing these command line utilities.

Change-Id: Iba1d56f10bab1eec4a94a7bb1d1c2ae614c8bcf5

11 years agoMerge "Awaken dreams on home + recents." into jb-mr2-dev
John Spurlock [Mon, 8 Apr 2013 20:05:50 +0000 (20:05 +0000)]
Merge "Awaken dreams on home + recents." into jb-mr2-dev

11 years agoMerge "HTML5Audio should handle content URI" into jb-mr2-dev
ztenghui [Mon, 8 Apr 2013 19:58:22 +0000 (19:58 +0000)]
Merge "HTML5Audio should handle content URI" into jb-mr2-dev

11 years agoMerge "Always take padding and margins into account Bug #8565842" into jb-mr2-dev
Romain Guy [Mon, 8 Apr 2013 19:57:03 +0000 (19:57 +0000)]
Merge "Always take padding and margins into account Bug #8565842" into jb-mr2-dev

11 years agoAlways take padding and margins into account
Romain Guy [Mon, 8 Apr 2013 17:51:35 +0000 (10:51 -0700)]
Always take padding and margins into account
Bug #8565842

Change-Id: I8ee398b5c36b3011950265eb7e22cc8338f1aeee

11 years agoMerge "Clean up language in forced foreground service notifications." into jb-mr2-dev
Daniel Sandler [Mon, 8 Apr 2013 19:46:01 +0000 (19:46 +0000)]
Merge "Clean up language in forced foreground service notifications." into jb-mr2-dev

11 years agoAwaken dreams on home + recents.
John Spurlock [Mon, 8 Apr 2013 16:59:26 +0000 (12:59 -0400)]
Awaken dreams on home + recents.

Fixes the KEYCODE_HOME case, awakes when home is
started for any reason.

Also awaken when toggling recents (and not locked).

Bug:8557212
Change-Id: I6578ae3971740a03c27596b838d27a5ab9b03752

11 years agoHTML5Audio should handle content URI
ztenghui [Mon, 8 Apr 2013 18:42:53 +0000 (11:42 -0700)]
HTML5Audio should handle content URI

Change-Id: Ib7ef4ad5fdd5b6b051ae32b0968a9bddef5c65ba

11 years agoFix SignalStrength response.
Wink Saville [Mon, 8 Apr 2013 18:35:47 +0000 (11:35 -0700)]
Fix SignalStrength response.

Add makeSignalStrengthFromRilParcel for use by
RIL responseRilSignalStrength.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e

11 years agoMerge "Update the documentiation for MediaMuxer::writeSampleData()" into jb-mr2-dev
ztenghui [Mon, 8 Apr 2013 17:22:28 +0000 (17:22 +0000)]
Merge "Update the documentiation for MediaMuxer::writeSampleData()" into jb-mr2-dev

11 years agoAppSecurityPermissions: minor UI changes
Nick Kralevich [Mon, 8 Apr 2013 17:02:08 +0000 (10:02 -0700)]
AppSecurityPermissions: minor UI changes

1) Make the box with the permission really go away when a
permission is revoked, not just invisible.
2) Change the order of the buttons, making the negative
button the "revoke" button, and the positive button "ok".

Change-Id: I73694583cbd014d3820f8df6c6b770caae299499

11 years agoClean up language in forced foreground service notifications.
Daniel Sandler [Mon, 8 Apr 2013 16:23:27 +0000 (12:23 -0400)]
Clean up language in forced foreground service notifications.

Old:  [ IC ] %s running
      [ ON ] %s is running

New:  [ IC ] %s is running
      [ ON ] Touch for more information or to stop the app.

Additionally, disallow these misbehaving services from
supplying their own content views; if you attempt to run a
foreground service with icon == 0, this is the notification
you will get, period.

Bug: 8525548
Change-Id: I2bfd7340396ef925885e8c2160a720f9eff07a35

11 years agoSet FLAG_SHOW_LIGHTS if *either* on or off is nonzero.
Daniel Sandler [Thu, 4 Apr 2013 15:01:04 +0000 (11:01 -0400)]
Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.

Previously they each had to be nonzero, which prevented
using the builder methods to create solid-on LED
notifications.

Change-Id: I30314ec33daa28ee2e1f0b87a184c3540254471c

11 years agoAdd tag "foo" to builder test's notifications.
Daniel Sandler [Thu, 4 Apr 2013 14:58:02 +0000 (10:58 -0400)]
Add tag "foo" to builder test's notifications.

This allows them to be conveniently cleared via adb:

  $ adb shell service call notification 5 \
    s16 com.android.statusbartest \
s16 foo \
i32 <NOTIFICATIONID> \
i32 <USERID>

Bug: 8564511
Change-Id: I9fae5a4a0be64d6707cc06ca938adeb8b3c0b735

11 years agoMake adding views specific to a ViewGroup's overlay
Chet Haase [Tue, 26 Mar 2013 14:55:30 +0000 (07:55 -0700)]
Make adding views specific to a ViewGroup's overlay

Adding views to views (possible with the new Overlay API) is weird.
This change moves the view-management facilities of Overlay to a subclass
that is specific to the overlay returned from ViewGroup.getOverlay().
So now you can add drawables to all view overlays, but only add/remove
views to/from the overlay returned from ViewGroup.getOverlay().

Also, the previous approach of using an interface for Overlay was
changed to classes for both ViewOverlay and ViewGroupOverlay.

Finally, this change makes not handling touch correctly the proper,
and documented, behavior of overlay views. There are various tricky issues
to sort out with input in overlays (including click handling as well as focus)
and we don't want developers starting to use overlays as some kind of general
container hierarchy, so we're purposely constraining overlays to have visual-only
behavior.

Issue #8459085 Overlay needs to handle touch correctly

Change-Id: I207b8dbf528f87c92369d270d8b0a6556826d207

11 years agoImplement event logging for intent firewall
Ben Gruver [Sat, 6 Apr 2013 02:21:19 +0000 (19:21 -0700)]
Implement event logging for intent firewall

Change-Id: If79052d07f3e5c02cfdbd0dd00026b01110045c2

11 years agofix build
Nick Kralevich [Sun, 7 Apr 2013 18:13:16 +0000 (11:13 -0700)]
fix build

Change-Id: I7f3b8a4df84630f40f5a3f19434df86b6287fb75

11 years agoMerge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev
Nick Kralevich [Sun, 7 Apr 2013 17:53:27 +0000 (17:53 +0000)]
Merge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev

11 years agoRevert "Remove AndroidKeyStore from API"
Kenny Root [Mon, 4 Feb 2013 17:35:16 +0000 (09:35 -0800)]
Revert "Remove AndroidKeyStore from API"

This reverts commit ce24985ad636c38b6ee01ec9cdecfb038bfeaeb6.

Change-Id: I02d6492c8db869619694c7209bb37522a7ec5a29

11 years agoAppSecurityPermissions: add support for revoking permissions
Nick Kralevich [Sat, 6 Apr 2013 01:32:07 +0000 (18:32 -0700)]
AppSecurityPermissions: add support for revoking permissions

Add UI support for revoking optional permissions. When the user
taps on an optional permission, two new boxes will appear:

  [Cancel] | [Revoke]

Selecting [Revoke] will revoke the permission from the app.

The [Cancel] / [Revoke] options are only shown for apps which support
optional permissions.

Bug: 8332307
Change-Id: I27e374773747737e3a6d7f48ea1448a0178e3393

11 years agoMerge "Update Roboto to version 1.200311" into jb-mr2-dev
Raph Levien [Fri, 5 Apr 2013 23:53:21 +0000 (23:53 +0000)]
Merge "Update Roboto to version 1.200311" into jb-mr2-dev

11 years agoFix accessibility in action bars and add extra customization
Adam Powell [Fri, 5 Apr 2013 23:27:35 +0000 (16:27 -0700)]
Fix accessibility in action bars and add extra customization

Fix a bug where the content description of the big unified Home/Up
button was not getting set properly.

Add the ability to change the home-as-up glyph from ActionBar.

Add the ability to set a custom action description for the home-as-up
button, useful if the above functionality is used.

Bug 8548229

Change-Id: I0635799772c7234b68247dfc105dce7f11acda32

11 years agoMerge "Remove all public mention of RS graphics from docs." into jb-mr2-dev
Tim Murray [Fri, 5 Apr 2013 22:47:29 +0000 (22:47 +0000)]
Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev

11 years agoMerge "Specify SDK version for RS graphics tests." into jb-mr2-dev
Tim Murray [Fri, 5 Apr 2013 22:46:05 +0000 (22:46 +0000)]
Merge "Specify SDK version for RS graphics tests." into jb-mr2-dev

11 years agoRemove all public mention of RS graphics from docs.
Tim Murray [Fri, 5 Apr 2013 22:06:43 +0000 (22:06 +0000)]
Remove all public mention of RS graphics from docs.

Change-Id: Ie43b5fb0353149aa9af433b6f5c5141349388ea0

11 years agoSpecify SDK version for RS graphics tests.
Tim Murray [Fri, 5 Apr 2013 22:17:09 +0000 (15:17 -0700)]
Specify SDK version for RS graphics tests.

Change-Id: Ia61c753392432b91f91260a9b8769dfd396c259f

11 years agoMerge "AudioService: do not use virtual call for bt sco" into jb-mr2-dev
Eric Laurent [Fri, 5 Apr 2013 22:14:12 +0000 (22:14 +0000)]
Merge "AudioService: do not use virtual call for bt sco" into jb-mr2-dev

11 years agoMerge "Fix crash in ConfigUpdater when the target dir doesn't exist." into jb-mr2-dev
Geremy Condra [Fri, 5 Apr 2013 21:52:36 +0000 (21:52 +0000)]
Merge "Fix crash in ConfigUpdater when the target dir doesn't exist." into jb-mr2-dev

11 years agoMerge "Pipe through device resolution information" into jb-mr2-dev
Michael Wright [Fri, 5 Apr 2013 21:43:31 +0000 (21:43 +0000)]
Merge "Pipe through device resolution information" into jb-mr2-dev

11 years agoMerge "Use float textures to render gradients when possible" into jb-mr2-dev
Romain Guy [Fri, 5 Apr 2013 21:31:57 +0000 (21:31 +0000)]
Merge "Use float textures to render gradients when possible" into jb-mr2-dev

11 years agoAudioService: do not use virtual call for bt sco
Eric Laurent [Fri, 5 Apr 2013 19:13:54 +0000 (12:13 -0700)]
AudioService: do not use virtual call for bt sco

Do not use startScoUsingVirtualVoiceCall() BluetoothHeadset
API to connect SCO audio. This will cause headsets to act as if an incoming
call was received which is not what we want for voice commands.

Bug 8157702

Change-Id: I271909d4d1f3822758740a8484e3d2d8b4f34c00

11 years agoMerge "Fix AlertDialog in RTL mode" into jb-mr2-dev
Fabrice Di Meglio [Fri, 5 Apr 2013 21:17:50 +0000 (21:17 +0000)]
Merge "Fix AlertDialog in RTL mode" into jb-mr2-dev

11 years agoUse float textures to render gradients when possible
Romain Guy [Fri, 5 Apr 2013 18:17:55 +0000 (11:17 -0700)]
Use float textures to render gradients when possible

Float textures offer better precision for dithering.

In addition this change removes two uniforms from gradient shaders.
These uniforms were used to dither gradients but their value is
a build time constant. Instead we hardcode the value directly in
the shader source at compile time.

Change-Id: I05e9fd3eef93771843bbd91b453274452dfaefee

11 years agoMerge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
Jeff Brown [Fri, 5 Apr 2013 20:57:01 +0000 (20:57 +0000)]
Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev

11 years agoFix crash in ConfigUpdater when the target dir doesn't exist.
Geremy Condra [Fri, 5 Apr 2013 00:48:09 +0000 (17:48 -0700)]
Fix crash in ConfigUpdater when the target dir doesn't exist.

Change-Id: I44ee0e3791938da0bf890fb38cd886330c0ee01d

11 years agoNew NotificationListenerService.
Daniel Sandler [Sat, 23 Mar 2013 01:29:23 +0000 (18:29 -0700)]
New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2

11 years agoRemove the sender package filter from the intent firewall
Ben Gruver [Fri, 5 Apr 2013 16:56:51 +0000 (09:56 -0700)]
Remove the sender package filter from the intent firewall

Change-Id: I3124c6969984eef646f22216c709bdfb324d6679

11 years agoMerge "Make the min layer go down through all windows" into jb-mr2-dev
Craig Mautner [Fri, 5 Apr 2013 17:28:08 +0000 (17:28 +0000)]
Merge "Make the min layer go down through all windows" into jb-mr2-dev

11 years agoMake the min layer go down through all windows
Craig Mautner [Thu, 28 Mar 2013 22:28:55 +0000 (15:28 -0700)]
Make the min layer go down through all windows

The min layer was set to only show the windows that matched
the specified app token. But that meant when dialogs were
launched it only showed the dialogs and not the background
windows.

Added improved debugging.

fixes bug 8502844.

Change-Id: I26b49568b872801ec9aa088df20317aa752dacd6

11 years agoMerge "Adding new Chomium-WebView property key, and deprecating old key." into jb...
Kristian Monsen [Fri, 5 Apr 2013 17:17:25 +0000 (17:17 +0000)]
Merge "Adding new Chomium-WebView property key, and deprecating old key." into jb-mr2-dev

11 years agoMerge "Add a config updater component for the intent firewall" into jb-mr2-dev
Ben Gruver [Fri, 5 Apr 2013 16:35:25 +0000 (16:35 +0000)]
Merge "Add a config updater component for the intent firewall" into jb-mr2-dev

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Fri, 5 Apr 2013 16:13:17 +0000 (16:13 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoImport translations. DO NOT MERGE
Baligh Uddin [Fri, 5 Apr 2013 15:50:47 +0000 (08:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ifb0d09822f93bb719c48bc3e0108e0f81c592c66
Auto-generated-cl: translation import

11 years agoMerge "Fix AudioTrack.setPlaybackRate() error handling" into jb-mr2-dev
Glenn Kasten [Fri, 5 Apr 2013 15:45:15 +0000 (15:45 +0000)]
Merge "Fix AudioTrack.setPlaybackRate() error handling" into jb-mr2-dev

11 years agoCorrectly manage the lifecycle of IME InputChannels.
Jeff Brown [Fri, 5 Apr 2013 05:45:12 +0000 (22:45 -0700)]
Correctly manage the lifecycle of IME InputChannels.

InputChannels are normally duplicated when sent to a remote process
over Binder but this does not happen if the recipient is running within
the system server process.  This causes problems for KeyGuard because the
InputMethodManagerService may accidentally dispose the channel
that KeyGuard is using.

Fixed the lifecycle of InputChannels that are managed by the IME
framework.  We now return a duplicate of the channel to the application
and then take care to dispose of the duplicate when necessary.
In particular, InputBindResult disposes its InputChannel automatically
when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE).

Bug: 8493879
Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79

11 years agoAdd a config updater component for the intent firewall
Ben Gruver [Thu, 4 Apr 2013 19:05:49 +0000 (12:05 -0700)]
Add a config updater component for the intent firewall

Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3

11 years agoMerge "Implement async event callout from drm plugin to Java app" into jb-mr2-dev
Jeff Tinker [Fri, 5 Apr 2013 01:16:23 +0000 (01:16 +0000)]
Merge "Implement async event callout from drm plugin to Java app" into jb-mr2-dev

11 years agoPipe through device resolution information
Michael Wright [Tue, 2 Apr 2013 03:56:04 +0000 (20:56 -0700)]
Pipe through device resolution information

Bug: 8424494
Change-Id: Iafeeee0d5cd29342c1cdc86b9616222aaa5d1b94

11 years agoMerge "Error on conflicting <uses-permission>" into jb-mr2-dev
Nick Kralevich [Fri, 5 Apr 2013 00:23:53 +0000 (00:23 +0000)]
Merge "Error on conflicting <uses-permission>" into jb-mr2-dev

11 years agoMerge "aapt: add support for optional uses-permission" into jb-mr2-dev
Nick Kralevich [Fri, 5 Apr 2013 00:22:58 +0000 (00:22 +0000)]
Merge "aapt: add support for optional uses-permission" into jb-mr2-dev

11 years agoError on conflicting <uses-permission>
Nick Kralevich [Thu, 4 Apr 2013 21:38:13 +0000 (14:38 -0700)]
Error on conflicting <uses-permission>

Don't install packages where we have multiple, conflicting
<uses-permission> lines for the same permission.

For example, a package which contains:

<uses-permission android:name="android.permission.INTERNET" android:required="false" />
<uses-permission android:name="android.permission.INTERNET" android:required="true" />

will now fail to install.

In addition, this change slightly refactors the code, and creates a new
parseUsesPermission() method.

Change-Id: I0f4bb8b51dc4a0c5b73458a70f706e19829275d2

11 years agoMerge "First OpenGL ES 3.0 based optimization" into jb-mr2-dev
Romain Guy [Thu, 4 Apr 2013 22:47:53 +0000 (22:47 +0000)]
Merge "First OpenGL ES 3.0 based optimization" into jb-mr2-dev

11 years agoMerge "Reduce the size of dirty invalidates" into jb-mr2-dev
Romain Guy [Thu, 4 Apr 2013 22:47:49 +0000 (22:47 +0000)]
Merge "Reduce the size of dirty invalidates" into jb-mr2-dev

11 years agoReduce the size of dirty invalidates
Romain Guy [Thu, 4 Apr 2013 22:26:04 +0000 (15:26 -0700)]
Reduce the size of dirty invalidates

Remove remnants from times long gone. We don't need to redraw the
union of the previous frame's dirty region and the new dirty
region.

Change-Id: I9fb96f99a6a72c2233f9ca563cf6432a42b2b65b

11 years agoMerge "Traverse layers in update order" into jb-mr2-dev
Chris Craik [Thu, 4 Apr 2013 22:26:59 +0000 (22:26 +0000)]
Merge "Traverse layers in update order" into jb-mr2-dev

11 years agoTraverse layers in update order
Chris Craik [Thu, 4 Apr 2013 21:46:24 +0000 (14:46 -0700)]
Traverse layers in update order

bug:8540150

Layers now require traversal in update order, as it will be child
first, then parent for layer-in-layer

Fixes issue with deferred layer playback not flushing in order, and
thus child not painting before parent

Also fixes DisplayList to only be cleared after flush in deferred list

Change-Id: I2f284d00079cdb20798aeef6a1c94e823940db40

11 years agoMerge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" into...
Fabrice Di Meglio [Thu, 4 Apr 2013 21:16:43 +0000 (21:16 +0000)]
Merge "Fix for bug #8146846 Phone App should be mirrored for RTL languages" into jb-mr2-dev

11 years agoMerge "PackageParser: ignore <uses-permission> android:required on older apps" into...
Nick Kralevich [Thu, 4 Apr 2013 20:27:32 +0000 (20:27 +0000)]
Merge "PackageParser: ignore <uses-permission> android:required on older apps" into jb-mr2-dev

11 years agoPackageParser: ignore <uses-permission> android:required on older apps
Nick Kralevich [Thu, 4 Apr 2013 20:19:10 +0000 (13:19 -0700)]
PackageParser: ignore <uses-permission> android:required on older apps

Don't honor <uses-permission android:required="false"> on older apps.
Lots of apps in the wild are improperly using this, and we don't
want to break them.

Bug: 8528162
Change-Id: I6e0a10bc9feac58d13ef624239c6b91e9fc34590

11 years agoFirst OpenGL ES 3.0 based optimization
Romain Guy [Thu, 4 Apr 2013 19:27:54 +0000 (12:27 -0700)]
First OpenGL ES 3.0 based optimization

This change uses a new OpenGL ES 3.0 feature to upload less data when
the font cache needs to be update. This can result in significant
performance improvements on device with large textures or with locales
that use a lot of glyphs (CJK for instance.)

This change also fixes various unpack alignment issues. The unpack
alignment, as well as the unpack row length, is not texture specific
but a global state that affect all glTex/SubImage2D calls. Some of
them were missing the appropriate glPixelStorei() call. This could
result in corrupted textures.

Change-Id: Iefb429d4d0d0b4e0faeadf27daafee6d30a21d85

11 years agoMerge "Adding small animation features" into jb-mr2-dev
Chet Haase [Thu, 4 Apr 2013 18:24:46 +0000 (18:24 +0000)]
Merge "Adding small animation features" into jb-mr2-dev

11 years agoAdding small animation features
Chet Haase [Tue, 2 Apr 2013 22:10:58 +0000 (15:10 -0700)]
Adding small animation features

RectEvaluator is useful when animating object bounds.
The other change is a hidden API that allows temporary suspension
of layout, useful for animations which need to animate view bounds
without conflicting with layout passes that might happen in the middle
of the animation.

Change-Id: I3dc08cb6ec455dfa3409e825506b218d3ea63d7a

11 years agoMerge "Uphold common ordering expectations around action bar Home/Up dispatch" into...
Adam Powell [Thu, 4 Apr 2013 17:58:26 +0000 (17:58 +0000)]
Merge "Uphold common ordering expectations around action bar Home/Up dispatch" into jb-mr2-dev

11 years agoMerge "Add internal API to query GL version number" into jb-mr2-dev
Romain Guy [Thu, 4 Apr 2013 17:53:06 +0000 (17:53 +0000)]
Merge "Add internal API to query GL version number" into jb-mr2-dev

11 years agoUphold common ordering expectations around action bar Home/Up dispatch
Adam Powell [Thu, 4 Apr 2013 17:47:52 +0000 (10:47 -0700)]
Uphold common ordering expectations around action bar Home/Up dispatch

Some apps aren't particularly happy if a stray key event is dispatched
to a newly created window before its menu is prepared, causing the
action bar's Home/Up event to be dispatched. Ignore these clicks on
the Home/Up button before the menu goes through its initial prepare
step.

Note that it is still possible (and valid!) for Home/Up to be
dispatched even if the app chose to return false from
onCreateOptionsMenu or similar.

Bug 7085070

Change-Id: If4b7d5f8c5a08ce8a094f1919347604d78ddedfb

11 years agoAdd internal API to query GL version number
Romain Guy [Sat, 30 Mar 2013 01:32:29 +0000 (18:32 -0700)]
Add internal API to query GL version number

Change-Id: Idc02efc237b8e97445a9bab05c291bf193c7f279

11 years agoMerge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-dev
Victoria Lease [Thu, 4 Apr 2013 14:40:52 +0000 (14:40 +0000)]
Merge "use libphonenumber for Linkify.PHONE_NUMBER" into jb-mr2-dev

11 years agouse libphonenumber for Linkify.PHONE_NUMBER
Victoria Lease [Mon, 1 Apr 2013 17:22:00 +0000 (10:22 -0700)]
use libphonenumber for Linkify.PHONE_NUMBER

This commit replaces a regex pattern match for Linkify.PHONE_NUMBER
with a call to libphonenumber's PhoneNumberUtil.findNumbers().

Bug: 5533245
Change-Id: I0e0563b241fb62e77d7f49e4a8484c6b0685dd8f

11 years agoMerge "Nuke heavy parts of notification before archiving." into jb-mr2-dev
Jeff Sharkey [Thu, 4 Apr 2013 06:09:34 +0000 (06:09 +0000)]
Merge "Nuke heavy parts of notification before archiving." into jb-mr2-dev

11 years agoFix doc build.
Ying Wang [Thu, 4 Apr 2013 05:57:31 +0000 (22:57 -0700)]
Fix doc build.

Change-Id: I954a45866d968b0571040ba99cc93b818d02aeb5

11 years agoFix for bug #8146846 Phone App should be mirrored for RTL languages
Fabrice Di Meglio [Thu, 4 Apr 2013 04:01:58 +0000 (21:01 -0700)]
Fix for bug #8146846 Phone App should be mirrored for RTL languages

- add RTL version of quickcontact badge overlay

Change-Id: I007d0dae9ceec9c42684e45a735ea6b06aa6f9a0

11 years agoMerge "Change BluetoothGattCallback methods argument from BluetoothDevice to Bluetoot...
Matthew Xie [Thu, 4 Apr 2013 03:16:39 +0000 (03:16 +0000)]
Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev

11 years agoam 614c155f: am f64ad28f: am 15ebf622: am f614d536: am e4922f28: Merge "Doc update...
kmccormick [Thu, 4 Apr 2013 01:45:29 +0000 (18:45 -0700)]
am 614c155f: am f64ad28f: am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs

* commit '614c155fc6e4c3e83b152398df0e628d7a7f4051':
  Doc update: clean up text and code snippets

11 years agoam f64ad28f: am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text...
kmccormick [Thu, 4 Apr 2013 01:41:54 +0000 (18:41 -0700)]
am f64ad28f: am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs

* commit 'f64ad28f6b3c56c054f938680c58b69cf7237b2c':
  Doc update: clean up text and code snippets

11 years agoam 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text and code...
kmccormick [Thu, 4 Apr 2013 01:38:05 +0000 (18:38 -0700)]
am 15ebf622: am f614d536: am e4922f28: Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs

* commit '15ebf622de39e1a8c7d8855f5b4ede35039a2b2b':
  Doc update: clean up text and code snippets

11 years agoam f614d536: am e4922f28: Merge "Doc update: clean up text and code snippets" into...
kmccormick [Thu, 4 Apr 2013 01:35:46 +0000 (18:35 -0700)]
am f614d536: am e4922f28: Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs

* commit 'f614d53664b78f0fb386bbea93f4513c92786ff1':
  Doc update: clean up text and code snippets

11 years agoam e4922f28: Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs
kmccormick [Thu, 4 Apr 2013 01:32:36 +0000 (18:32 -0700)]
am e4922f28: Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs

* commit 'e4922f28b4d3c1f6ff166a6e5d5849c8533562ea':
  Doc update: clean up text and code snippets

11 years agoMerge "Doc update: clean up text and code snippets" into jb-mr1.1-docs
kmccormick [Thu, 4 Apr 2013 01:28:53 +0000 (01:28 +0000)]
Merge "Doc update: clean up text and code snippets" into jb-mr1.1-docs

11 years agoDoc update: clean up text and code snippets
kmccormick [Thu, 4 Apr 2013 01:16:15 +0000 (18:16 -0700)]
Doc update: clean up text and code snippets

"Bug: 6942838"

Change-Id: I496cbcd4b6236b5bc8a41484890f96721ba598a0

11 years agoChange BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
Matthew Xie [Wed, 3 Apr 2013 07:29:27 +0000 (00:29 -0700)]
Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt

Change name of BluetoothDevice#connectGattServer to BluetoothDevice#connectGatt
Add BluetoothGatt#getDevice to retrieve device from BluetoothGatt
Add BluetoothGatt#connect() to reconnect back to the server.
Make BluetoothGatt#close() public to clean up/unregister callback
Add BluetoothDevice.getType() to return int of
bug 8529188

Change-Id: Iebd9ac68cc7a64c43972e617dd3068f66c8ea0b2

11 years agoam b2961bd6: am 8f662f12: am 026625ff: am 72146342: am e40b0810: Merge "Doc update...
kmccormick [Thu, 4 Apr 2013 01:16:32 +0000 (18:16 -0700)]
am b2961bd6: am 8f662f12: am 026625ff: am 72146342: am e40b0810: Merge "Doc update: typo in widget design doc" into jb-mr1.1-docs

* commit 'b2961bd6833697baac52888765fe8518133f489e':
  Doc update: typo in widget design doc

11 years agoam 8f662f12: am 026625ff: am 72146342: am e40b0810: Merge "Doc update: typo in widget...
kmccormick [Thu, 4 Apr 2013 01:12:48 +0000 (18:12 -0700)]
am 8f662f12: am 026625ff: am 72146342: am e40b0810: Merge "Doc update: typo in widget design doc" into jb-mr1.1-docs

* commit '8f662f125edf393943fa7cceaf4758aae0534841':
  Doc update: typo in widget design doc

11 years agoam 026625ff: am 72146342: am e40b0810: Merge "Doc update: typo in widget design doc...
kmccormick [Thu, 4 Apr 2013 01:08:32 +0000 (18:08 -0700)]
am 026625ff: am 72146342: am e40b0810: Merge "Doc update: typo in widget design doc" into jb-mr1.1-docs

* commit '026625ffd5f256997f5bda87d39afe10152f5a9e':
  Doc update: typo in widget design doc

11 years agoam 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update...
kmccormick [Thu, 4 Apr 2013 01:06:40 +0000 (18:06 -0700)]
am 984f94ee: am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit '984f94ee4c4ef0196d9b2c149d0a42f20b72bebf':
  Doc update: unterminated code tags

11 years agoam 72146342: am e40b0810: Merge "Doc update: typo in widget design doc" into jb-mr1...
kmccormick [Thu, 4 Apr 2013 01:06:02 +0000 (18:06 -0700)]
am 72146342: am e40b0810: Merge "Doc update: typo in widget design doc" into jb-mr1.1-docs

* commit '72146342cbe9ac1e1efffe90fa64d7f4026cf359':
  Doc update: typo in widget design doc

11 years agoam e40b0810: Merge "Doc update: typo in widget design doc" into jb-mr1.1-docs
kmccormick [Thu, 4 Apr 2013 01:03:31 +0000 (18:03 -0700)]
am e40b0810: Merge "Doc update: typo in widget design doc" into jb-mr1.1-docs

* commit 'e40b0810d9200c3de7e75ed3d311c8697bccd0a3':
  Doc update: typo in widget design doc

11 years agoam f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated...
kmccormick [Thu, 4 Apr 2013 01:03:00 +0000 (18:03 -0700)]
am f29ca256: am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit 'f29ca256a4340a3d550d2c4a39a2e6a29a3ce850':
  Doc update: unterminated code tags

11 years agoam 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags...
kmccormick [Thu, 4 Apr 2013 01:00:11 +0000 (18:00 -0700)]
am 57b73b4a: am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit '57b73b4a1d6ea84ae42c407ecb258829ab8dfa2c':
  Doc update: unterminated code tags

11 years agoMerge "Doc update: typo in widget design doc" into jb-mr1.1-docs
kmccormick [Thu, 4 Apr 2013 00:59:08 +0000 (00:59 +0000)]
Merge "Doc update: typo in widget design doc" into jb-mr1.1-docs

11 years agoam 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1...
kmccormick [Thu, 4 Apr 2013 00:58:30 +0000 (17:58 -0700)]
am 72da7af6: am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit '72da7af68a86e61281ba0af0e159fb480913ae74':
  Doc update: unterminated code tags

11 years agoDoc update: typo in widget design doc
kmccormick [Thu, 4 Apr 2013 00:56:58 +0000 (17:56 -0700)]
Doc update: typo in widget design doc

"Bug: 7042997"

Change-Id: I89d60c42bb846514ad6792fb4a901698128a21b6

11 years agoam b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs
kmccormick [Thu, 4 Apr 2013 00:55:50 +0000 (17:55 -0700)]
am b461a13f: Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

* commit 'b461a13f252e3888b8614a8f363f34731274e87e':
  Doc update: unterminated code tags

11 years agoMerge "Doc update: unterminated code tags" into jb-mr1.1-docs
kmccormick [Thu, 4 Apr 2013 00:52:26 +0000 (00:52 +0000)]
Merge "Doc update: unterminated code tags" into jb-mr1.1-docs

11 years agoDoc update: unterminated code tags
kmccormick [Thu, 4 Apr 2013 00:28:14 +0000 (17:28 -0700)]
Doc update: unterminated code tags

"Bug: 7250069"

Change-Id: I4c3eca8eacad6d0aced9f38788726ba95b914d5d