103823 Commits

Author SHA1 Message Date
Robert Greenwalt
5ec50ebd9a am b7e6a443: Merge "Routing workaround." into jb-mr2-dev
* commit 'b7e6a4433bda6c59540ffc51061aff5cc3d10166':
  Routing workaround.
2013-04-11 16:29:38 -07:00
Robert Greenwalt
b7e6a4433b Merge "Routing workaround." into jb-mr2-dev 2013-04-11 23:27:20 +00:00
Tim Murray
7c4caadb93 Add support for synchronous get().
bug 8599910

Change-Id: I0e7c52350cc1abb14a5ed59bb92e8e0346209d53
2013-04-11 16:25:29 -07:00
Fabrice Di Meglio
cd5af79bf9 Fix bug #8599905 Add simple BidiFormatter getInstance() helper API
Change-Id: I85ff074904025c724409ccc52bc82a1fd23803de
2013-04-11 16:25:21 -07:00
Christopher Tate
9a413f8ffa Document the behavior of 'null' values in SharedPreferences
Bug 7892422

Change-Id: Ib898fd0921d57871d4caecb9042c479271c7ad60
2013-04-11 16:01:18 -07:00
Svetoslav
c4fccd183f Adding APIs for an accessibility service to intercept key events.
Now that we have gestures which are detected by the system and
interpreted by an accessibility service, there is an inconsistent
behavior between using the gestures and the keyboard. Some devices
have both. Therefore, an accessibility service should be able to
interpret keys in addition to gestures to provide consistent user
experience. Now an accessibility service can expose shortcuts for
each gestural action.

This change adds APIs for an accessibility service to observe and
intercept at will key events before they are dispatched to the
rest of the system. The service can return true or false from its
onKeyEvent to either consume the event or to let it be delivered
to the rest of the system. However, the service will *not* be
able to inject key events or modify the observed ones.

Previous ideas of allowing the service to say it "tracks" the event
so the latter is not delivered to the system until a subsequent
event is either "handled" or "not handled" will not work. If the
service tracks a key but no other key is pressed essentially this
key is not delivered to the app and at potentially much later point
this stashed event will be delivered in maybe a completely different
context.The correct way of implementing shortcuts is a combination
of modifier keys plus some other key/key sequence. Key events already
contain information about which modifier keys are down as well as
the service can track them as well.

bug:8088812

Change-Id: I81ba9a7de9f19ca6662661f27fdc852323e38c00
2013-04-11 16:00:08 -07:00
Irfan Sheriff
08b1ad435f Fix WPS handling when already connected
Dont enable networks too quickly

Bug: 8558120
Change-Id: Ibee1ae393d56e532227505d0393a9a337f72f62f
2013-04-11 15:55:31 -07:00
Jim Miller
cda712266f am eec68e55: Merge "Fix keyguard pattern invalidate bug" into jb-mr2-dev
* commit 'eec68e55cc6661837030c8ecb4386d05b1d31685':
  Fix keyguard pattern invalidate bug
2013-04-11 15:41:03 -07:00
Jim Miller
cce961c134 am 22626107: Merge "Fix bug where transport shows all the time in keyguard" into jb-mr2-dev
* commit '22626107841e928d472e8258c0d2cefccf9c9b81':
  Fix bug where transport shows all the time in keyguard
2013-04-11 15:40:59 -07:00
Jim Miller
eec68e55cc Merge "Fix keyguard pattern invalidate bug" into jb-mr2-dev 2013-04-11 22:37:59 +00:00
Jim Miller
2262610784 Merge "Fix bug where transport shows all the time in keyguard" into jb-mr2-dev 2013-04-11 22:37:34 +00:00
Jeff Sharkey
ce6d3ed612 am 6f0a36e6: Merge "Enforce READ_EXTERNAL_STORAGE on emulator." into jb-mr2-dev
* commit '6f0a36e691fd4c434a80631e4dda212d35745d83':
  Enforce READ_EXTERNAL_STORAGE on emulator.
2013-04-11 15:19:38 -07:00
Jeff Sharkey
6f0a36e691 Merge "Enforce READ_EXTERNAL_STORAGE on emulator." into jb-mr2-dev 2013-04-11 22:16:51 +00:00
Irfan Sheriff
51e4ece385 Fix proxy and IP settings
- Network disconnect was clobbering IP and proxy settings.
- Track settings correctly in WifiConfigStore

Bug: 7299216
Change-Id: I30e5b68e59e30f7b99a71e8d7cf18750c784cec7
2013-04-11 15:12:20 -07:00
Benjamin Poiesz
b3ebc306c2 am fc9f07dd: Merge "Adding LocalePicker support for the zz_ZZ pseudolocale" into jb-mr2-dev
* commit 'fc9f07dd4b6a900606c51cb67bedfbfe9de6e6d5':
  Adding LocalePicker support for the zz_ZZ pseudolocale
