OSDN Git Service

android-x86/frameworks-base.git
11 years agoam e397020d: am 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags...
Scott Main [Fri, 19 Apr 2013 20:03:04 +0000 (13:03 -0700)]
am e397020d: am 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit 'e397020d4d9144583d4dc05e1ed8ded254b21162':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoam 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google...
Scott Main [Fri, 19 Apr 2013 19:58:51 +0000 (12:58 -0700)]
am 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '102e9e5adf6004dcd503b0ca331c1c2298a4e784':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoam 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs...
Scott Main [Fri, 19 Apr 2013 19:55:32 +0000 (12:55 -0700)]
am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '1b95cc41d097d4a1e070b949f46eb13e2fec887a':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoam 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude...
Scott Main [Fri, 19 Apr 2013 19:51:15 +0000 (12:51 -0700)]
am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '653a00e240c618897932c3103dff49c5dbdfb196':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoam 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch...
Scott Main [Fri, 19 Apr 2013 19:47:26 +0000 (12:47 -0700)]
am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '6afeb0e5e7343bcafd9620bfc04c21cad9f08edb':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoMerge "Fix NPE issues seen by CTS" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 19:43:46 +0000 (19:43 +0000)]
Merge "Fix NPE issues seen by CTS" into jb-mr2-dev

11 years agoMerge "Improve API and documentation" into jb-mr2-dev
Amith Yamasani [Fri, 19 Apr 2013 19:10:02 +0000 (19:10 +0000)]
Merge "Improve API and documentation" into jb-mr2-dev

11 years agoImprove API and documentation
Amith Yamasani [Fri, 19 Apr 2013 01:40:07 +0000 (18:40 -0700)]
Improve API and documentation

API for querying accounts visible to a specific package.

Improve API and docs for device owner.

Bug: 8657158
Change-Id: I01b8701534f64b383391508a49ae93ed21f22ae0

11 years agoMerge "Fix NPE when restarting ChooseTypeAndAccountActiivty." into jb-mr2-dev
Carlos Valdivia [Fri, 19 Apr 2013 18:38:33 +0000 (18:38 +0000)]
Merge "Fix NPE when restarting ChooseTypeAndAccountActiivty." into jb-mr2-dev

11 years agoMerge "Deprecate StatFs methods returning small values." into jb-mr2-dev
Jeff Sharkey [Fri, 19 Apr 2013 18:21:08 +0000 (18:21 +0000)]
Merge "Deprecate StatFs methods returning small values." into jb-mr2-dev

11 years agoMerge "Restore dock home support for car docks." into jb-mr2-dev
Daniel Sandler [Fri, 19 Apr 2013 18:00:17 +0000 (18:00 +0000)]
Merge "Restore dock home support for car docks." into jb-mr2-dev

11 years agoMerge "Improve fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev
Fabrice Di Meglio [Fri, 19 Apr 2013 17:58:46 +0000 (17:58 +0000)]
Merge "Improve fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev

11 years agoMerge "Rename API AndroidKey* -> Key*" into jb-mr2-dev
Kenny Root [Fri, 19 Apr 2013 17:58:00 +0000 (17:58 +0000)]
Merge "Rename API AndroidKey* -> Key*" into jb-mr2-dev

11 years agoMerge "Add getters and private constructor" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 17:56:34 +0000 (17:56 +0000)]
Merge "Add getters and private constructor" into jb-mr2-dev

11 years agoMerge "Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft...
Fabrice Di Meglio [Fri, 19 Apr 2013 17:56:22 +0000 (17:56 +0000)]
Merge "Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft" into jb-mr2-dev

11 years agoFix NPE issues seen by CTS
Irfan Sheriff [Fri, 19 Apr 2013 17:43:40 +0000 (10:43 -0700)]
Fix NPE issues seen by CTS

Bug: 8646305
Change-Id: Ief90c76d63f60aee9a3da080cd43dd9610f3f4fc

11 years agoMerge "Revert "Simple MVC based binding mechanism for android controls."" into jb...
Philip Milne [Fri, 19 Apr 2013 17:53:23 +0000 (17:53 +0000)]
Merge "Revert "Simple MVC based binding mechanism for android controls."" into jb-mr2-dev

