5081 Commits

Author SHA1 Message Date
Jamie Gennis
6e8a2dd3e6 Merge "Trace: unhide app tracing APIs" into jb-mr2-dev 2013-04-11 19:47:25 +00:00
Jaikumar Ganesh
339d051957 am 380043de: am 9a8df4dc: Add new sensor types.
* commit '380043deb0607262505baa2d3c8a46a8277697e5':
  Add new sensor types.
2013-04-11 10:56:11 -07:00
Andreas Huber
a57da0dc5a MediaExtractor.setDataSource(...) has always thrown IOExceptions from
within jni code, but failed to document this fact. No more.

Change-Id: If55980616e974637209dea2b7a28b2481b55cea4
related-to-bug: 8470755
2013-04-11 10:54:55 -07:00
Jaikumar Ganesh
9a8df4dcf9 Add new sensor types.
1. Add uncalibrated gyros and magnetic field sensor.
2. Change max number of events from 3 to 16.
3. Add new APIs for trigger sensors.

Change-Id: Ifac5c0024c8e5f88b721e5cd97ff26afaaa36717
2013-04-11 10:25:35 -07:00
Nick Kralevich
32eb5b1824 Optional <uses-permission> not yet supported.
Change-Id: Ieaa97a29db75161f35905ff340b2c525bbf50612
2013-04-11 10:20:09 -07:00
Ben Murdoch
924ac51ea6 Deprectate WebViewDatabase password methods.
Bug: 8593749
Change-Id: I3d87fa43731a275af95f00933a5439d17a16ae80
2013-04-11 13:51:59 +01:00
Matthew Xie
59df89f099 am 09e49980: am f8a67f4f: Merge "Make BluetoothGattServer.close() public" into jb-mr2-dev
* commit '09e49980df612785152f742edc96c1d3116dbe56':
  Make BluetoothGattServer.close() public
2013-04-10 23:13:52 -07:00
Andre Eisenbach
3b64f38a16 Make BluetoothGattServer.close() public
This functino is needed for applications to un-register from the
Bluetooth stack.
bug 8591003

Change-Id: Id05f592245d1d90791d34c3617aadac67bc6502c
2013-04-10 19:13:10 -07:00
Jamie Gennis
5800fc881e Trace: unhide app tracing APIs
Change-Id: I48316623fe0394d3fe77e9abca3f6dbf791d0c08
2013-04-10 17:50:32 -07:00
Jaikumar Ganesh
a934b7c99a am 7228e1ae: am 8ce470dd: GPS Hardware geofencing.
* commit '7228e1aeb9a2af8fad410749e2adc61266b2649a':
  GPS Hardware geofencing.
2013-04-10 15:38:24 -07:00
Jaikumar Ganesh
8ce470dd4b GPS Hardware geofencing.
Add support for doing geofencing in hardware.

Change-Id: I6d5015190e8d84e1f4beb1010ed977a71c1622d0
2013-04-10 15:25:07 -07:00
Kristian Monsen
0e0b2daa98 Fix for bug 8589670: Marking a not called WebChromeClient as deprecated.
This is just a documentation improvement, the method is not called anymore.

Change-Id: I6f704f7f1a5eef5048b7bf2c52c0589bc8e99839
2013-04-10 15:04:59 -07:00
Dianne Hackborn
ea13f6ff99 am a92e95e5: am 064fab54: Merge "Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats" into jb-mr2-dev
* commit 'a92e95e5d9c7e6a35541708a0a51ce9b54704b17':
  Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
2013-04-10 14:22:31 -07:00
Dianne Hackborn
2323dd8d1e Fix issue #7691456: adbd CPU usage identified as Bluetooth in battery stats
Bluetooth GID was wrong and pointless and dumb and now gone.

Change-Id: Ibde563ef0c10c6d316428e1e683b013005b934d4
2013-04-10 12:50:12 -07:00
Jason Sams
2c128082c6 am 84882711: am 808723f2: Merge "Cleanup Allocation and add 3D copies." into jb-mr2-dev
* commit '84882711fcb7f54bfa4b0f6f28b70bbe35e24487':
  Cleanup Allocation and add 3D copies.