2013-04-11 15:06:30 -07:00
Benjamin Poiesz
fc9f07dd4b Merge "Adding LocalePicker support for the zz_ZZ pseudolocale" into jb-mr2-dev 2013-04-11 22:04:01 +00:00
Robert Greenwalt
63582a790e am ccbe7e6f: Merge "Use CONNECTIVITY_INTERNAL for global proxy" into jb-mr2-dev
* commit 'ccbe7e6ff16fe1afc08f0b8601d83481ba5aee3a':
  Use CONNECTIVITY_INTERNAL for global proxy
2013-04-11 14:16:28 -07:00
Robert Greenwalt
ccbe7e6ff1 Merge "Use CONNECTIVITY_INTERNAL for global proxy" into jb-mr2-dev 2013-04-11 21:11:44 +00:00
Romain Guy
cf51a41998 Introduce PixelBuffer API to enable PBOs
PBOs (Pixel Buffer Objects) can be used on OpenGL ES 3.0 to perform
asynchronous texture uploads to free up the CPU. This change does not
enable the use of PBOs unless a specific property is set (Adreno drivers
have issues with PBOs at the moment, Mali drivers work just fine.)

This change also cleans up Font/FontRenderer a little bit and improves
performance of drop shadows generations by using memcpy() instead of
a manual byte-by-byte copy.

On GL ES 2.0 devices, or when PBOs are disabled, a PixelBuffer instance
behaves like a simple byte array. The extra APIs introduced for PBOs
(map/unmap and bind/unbind) are pretty much no-ops for CPU pixel
buffers and won't introduce any significant overhead.

This change also fixes a bug with text drop shadows: if the drop
shadow is larger than the max texture size, the renderer would leave
the GL context in a bad state and generate 0x501 errors. This change
simply skips drop shadows if they are too large.

Change-Id: I2700aadb0c6093431dc5dee3d587d689190c4e23
2013-04-11 14:07:34 -07:00
Benjamin Poiesz
39f96f95c3 Adding LocalePicker support for the zz_ZZ pseudolocale
Bug #8556677

Change-Id: I47244765b240f1ba66eadbef4ac712cf4367566e
2013-04-11 13:49:54 -07:00
Fabrice Di Meglio
dc25d25333 More fix for bug #8159072 Spinner widget should be RTL'ized
- fix DrawableContainerState.getChangingConfigurations() to take care about its children
- make Resources.verifyPreloadConfig() return false when the changing configuration
contains layout direction bits (this is when a Drawable is having different version
for LTR and RTL layout directions)
- use constant state instead of the resource type value for checking if we can
preload the drawable
- fix typo

Change-Id: Idd64caf0fbe0f5cfd5ffe09343e84bafa9446ea5
2013-04-11 13:38:57 -07:00
Nick Kralevich
c5931edb4c am c65e4633: Merge "Optional <uses-permission> not yet supported." into jb-mr2-dev
* commit 'c65e463356e9c8b646e80d0bfb6cfc76a0a1b426':
  Optional <uses-permission> not yet supported.
2013-04-11 13:01:27 -07:00
Nick Kralevich
c65e463356 Merge "Optional <uses-permission> not yet supported." into jb-mr2-dev 2013-04-11 19:56:55 +00:00
Jamie Gennis
8a675b9aca am 6e8a2dd3: Merge "Trace: unhide app tracing APIs" into jb-mr2-dev
* commit '6e8a2dd3e66e65008a70fc09f6532b231d9b5f27':
  Trace: unhide app tracing APIs
2013-04-11 12:50:10 -07:00
Jamie Gennis
6e8a2dd3e6 Merge "Trace: unhide app tracing APIs" into jb-mr2-dev 2013-04-11 19:47:25 +00:00
Scott Main
2f8caf6a74 am dac80f63: Merge "add api level 18 to javadoc \'since\' tags" into jb-mr2-dev
* commit 'dac80f633977308ec87cca1dea802e81d0fb75ad':
  add api level 18 to javadoc 'since' tags
2013-04-11 12:03:54 -07:00
Scott Main
dac80f6339 Merge "add api level 18 to javadoc 'since' tags" into jb-mr2-dev 2013-04-11 19:01:01 +00:00
Scott Main
0b234469bf am 873a39cd: am 6ca3484c: am 430e0c77: am f24a3798: am d17356b0: am f2f5b6ef: delete orphaned/redirected files
* commit '873a39cd3cc9f2319819cb94bc80a0e15a6d565b':
  delete orphaned/redirected files
2013-04-11 11:53:14 -07:00
Scott Main
873a39cd3c am 6ca3484c: am 430e0c77: am f24a3798: am d17356b0: am f2f5b6ef: delete orphaned/redirected files
* commit '6ca3484c3fb8ffd78bc67e2ded7687b11ec76b5e':
  delete orphaned/redirected files