11 years agoDeprecate StatFs methods returning small values.
Jeff Sharkey [Thu, 18 Apr 2013 23:00:04 +0000 (16:00 -0700)]
Deprecate StatFs methods returning small values.

Bug: 8656794
Change-Id: Ic904bd1bc016ef48b5a304b7c68250afe23e98bc

11 years agoAdd getters and private constructor
Irfan Sheriff [Fri, 19 Apr 2013 16:29:34 +0000 (09:29 -0700)]
Add getters and private constructor

Address API feedback

Bug: 8656930
Change-Id: Idc3dd8d8a7e633449329864e41cab58a6b193b5a

11 years agoRemove STOPSHIP and defer removal.
Robert Greenwalt [Fri, 19 Apr 2013 16:31:24 +0000 (09:31 -0700)]
Remove STOPSHIP and defer removal.

bug:8657300
Change-Id: Ia855fdc0db7a33502838648ee002d4929b224960

11 years agoMerge "Update API" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 16:05:15 +0000 (16:05 +0000)]
Merge "Update API" into jb-mr2-dev

11 years agoUpdate API
Irfan Sheriff [Fri, 19 Apr 2013 16:03:00 +0000 (09:03 -0700)]
Update API

Bug: 8656932
Change-Id: I09a8018f488d4e8ca3eb8c2a798669ebe016dfc8

11 years agoMerge "Fix API name" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 15:56:10 +0000 (15:56 +0000)]
Merge "Fix API name" into jb-mr2-dev

11 years agoMerge "Anti-drift in RCC playback position" into jb-mr2-dev
Jean-Michel Trivi [Fri, 19 Apr 2013 15:55:28 +0000 (15:55 +0000)]
Merge "Anti-drift in RCC playback position" into jb-mr2-dev

11 years agoFix API name
Irfan Sheriff [Fri, 19 Apr 2013 15:39:53 +0000 (08:39 -0700)]
Fix API name

Address council feedback

Bug: 8656932
Change-Id: I92972fc3672afbc38cdeee628c04b639053f7cf3

11 years agoMerge "AudioService: SCO audio backward compatibility" into jb-mr2-dev
Eric Laurent [Fri, 19 Apr 2013 15:39:22 +0000 (15:39 +0000)]
Merge "AudioService: SCO audio backward compatibility" into jb-mr2-dev

11 years agoMerge "Add some documentation to MediaCodecInfo" into jb-mr2-dev
Andreas Huber [Fri, 19 Apr 2013 15:34:15 +0000 (15:34 +0000)]
Merge "Add some documentation to MediaCodecInfo" into jb-mr2-dev

11 years agoFix NPE when restarting ChooseTypeAndAccountActiivty.
Carlos Valdivia [Fri, 19 Apr 2013 08:07:12 +0000 (01:07 -0700)]
Fix NPE when restarting ChooseTypeAndAccountActiivty.