2013-04-09 21:27:49 -07:00
Jason Sams
b05d689653 Cleanup Allocation and add 3D copies.
bug 8567058

Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85
2013-04-09 15:59:24 -07:00
Chiao Cheng
24fafc4cf5 am 3e41c7c9: am 2355d131: Adding public api support for finding contact changes.
* commit '3e41c7c9baf58f49f06aec1bb9c3dcaf614e616e':
  Adding public api  support for finding contact changes.
2013-04-09 14:26:06 -07:00
Jonathan Dixon
9a1d8c544a am a9b33346: am f38b070b: Merge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev
* commit 'a9b33346885a60aa1e8f36dded20fe0ca4c06882':
  Hide PlusinsEnabled/PluginsPath methods
2013-04-09 14:25:56 -07:00
Chiao Cheng
2355d13154 Adding public api support for finding contact changes.
DeletedContacts holds a log of deleted contacts which will be pruned
after a certain amount of time.

A timestamp field has been added to contacts so clients can query
for changes.

Bug: 8182147
Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac
2013-04-09 14:12:31 -07:00
Jonathan Dixon
f38b070b31 Merge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev 2013-04-09 20:09:29 +00:00
Jonathan Dixon
0bf4781ece Hide PlusinsEnabled/PluginsPath methods
These have been deprecated since API level 8 / 9. Plugins are deprecated
overall now, so there's no requirement for apps to call these any more.

Change-Id: I1a27557644238477df00979f9badc9aab0a526c6
2013-04-08 16:37:38 -07:00
Yorke Lee
8f6ed23997 am 855841cc: am cf837a6e: Merge "Update DataUsageStatColumns" into jb-mr2-dev
* commit '855841cce47bddf5ba758112fcf355a160c7e5f1':
  Update DataUsageStatColumns
2013-04-08 14:28:50 -07:00
Yorke Lee
cf837a6e90 Merge "Update DataUsageStatColumns" into jb-mr2-dev 2013-04-08 21:22:06 +00:00
Chet Haase
b7045d2fb9 am cbfce445: am edf6f4b4: Make adding views specific to a ViewGroup\'s overlay
* commit 'cbfce445c500a12fee63e526251471839f44e26b':
  Make adding views specific to a ViewGroup's overlay
2013-04-08 07:39:17 -07:00
Chet Haase
edf6f4b49f 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
2013-04-08 07:30:12 -07:00
Kenny Root
99db7379d0 am f1b2c348: am 8b51475c: Revert "Remove AndroidKeyStore from API"
* commit 'f1b2c34819ff65ba14af5eb4eeba06196ee978d3':
  Revert "Remove AndroidKeyStore from API"
2013-04-06 10:13:11 -07:00
Kenny Root
8b51475c97 Revert "Remove AndroidKeyStore from API"
This reverts commit ce24985ad636c38b6ee01ec9cdecfb038bfeaeb6.

Change-Id: I02d6492c8db869619694c7209bb37522a7ec5a29
2013-04-06 10:05:31 -07:00
Adam Powell
d7fd69c045 am dddd59ff: am e0e2f4fd: Fix accessibility in action bars and add extra customization
* commit 'dddd59ff63c3121b53e790bb20b5b5d735036c30':
  Fix accessibility in action bars and add extra customization
2013-04-05 16:57:56 -07:00
Adam Powell
e0e2f4fd3a 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
2013-04-05 16:46:22 -07:00
Tim Murray
f736239c72 am e7abcc7d: am bdc87d50: Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev
* commit 'e7abcc7d49231435607847691f1b1abc5d49c781':
  Remove all public mention of RS graphics from docs.
2013-04-05 15:58:06 -07:00
Tim Murray
bdc87d50db Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev 2013-04-05 22:47:29 +00:00
Michael Wright
8775af6319 am aaddfacf: am bdb706e4: Merge "Pipe through device resolution information" into jb-mr2-dev
* commit 'aaddfacf962655d82f3ad64723ea408f949a2b79':
  Pipe through device resolution information