2013-04-11 11:47:46 -07:00
Scott Main
6ca3484c3f am 430e0c77: am f24a3798: am d17356b0: am f2f5b6ef: delete orphaned/redirected files
* commit '430e0c77aae517bfe45700a81251864723719827':
  delete orphaned/redirected files
2013-04-11 11:45:25 -07:00
Scott Main
430e0c77aa am f24a3798: am d17356b0: am f2f5b6ef: delete orphaned/redirected files
* commit 'f24a3798781719e99ce45373942f4199e748d59d':
  delete orphaned/redirected files
2013-04-11 11:42:12 -07:00
Scott Main
f24a379878 am d17356b0: am f2f5b6ef: delete orphaned/redirected files
* commit 'd17356b0e23cf79eb1e0dd2f2fadbe4a7f56e886':
  delete orphaned/redirected files
2013-04-11 11:39:43 -07:00
Scott Main
0d9e45a24e add api level 18 to javadoc 'since' tags
Change-Id: Iea2e13ef2fad47d6a19d380b5655aeeda0414930
2013-04-11 11:37:29 -07:00
Scott Main
d17356b0e2 am f2f5b6ef: delete orphaned/redirected files
* commit 'f2f5b6ef987e30919907cf5417fb2b7cac9e2256':
  delete orphaned/redirected files
2013-04-11 11:37:28 -07:00
Andreas Huber
7cd281c332 Document that MediaPlayer.getDuration() returns an invalid value (-1)
if no duration information was available.

Change-Id: If064627cca7915f4562b6d61bfd4ceb9a3c9390c
related-to-bug: 8596285
2013-04-11 11:09:06 -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
ea4f556f70 am 651f99cb: Merge "Sensor values changes." into jb-mr2-dev
* commit '651f99cb5588ccd313e2e532a6b9ccf9d679ff44':
  Sensor values changes.
2013-04-11 10:53:23 -07:00
Jaikumar Ganesh
efda6203cd am 28327210: Merge "Add new sensor types." into jb-mr2-dev
* commit '283272103bb6e0913c51c6b5c1de0f39608dd234':
  Add new sensor types.
2013-04-11 10:53:21 -07:00
Jaikumar Ganesh
380043deb0 am 9a8df4dc: Add new sensor types.
* commit '9a8df4dcf9f83c1cf0cd8dedeb51d1ff8a52a2b5':
  Add new sensor types.
2013-04-11 10:53:18 -07:00
Jaikumar Ganesh
651f99cb55 Merge "Sensor values changes." into jb-mr2-dev 2013-04-11 17:51:25 +00:00
Jaikumar Ganesh
283272103b Merge "Add new sensor types." into jb-mr2-dev 2013-04-11 17:51:00 +00:00
Jaikumar Ganesh
6d0c1d78f1 Sensor values changes.
1. Remove Sensor Event Pool.
2. Allocate fixed array values for each Sensor added.
   - Needed for backward compatibility.
3. Use SDK checks for backward compatibility for
   rotation vector.

b/8165631

Change-Id: I2d2cf10d3460478ed7af8e6188343f4bb033503c
2013-04-11 10:25:35 -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
The Android Open Source Project
8111f049a1 Reconcile with jb-mr2-release - do not merge
Change-Id: Ifb42e43150519a7abeb6f70ec4ae34f5f8a35220
2013-04-11 07:45:07 -07:00
The Android Automerger
8f38062b98 merge in jb-mr2-release history after reset to jb-mr2-dev 2013-04-11 05:55:34 -07:00
Ben Murdoch
924ac51ea6 Deprectate WebViewDatabase password methods.
Bug: 8593749
Change-Id: I3d87fa43731a275af95f00933a5439d17a16ae80
2013-04-11 13:51:59 +01:00
Kenny Root
a3788b00bb keystore: Add flag for blobs to be unencrypted
In order to let apps use keystore more productively, make the blob
encryption optional. As more hardware-assisted keystores (i.e., hardware
that has a Keymaster HAL) come around, encrypting blobs start to make
less sense since the thing it's encrypting is usually a token and not
any raw key material.

Bug: 8122243
Change-Id: If9af0d992d68edec006e630c687df3d03a7c9608
2013-04-10 23:36:13 -07:00
Matthew Xie
09e49980df am f8a67f4f: Merge "Make BluetoothGattServer.close() public" into jb-mr2-dev
* commit 'f8a67f4f5dd4c5499a6e7148331f0286e31203ec':
  Make BluetoothGattServer.close() public
2013-04-10 23:09:41 -07:00
Matthew Xie
f8a67f4f5d Merge "Make BluetoothGattServer.close() public" into jb-mr2-dev 2013-04-11 06:07:33 +00:00