Note that this change still leaves things in an imperfect state. Now instead
of ANR with an NPE it will reshow the Choose account activity and then on the
second back, it will go away. So the user isn't hosed. But it is still a sloppy
experience.  Basically the bug fix reveals another not quite as bad bug
(see https://b/8661942).

Bug: 8151602
Change-Id: I44b188f5940d464c2dd81dd0b6b7cae3c189becd

11 years agoRevert "Simple MVC based binding mechanism for android controls."
Philip Milne [Fri, 19 Apr 2013 03:53:38 +0000 (03:53 +0000)]
Revert "Simple MVC based binding mechanism for android controls."

Fix for bug 8656899 API REVIEW:
android.util.PropertyValueModel/ValueModel,
android.widget.ValueEditor etc

Revert the change that added this API to remove it outright.

This reverts commit 989709a973448980f36dacd587b0a58f89ffa11e

Change-Id: I9018cd8dadb1b1a54ad8749c816bd02bb7e7a38b

11 years agoFix doc build.
Ying Wang [Fri, 19 Apr 2013 03:39:48 +0000 (20:39 -0700)]
Fix doc build.

Change-Id: Ibf0d998721a2851c31529d5b44bf86b1b3df5791

11 years agoImprove fix for bug #8159072 Spinner widget should be RTL'ized
Fabrice Di Meglio [Mon, 15 Apr 2013 21:05:30 +0000 (14:05 -0700)]
Improve fix for bug #8159072 Spinner widget should be RTL'ized

- populate the preloaded drawable cache with only LTR drawables
when the layout direction during preloading is LTR. Populate
the cache with only RTL drawables when the layout direction during
preloading is RTL
- only preload drawables that dont have a dual LTR/RTL version

Change-Id: I7807bdc031b99102609efda75042a9500d96065c

11 years agoMerge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev
Jeff Brown [Fri, 19 Apr 2013 02:19:34 +0000 (02:19 +0000)]
Merge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev

11 years agoUndeprecate old UsbDeviceConnection methods.
Jeff Brown [Fri, 19 Apr 2013 02:15:17 +0000 (19:15 -0700)]
Undeprecate old UsbDeviceConnection methods.

Per api review, retain the overloads that do not accept a
buffer start offset.

Bug: 8656781
Change-Id: Ie00aca7d3a4708700c5ddf60e3309e609788a67f

11 years agoMerge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev
Svetoslav Ganov [Fri, 19 Apr 2013 02:17:02 +0000 (02:17 +0000)]
Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev

11 years agoMerge "Fix change of behavior in Looper.quit()." into jb-mr2-dev
Jeff Brown [Fri, 19 Apr 2013 02:09:19 +0000 (02:09 +0000)]
Merge "Fix change of behavior in Looper.quit()." into jb-mr2-dev

11 years agoFix change of behavior in Looper.quit().
Jeff Brown [Thu, 18 Apr 2013 22:17:48 +0000 (15:17 -0700)]
Fix change of behavior in Looper.quit().

It seems some applications rely on Looper.quit() terminating the
loop immediately without processing all messages.  Rather than
risk breaking them, make the safer behavior optional.

Also take care to properly drain the message queue before quitting
so that all of the Message instances are recycled.  This may
help release storage sooner in case the Looper doesn't get GC'd
promptly and its remaining queue of undelivered messages sticks
around.

Improve docs on runWithScissors.

Bug: 8596303
Change-Id: I8cbeb6f7a5f6b8e618b5109f87a03defc1486b9f

11 years agoUpdate aip/current.txt to fix build.
Ying Wang [Fri, 19 Apr 2013 01:54:57 +0000 (18:54 -0700)]
Update aip/current.txt to fix build.

Change-Id: I3644995bce6102c05b356a709e517c812eca0570

11 years agoRename API AndroidKey* -> Key*
Kenny Root [Fri, 19 Apr 2013 00:57:03 +0000 (17:57 -0700)]
Rename API AndroidKey* -> Key*

Bug: 8657552
Change-Id: Id9102b7c2c2f6d27fba7645f0629750cfe1eb510

11 years agoMerge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev
Dianne Hackborn [Fri, 19 Apr 2013 01:26:57 +0000 (01:26 +0000)]
Merge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev

11 years agoFix bug #8654490 android:paddingStart doesn't override android:paddingLeft
Fabrice Di Meglio [Fri, 19 Apr 2013 00:48:37 +0000 (17:48 -0700)]
Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft

- in RTL mode only and if you have left/start or right/end at the same time,
the initial left/right padding (coming from the background drawable or from
some explicit definition) was still used.

- now, override the background left/right initial pading by the left/right one
only and only if there is no start/end padding defined at the same time
(because when start/end are defined, we do not care about left/right padding
except the background ones)

Change-Id: Icc6e69c95ace1307b0c5e9673cbdf3b611b62733

11 years agoAnti-drift in RCC playback position
Jean-Michel Trivi [Tue, 16 Apr 2013 22:28:46 +0000 (15:28 -0700)]
Anti-drift in RCC playback position

Periodically verify that the reported playback position hasn't
 drifted from the estimated playback position.
If a drift is noticed, re-synchronize registered
 IRemoteControlDisplay implementations.

bug 8120740

Note that this implementation updates the playback position
 of  all IRemoteControlDisplay implementations,
 and always causes the OnGetPlaybackPositionListener to be
 called. This might be undesirable in some circumstances
 and will be addressed in a subsequent CL.

Change-Id: Ib9f40e1b000e912f6c35fa03e41adf81efadc894

11 years agoReplacing accessibility service permissions with capability attributes.
Svetoslav [Wed, 17 Apr 2013 01:55:38 +0000 (18:55 -0700)]
Replacing accessibility service permissions with capability attributes.

Accessibility services can perform special operations such as retrieve
the screen content, enable explore by touch, etc. To ensure the user
is aware that the service will perform special operations we were using
permissions. However, the special operations cannot be performed unless
the service is really enabled by the user and it is at this point that
we want to notify the user about the service capabilities.

This change adds capability attributes to the accessibility service's
meta-data XML file. The service has to declare the capability and when
it is enabled we show the user the capabilities in the warining dialog.

bug:8633951

Change-Id: Id3442dc71dad018e606888afdc40834682fdb037

11 years agoMerge "Reload accessibility service infos for reisntalled packages." into jb-mr2-dev
Svetoslav Ganov [Fri, 19 Apr 2013 00:26:02 +0000 (00:26 +0000)]
Merge "Reload accessibility service infos for reisntalled packages." into jb-mr2-dev

11 years agoMerge "Doc change: Eat some permissions group comments." into jb-mr2-dev
Dirk Dougherty [Thu, 18 Apr 2013 23:56:05 +0000 (23:56 +0000)]
Merge "Doc change: Eat some permissions group comments." into jb-mr2-dev

11 years agoDoc change: Eat some permissions group comments.
Dirk Dougherty [Thu, 18 Apr 2013 23:38:01 +0000 (16:38 -0700)]
Doc change: Eat some permissions group comments.

Change-Id: I6db06ed80fbc9e3d71c2a029cc50a6fa954d35b9

11 years agoMerge "Improve error handling for DRM errors reported by plugins" into jb-mr2-dev
Jeff Tinker [Thu, 18 Apr 2013 23:18:46 +0000 (23:18 +0000)]
Merge "Improve error handling for DRM errors reported by plugins" into jb-mr2-dev

11 years agoMerge "Once again, cancel all when notifications canceled for pkg." into jb-mr2-dev
Daniel Sandler [Thu, 18 Apr 2013 23:15:50 +0000 (23:15 +0000)]
Merge "Once again, cancel all when notifications canceled for pkg." into jb-mr2-dev

11 years agoFix issue #8656537: API review: styles, assist
Dianne Hackborn [Thu, 18 Apr 2013 21:10:03 +0000 (14:10 -0700)]
Fix issue #8656537: API review: styles, assist

Change-Id: I5542fb548805fc885b51a1dd1133a3ac226df96b

11 years agoAdd some documentation to MediaCodecInfo
Andreas Huber [Thu, 18 Apr 2013 22:27:20 +0000 (15:27 -0700)]
Add some documentation to MediaCodecInfo

Change-Id: Ia94cde04af37e46b5d4b9c171dc50112134042b8
related-to-bug: 8657165

11 years agoMerge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev
Jeff Brown [Thu, 18 Apr 2013 22:16:04 +0000 (22:16 +0000)]
Merge "Sent hint to Wifi driver when enabling WFD." into jb-mr2-dev

11 years agoMerge "don't trigger a render when setting the rendermode" into jb-mr2-dev
Mathias Agopian [Thu, 18 Apr 2013 22:15:22 +0000 (22:15 +0000)]
Merge "don't trigger a render when setting the rendermode" into jb-mr2-dev

11 years agodon't trigger a render when setting the rendermode
Mathias Agopian [Thu, 18 Apr 2013 20:52:58 +0000 (13:52 -0700)]
don't trigger a render when setting the rendermode

also don't cache the rendermode, to mimic the older
behaviour.

Bug: 8656076
Change-Id: Id9383852bed073927db2364f7ac30a1be28b4cd8

11 years agoMerge "Fix ActionBar#setHomeActionContentDescription(0)" into jb-mr2-dev
Adam Powell [Thu, 18 Apr 2013 21:42:21 +0000 (21:42 +0000)]
Merge "Fix ActionBar#setHomeActionContentDescription(0)" into jb-mr2-dev

11 years agoMerge "Add Javadoc" into jb-mr2-dev
Alon Albert [Thu, 18 Apr 2013 21:36:32 +0000 (21:36 +0000)]
Merge "Add Javadoc" into jb-mr2-dev

11 years agoAdd Javadoc
Alon Albert [Thu, 18 Apr 2013 21:26:51 +0000 (14:26 -0700)]
Add Javadoc

Bug: 8657225
Change-Id: Id3cc191ea67011460604a691214b9b09075c5938

11 years agoMerge "Remove BluetoothAdapterCallback. Simplify leScan Api" into jb-mr2-dev
Matthew Xie [Thu, 18 Apr 2013 20:59:43 +0000 (20:59 +0000)]
Merge "Remove BluetoothAdapterCallback. Simplify leScan Api" into jb-mr2-dev

11 years agoFix ActionBar#setHomeActionContentDescription(0)
Adam Powell [Thu, 18 Apr 2013 20:53:27 +0000 (13:53 -0700)]
Fix ActionBar#setHomeActionContentDescription(0)

This call should be analogous to calling
setHomeActionContentDescription(null) and not throw an exception.

Bug 8657256

Change-Id: Ifa9c7b999f4bf1a31fba43f869e234b1f1861512

11 years agoMerge "Prevent transformed ops from merging in the first place" into jb-mr2-dev
Chris Craik [Thu, 18 Apr 2013 20:43:24 +0000 (20:43 +0000)]
Merge "Prevent transformed ops from merging in the first place" into jb-mr2-dev

11 years agoPrevent transformed ops from merging in the first place
Chris Craik [Thu, 18 Apr 2013 19:57:07 +0000 (12:57 -0700)]
Prevent transformed ops from merging in the first place

bug:8649215

Previously we prevented ops with non-translate transforms from
merging, but missed the case of the first op in a merging batch
containing a non-translate transform.

This fulfills the assumption of drawText's non-immediate mode that
merged ops will have pure translate transforms.

Change-Id: I6f6db341aff3f7e84e74b4c3ccf970d585a2db1a

11 years agoMerge "Secure broadcasts." into jb-mr2-dev
Robert Greenwalt [Thu, 18 Apr 2013 18:45:53 +0000 (18:45 +0000)]
Merge "Secure broadcasts." into jb-mr2-dev

11 years agoMagnification does not work if no enabled accessibility services.
Svetoslav Ganov [Thu, 18 Apr 2013 17:35:16 +0000 (10:35 -0700)]
Magnification does not work if no enabled accessibility services.

This is a regression in which the input filter of the accessibility
manager service is not set if magnification is enabled but accessibility
is not - i.e. no accessibility serivces are enabled. Fixed the logic to
install the input filter if magnification is on but services are not
enabled in addition to services being enabled.

bug:8652765

Change-Id: Ia73e1064035f95ba0f246f4cabcc42d58c12a11f

11 years agoSecure broadcasts.
Robert Greenwalt [Thu, 18 Apr 2013 17:29:29 +0000 (10:29 -0700)]
Secure broadcasts.

Prevents 3rd party spoofing.

bug:7622253
Change-Id: I1e1a9887afe009d060205e349c31e3aefba2ea5b

11 years agoMerge "Add CellInfoWcdma and related classes." into jb-mr2-dev
Wink Saville [Thu, 18 Apr 2013 17:06:45 +0000 (17:06 +0000)]
Merge "Add CellInfoWcdma and related classes." into jb-mr2-dev

11 years agoReload accessibility service infos for reisntalled packages.
Svetoslav Ganov [Thu, 18 Apr 2013 16:35:43 +0000 (09:35 -0700)]
Reload accessibility service infos for reisntalled packages.

When something that affects the state of accessibility in the sysytem
changes, we run a reolve method that reloads all relevant information and
if it changed we call a method that makes everyting right. One of the
interesting properties we read is the isntalled accessibliity services.

We are using equals to figure out whether these services have changed
but this is not correct since AccessibilityServiceInfo does not use all
internal members for equals and using all memthis is not reasible since
some of these internal members do not support equals propertly, for
example ResolveInfo.

Therefore, when a package is reinstalled we remove all installed services
from the list of ones we know about which forces them to be reloaded,
thus capturing the current state of a reinstalled package.

bug:8621960

Change-Id: Ie1ef4bf1036d8d6e033cd9528ea2292ce24e5320

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Thu, 18 Apr 2013 16:43:34 +0000 (16:43 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoMerge "Make MediaDrm APIs public" into jb-mr2-dev
Jeff Tinker [Thu, 18 Apr 2013 16:08:37 +0000 (16:08 +0000)]
Merge "Make MediaDrm APIs public" into jb-mr2-dev

11 years agoOnce again, cancel all when notifications canceled for pkg.
Daniel Sandler [Thu, 18 Apr 2013 14:51:35 +0000 (10:51 -0400)]
Once again, cancel all when notifications canceled for pkg.

Right now this only works if you go through the front door
(using setNotificationsEnabledForPackage()); if you set the
AppOps for a package otherwise the existing notifications
will not be cleared (but new ones will be blocked). Since
there's no UI for modifying AppOps today this shouldn't be a
problem.

Bug: 8489214
Change-Id: I84f8c76a0d03959127e9076ab2b7d37dbdaebb17

11 years agoRestore dock home support for car docks.
Daniel Sandler [Wed, 17 Apr 2013 00:19:09 +0000 (20:19 -0400)]
Restore dock home support for car docks.

While it's still not generally appropriate for the home key
to do anything other than take you home, a car is a somewhat
different context: because of the user's reduced ability to
interact with the device, it's especially useful to
temporarily replace the launcher with a car-optimized
variant. While it would be ideal for the entire system
(particularly the user's everyday Launcher) to dynamically
reconfigure their UIs upon entering car mode, it's not the
case today, and car home apps are a useful compromise.

Quick test:

$ adb shell am broadcast \
-a android.intent.action.DOCK_EVENT \
--ei android.intent.extra.DOCK_STATE 2

This reverts commit 7c135205f2f4c192299ad0215276e9e481bccaa5.

Bug: 8234767
Change-Id: I17588fff46e7f5e3773d3ad202601a5642943444

11 years agoMerge "Standardize gamepad layouts on existing controllers" into jb-mr2-dev
Michael Wright [Thu, 18 Apr 2013 08:15:57 +0000 (08:15 +0000)]
Merge "Standardize gamepad layouts on existing controllers" into jb-mr2-dev

11 years agoMerge "Hardware geofence API changes." into jb-mr2-dev
Jaikumar Ganesh [Thu, 18 Apr 2013 05:18:41 +0000 (05:18 +0000)]
Merge "Hardware geofence API changes." into jb-mr2-dev

11 years agoHardware geofence API changes.
Jaikumar Ganesh [Wed, 17 Apr 2013 19:19:10 +0000 (12:19 -0700)]
Hardware geofence API changes.

b/8631678

1.GeofenceRequest object created.
2.MonitorState moved to a new callback
3.getTypeAndStatus separated to 2 calls.
4.Binder death implemented
5.geofenceChange callback name changed.
6.Parameters rearranged in some calls.

Change-Id: I8fe9621186aeb49efeb0eef1821a2556afe03cfc

11 years agoRemove BluetoothAdapterCallback. Simplify leScan Api
Matthew Xie [Thu, 11 Apr 2013 23:36:26 +0000 (16:36 -0700)]
Remove BluetoothAdapterCallback. Simplify leScan Api

App does not need to explicitly register/unregister callback
bug 8599881

Change-Id: I18cfef14d7ddb344722945e657dcb959823b412b

11 years agoMerge "Fix possible NPE" into jb-mr2-dev
Satoshi Kataoka [Thu, 18 Apr 2013 03:33:39 +0000 (03:33 +0000)]
Merge "Fix possible NPE" into jb-mr2-dev

11 years agoSent hint to Wifi driver when enabling WFD.
Jeff Brown [Thu, 18 Apr 2013 03:25:36 +0000 (20:25 -0700)]
Sent hint to Wifi driver when enabling WFD.

Bug: 8521148
Change-Id: I53b4cf7a3714b28f9df457e559abe92711c02cef

11 years agoMerge "Fix issue #8540550: Screenshots should never have transparency" into jb-mr2-dev
Dianne Hackborn [Thu, 18 Apr 2013 02:00:45 +0000 (02:00 +0000)]
Merge "Fix issue #8540550: Screenshots should never have transparency" into jb-mr2-dev

11 years agoMerge "Fix UsbDebuggingActivity not shown in adb tcpip mode" into jb-mr2-dev
Benoit Goby [Thu, 18 Apr 2013 01:52:55 +0000 (01:52 +0000)]
Merge "Fix UsbDebuggingActivity not shown in adb tcpip mode" into jb-mr2-dev

11 years agoMerge "Add a config resource to force HDMI rotation on some devices." into jb-mr2-dev
Jeff Brown [Thu, 18 Apr 2013 01:42:01 +0000 (01:42 +0000)]
Merge "Add a config resource to force HDMI rotation on some devices." into jb-mr2-dev

11 years agoMerge "add javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()" into jb-mr2-dev
Mathias Agopian [Thu, 18 Apr 2013 01:29:07 +0000 (01:29 +0000)]
Merge "add javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()" into jb-mr2-dev

11 years agoFix issue #8540550: Screenshots should never have transparency
Dianne Hackborn [Thu, 18 Apr 2013 01:06:22 +0000 (18:06 -0700)]
Fix issue #8540550: Screenshots should never have transparency

Make sure the thumbnail bitmap is initialized with a black
background.

Change-Id: I87c00d309b7d30b6085a751aa4ae22cf146c74f5

11 years agoStandardize gamepad layouts on existing controllers
Michael Wright [Thu, 4 Apr 2013 23:57:20 +0000 (16:57 -0700)]
Standardize gamepad layouts on existing controllers

Bug: 8292749
Change-Id: I24bae8c9229125fcdd583d74b29f4334ddff782e

11 years agoFix UsbDebuggingActivity not shown in adb tcpip mode
Benoit Goby [Thu, 18 Apr 2013 00:34:30 +0000 (17:34 -0700)]
Fix UsbDebuggingActivity not shown in adb tcpip mode

Bug: 8646772
Change-Id: If34c756bece903a0a452070bbc94ebc71d325bf6

11 years agoMerge "Add input/output JSON data for baseline comparison" into jb-mr2-dev
Chris Craik [Thu, 18 Apr 2013 00:32:07 +0000 (00:32 +0000)]
Merge "Add input/output JSON data for baseline comparison" into jb-mr2-dev

11 years agoAudioService: SCO audio backward compatibility
Eric Laurent [Sat, 13 Apr 2013 00:24:56 +0000 (17:24 -0700)]
AudioService: SCO audio backward compatibility

After commit 25fc29b3, AudioManager.startBluetoothSco()
does not use virtual voice call mode anymore when starting the
SCO audio connection to the headset.
To help backward compatibility, this change makes that virtual voice call
is used if the request comes from an application targeting a SDK version
before JB MR2. For applications targeted to JB MR2 and above a raw SCO
audio connection is established.

Bug 8157702

Change-Id: If1ded2fd99b7ed76d2435d95ee03659e78a7882a

11 years agoAdd a config resource to force HDMI rotation on some devices.
Jeff Brown [Thu, 18 Apr 2013 00:18:15 +0000 (17:18 -0700)]
Add a config resource to force HDMI rotation on some devices.

If the hardware composer HAL does not provide full support for
multiple displays, it may be necessary to force the HDMI rotation
when not docked.  (When docked, we can use the dock's orientation.)

This configuration is not expected to be used on newer devices
with the requisite HAL support and may be removed in the future.

Bug: 8511721
Change-Id: I1ff50f00ee7fe621aceff94bd938ecf6385c3f38

11 years agoImprove error handling for DRM errors reported by plugins
Jeff Tinker [Wed, 17 Apr 2013 21:24:40 +0000 (14:24 -0700)]
Improve error handling for DRM errors reported by plugins

Change-Id: I25df78f16379b32c54189949daa3ab9c91187375
related-to-bug: 8621516

11 years agoAdd CellInfoWcdma and related classes.
Wink Saville [Wed, 17 Apr 2013 23:40:17 +0000 (16:40 -0700)]
Add CellInfoWcdma and related classes.

Update javadoc's to define invalid values are Integer.MAX_VALUE.

Bug: 8622081
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13

11 years agoMerge "Add permission check for owner-info related LockSettings." into jb-mr2-dev
Jim Miller [Wed, 17 Apr 2013 22:47:06 +0000 (22:47 +0000)]
Merge "Add permission check for owner-info related LockSettings." into jb-mr2-dev

11 years agoAdd permission check for owner-info related LockSettings.
Jim Miller [Wed, 17 Apr 2013 22:23:55 +0000 (15:23 -0700)]
Add permission check for owner-info related LockSettings.

Fixes bug 8512972

Change-Id: I372ef892000e5de9075783f06b722e2911cfc90d

11 years agoMake MediaDrm APIs public
Jeff Tinker [Thu, 4 Apr 2013 01:11:33 +0000 (18:11 -0700)]
Make MediaDrm APIs public

bug: 8603279

Change-Id: I9fab2673867ad413a084933cee7239d13e8b7893

11 years agoMerge "Fixes for setClipBounds()" into jb-mr2-dev
Chet Haase [Wed, 17 Apr 2013 22:13:50 +0000 (22:13 +0000)]
Merge "Fixes for setClipBounds()" into jb-mr2-dev

11 years agoadd javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()
Mathias Agopian [Wed, 17 Apr 2013 22:04:47 +0000 (15:04 -0700)]
add javadoc for SurfaceView {unL|l}ockCanvas{AndPost}()

Bug: 8593591
Change-Id: I152281ddca8716aee97147cb1b3fb483ed46b053

11 years agoMerge "Fix message handling in RemoteControlClient" into jb-mr2-dev
Jean-Michel Trivi [Wed, 17 Apr 2013 21:09:43 +0000 (21:09 +0000)]
Merge "Fix message handling in RemoteControlClient" into jb-mr2-dev

11 years agoMerge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev
Adam Cohen [Wed, 17 Apr 2013 21:03:43 +0000 (21:03 +0000)]
Merge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev

11 years agoDO NOT MERGE Stripping some new widget API that is yet unused
Adam Cohen [Wed, 17 Apr 2013 20:48:17 +0000 (13:48 -0700)]
DO NOT MERGE Stripping some new widget API that is yet unused

Change-Id: I7a7156f30aa9105461908f66426950d13eb01408

11 years agoMerge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev
Jim Miller [Wed, 17 Apr 2013 20:39:58 +0000 (20:39 +0000)]
Merge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev

11 years agoMerge "Modify restrictions bundle per api council recommendations" into jb-mr2-dev
Amith Yamasani [Wed, 17 Apr 2013 18:26:49 +0000 (18:26 +0000)]
Merge "Modify restrictions bundle per api council recommendations" into jb-mr2-dev

11 years agoMerge "Fix issue #8032572: Android app permission help text "null"..." into jb-mr2-dev
Dianne Hackborn [Wed, 17 Apr 2013 18:21:04 +0000 (18:21 +0000)]
Merge "Fix issue #8032572: Android app permission help text "null"..." into jb-mr2-dev

11 years agoFix issue #8032572: Android app permission help text "null"...
Dianne Hackborn [Wed, 17 Apr 2013 18:18:10 +0000 (11:18 -0700)]
Fix issue #8032572: Android app permission help text "null"...

...for "Microphone / Record audio"

Change-Id: Ie839b055771950e1078fa66506a007203338cfb5

11 years agoMerge "Lengthen the AM timeout reading crash reports slightly" into jb-mr2-dev
Christopher Tate [Wed, 17 Apr 2013 18:08:18 +0000 (18:08 +0000)]
Merge "Lengthen the AM timeout reading crash reports slightly" into jb-mr2-dev

11 years agoModify restrictions bundle per api council recommendations
Amith Yamasani [Wed, 17 Apr 2013 01:24:51 +0000 (18:24 -0700)]
Modify restrictions bundle per api council recommendations

Use a Bundle for persisting and passing to the application, but use a
list to return data back from an application that's exposing restrictions.

Changed the xml reading/writing code to store the value type in the Bundle
so that it can be reproduced when reading. Earlier we were assuming only
String and String[].

Bug: 8633967

Change-Id: I523d5553728edcf28a1e9d432f490b4956f34215