2013-04-05 15:46:40 -07:00
Tim Murray
a90842283e Remove all public mention of RS graphics from docs.
Change-Id: Ie43b5fb0353149aa9af433b6f5c5141349388ea0
2013-04-05 15:17:54 -07:00
Michael Wright
bdb706e48d Merge "Pipe through device resolution information" into jb-mr2-dev 2013-04-05 21:43:31 +00:00
John Spurlock
8740cb1da6 resolved conflicts for merge of 29211d3a to master
Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
2013-04-05 16:18:59 -04:00
Daniel Sandler
5feceebb89 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
2013-04-05 19:54:44 +00:00
Michael Wright
c6091c64c9 Pipe through device resolution information
Bug: 8424494
Change-Id: Iafeeee0d5cd29342c1cdc86b9616222aaa5d1b94
2013-04-04 18:10:37 -07:00
Chet Haase
b38af997f6 am 98f69881: am 77d94957: Merge "Adding small animation features" into jb-mr2-dev
* commit '98f69881ce28fef261da45c7fbd7ee79e9b8d637':
  Adding small animation features
2013-04-04 11:33:56 -07:00
Chet Haase
b989502e5c 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
2013-04-04 11:00:07 -07:00
Matthew Xie
a20d58182e am 3f84b7b1: am 26cd4d65: Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev
* commit '3f84b7b17df5e4b020fd67351efdb30635372e69':
  Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt
2013-04-03 20:23:54 -07:00
Matthew Xie
26cd4d658f Merge "Change BluetoothGattCallback methods argument from BluetoothDevice to BluetoothGatt" into jb-mr2-dev 2013-04-04 03:16:40 +00:00
Matthew Xie
33ec9840c7 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
2013-04-03 18:20:13 -07:00
Jeff Sharkey
5c1994eeff am 04e740a6: am 0f8e8b03: Merge "Warn when exposing file:// Uris beyond a process." into jb-mr2-dev
* commit '04e740a65e2399c4a4b211408bd84f2d545d9f4a':
  Warn when exposing file:// Uris beyond a process.
2013-04-03 16:33:52 -07:00
Jeff Sharkey
a14acd20b8 Warn when exposing file:// Uris beyond a process.
Check for file:// Uris inside Intents, ClipData, Notifications and
RemoteViews when StrictMode option is enabled.

Also introduces Intent.prepareToLeaveProcess() to uniformly handle
Intents about to leave an app process.

Bug: 8529070
Change-Id: I8efb43877cbc5f21eb029fc6492b3ee1415059ef
2013-04-03 11:45:44 -07:00
Robert Greenwalt
dcfb206dc4 am a51a6381: am 279e22bd: Merge "make new API to retrieve group identifier level1" into jb-mr2-dev
* commit 'a51a638184a29ec0e0251675c1b9737721ac2b65':
  make new API to retrieve group identifier level1
2013-04-02 12:25:38 -07:00
Elliott Hughes
435d11205a am 11139563: am dbca824d: Merge "Add DateFormat.getBestDateTimePattern." into jb-mr2-dev
* commit '1113956349e25bd081590842ec6f6b300765d786':
  Add DateFormat.getBestDateTimePattern.
2013-04-02 12:25:35 -07:00
Robert Greenwalt
279e22bd35 Merge "make new API to retrieve group identifier level1" into jb-mr2-dev 2013-04-02 19:17:23 +00:00
Elliott Hughes
dbca824dc0 Merge "Add DateFormat.getBestDateTimePattern." into jb-mr2-dev 2013-04-02 19:16:17 +00:00
Kenny Root
31f8b2d2f9 am d62554ea: am a3598346: Merge "Add API to query KeyChain algorithm support, pt. 2" into jb-mr2-dev
* commit 'd62554eaebd391cd6e69c262fbb0be7bcf0a679b':
  Add API to query KeyChain algorithm support, pt. 2
2013-04-02 12:11:51 -07:00
Elliott Hughes
031b581af2 Add DateFormat.getBestDateTimePattern.
Bug: 8283323
Change-Id: Id8d94456b93555d799229b7dd88fcbcf5c6bf7ff
2013-04-02 12:00:47 -07:00