53871 Commits

Author SHA1 Message Date
mike wakerly
2f9ad8b499 Add intent actions for new firmware events.
Change-Id: I8129b7812c0d551111f0c85eacc9535a441e5453
2011-06-27 18:46:31 -07:00
Mathias Agopian
9df32619f3 Merge "PermissionCache caches permission checks" 2011-06-27 18:44:02 -07:00
Jake Hamby
531b95f12c Merge "Fix crash while device is pairing / unpairing." 2011-06-27 18:38:27 -07:00
Brian Carlstrom
32d56ee70c Merge "Add KeyStoreTest.testGet" 2011-06-27 18:21:39 -07:00
Huahui Wu
3015516a46 Gets the URL that has a cert error and carrys it in SslError.
b/2689122 SSL error shows the wrong page when triggered by an image/javascript in the page.
This change receives the URL which has a cert error from webkit and carrys it in SslError.
so the Browser app can show the URL in the dialog boxes. Related CLs are:
   webkit: https://android-git.corp.google.com/g/#change,117817
   browser: https://android-git.corp.google.com/g/#change,117835

Change-Id: I65c3f038a48b6386fa93cb25a9ef70dbfb982c18
2011-06-27 18:14:54 -07:00
Jim Miller
2e4aa18884 Fix 4691563: Don't show lock before unlock screen
- Rename config_enableSlidingTabFirst to config_enableLockBeforeUnlockScreen and
default to 'false' on all devices.
- Use new larger handle asset.

Change-Id: I2537158b67642eb3f4c4a22a0bc388bf3022d408
2011-06-27 18:00:46 -07:00
Jaikumar Ganesh
c73dd732c9 Fix crash while device is pairing / unpairing.
When there are no paired devices, pairing a new device
will cause a crash since the profile proxies will be null.

Change-Id: Ie1a9fd198e46d7e9cc2ba1b2f3a806b3c709f568
2011-06-27 17:55:32 -07:00
Mathias Agopian
0dd593f223 PermissionCache caches permission checks
This is intended to absorb the cost of the IPC
to the permission controller.
Cached permission checks cost about 3us, while
full blown ones are two orders of magnitude slower.

CAVEAT: PermissionCache can only handle system
permissions safely for now, because the cache is
not purged upon global permission changes.

Change-Id: I8b8a5e71e191e3c01e8f792f253c379190eee62e
2011-06-27 17:42:15 -07:00
Brian Carlstrom
bef5e5aabc Add KeyStoreTest.testGet
Now that system user can read keystore, add KeyStoreTest.testGet and update other tests to use KeyStore.get

Change-Id: I364866d52c2ecf550ff26aadc6e85126318889fa
2011-06-27 17:22:02 -07:00
James Dong
abb04eec06 Merge "Add a testcase to test PNG files support for KenBurn effect." 2011-06-27 17:15:43 -07:00
Dianne Hackborn
d9fe0a1c88 am 229ff64b: am 351ddeb2: am 5db9ff97: Update final 13 API def.
* commit '229ff64bde1f8ffeb23a305178a7f6a57bffe1e5':
  Update final 13 API def.
2011-06-27 17:13:16 -07:00
Dianne Hackborn
229ff64bde am 351ddeb2: am 5db9ff97: Update final 13 API def.
* commit '351ddeb2da65fc020e80d77d80f08aa1dfd820d7':
  Update final 13 API def.
2011-06-27 17:11:15 -07:00
Dianne Hackborn
351ddeb2da am 5db9ff97: Update final 13 API def.
* commit '5db9ff97aa8f36f330f41f5ae42467795ef075b8':
  Update final 13 API def.
2011-06-27 17:07:29 -07:00
Jake Hamby
6a04258745 Merge "Don't enable Bluetooth when booting into airplane mode." 2011-06-27 16:45:50 -07:00
Jake Hamby
aa6bd940f0 Don't enable Bluetooth when booting into airplane mode.
When airplane mode is enabled and the phone is rebooted, Bluetooth
should not turn on. Previously the airplane mode setting was ignored
and only the Bluetooth enabled setting was used to determine whether
to enable Bluetooth at boot time. Now, both settings are checked.

Bug: 3404790
Change-Id: I5e3095a94e50825dd469addebef97a7c85041fca
2011-06-27 16:32:37 -07:00
Jean-Baptiste Queru
3111a317d3 Fix build - new current.txt
Change-Id: I1d7ad685768a3d030549067766485089513a73ab
2011-06-27 16:30:17 -07:00
Jamie Gennis
9fb5976367 SurfaceTexture: consume buffers after err checks
This change moves the point at which queued buffers get consumed to
after any error checks that could cause updateTexImage to fail.  This
way, if updateTexImage returns an error the buffer remains queued.
2011-06-27 15:45:40 -07:00
Jamie Gennis
bd5404d031 SurfaceTexture: change onFrameAvailable behavior
This change alters the conditions under which the onFrameAvailable
callback gets called by the C++ SurfaceTexture class.  The new behavior
is to call the callback whenever a frame gets queued that will be
visible to the buffer consumer.  This means that buffers queued in
synchronous mode always trigger the callback, as those buffers will
remain pending until they are consumed.  Buffers queued in asynchronous
mode will only trigger the callback if there was not previously an
unconsumed buffer pending.

The new behavior means that a consumer should perform a draw operation
exactly once for every onFrameAvailable call that it recieves.  This
change also modifies SurfaceFlinger and the SurfaceTexture JNI to
support of the new behavior.

Change-Id: I8b2c6e00961d3d58b11c6af50b555b6e4c5f5b40
2011-06-27 15:45:39 -07:00
Isaac Levy
b1ef292b3d Fixing null pointer b/4962091
Fixing watchdog service bug, adding some extra dump logs.

Change-Id: I03d94a46fade6974f21931803f87fdd065750612
2011-06-27 15:36:21 -07:00
Daisuke Miyakawa
3746f2d914 Use upper case country codes in Country.java
Previously external/libphonenumber accepted lower case
country codes (e.g. "us") but now it doesn't for performance reason.
Actually ISO 3166-1 doesn't allow lower cases, so we should not rely
on them.

Need to fix unit tests for PhoneNumberUtils, as it implicitly
relies on the previous behavior.

See also I3a3e6db84ed0d24290b1be19651fa9a82de4cc39

Bug: 4941319
Change-Id: If16f6531f274a0faf5e28724854409ca9b00a669
2011-06-27 15:20:46 -07:00
Brian Carlstrom
5106476bbf Merge "Moving ssl_certificate layout, resources, and helper code to SslCertificate Add IKeyChainService.deleteCaCertificate" 2011-06-27 15:15:29 -07:00
Kazuhiro Ondo
1e5c72c704 Data connection retry pattern could be broken by PDP sharing
If a DataConnection is pending re-connect alarm, the new request
from another ApnContext sharing the same DC could disrupt
the re-connection pattern currently engaged.

This patch is to ensure the new request for PDP sharing
scenario will not trigger another SETUP_DATA request if
reconnection alarm is set in AlarmManager.

Bug: 4901019
Change-Id: I98b0d9af8b58fb880efdbc0246009de5cb116a54
2011-06-27 15:12:21 -07:00
Dianne Hackborn
5db9ff97aa Update final 13 API def.
Change-Id: I90cb38f575dd1b92a3694bb5cd091f5d595cee11
2011-06-27 15:09:40 -07:00
Jake Hamby
da1fa1e42f Merge "Fix race condition in WakeLocks." 2011-06-27 14:54:24 -07:00
Iliyan Malchev
6d63726290 Merge "MemoryHeapBase: Save and binderize the offset" 2011-06-27 14:20:01 -07:00
Iliyan Malchev
72d6d650f3 Merge "CameraService: Decouple dequeue and lock" 2011-06-27 14:19:53 -07:00
Robert Ly
5a99645c38 am d1e78095: am 0711c86c: am 81cbc294: Merge "docs: fixing new superscript for rs" into honeycomb-mr2
* commit 'd1e78095452379e39a354c651d6c6cab351c52d5':
  docs: fixing new superscript for rs
2011-06-27 14:15:46 -07:00
Anirudh Dewani
08c32d54a8 am cf33a02b: am 3ba39ef2: am 1f82dc08: Merge "Typo in spinner tutorial." into honeycomb-mr2
* commit 'cf33a02bef19e1d0f11d119194c4f8439a06f1e2':
  Typo in spinner tutorial.
2011-06-27 14:15:37 -07:00
Dianne Hackborn
1fd0990bc5 am 06ca9b90: (-s ours) am fa5e3b65: am 2dafe771: Merge "DO NOT MERGE. Fix density compat mode." into honeycomb-mr2
* commit '06ca9b90e664235d79304a4611529c09256d060e':
  DO NOT MERGE.  Fix density compat mode.
2011-06-27 14:15:13 -07:00
Jean-Baptiste Queru
a2c8a7b573 am ec5039b3: am 99c070d8: am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
* commit 'ec5039b3720ee9b92fb2a2c6dd9f468d2dcd7172':
  Add WEBP to the list of Image formats that support Compression.
2011-06-27 14:15:01 -07:00
Jean-Baptiste Queru
2fdbb37f68 am 9f1ef6d5: am 7595e84d: (-s ours) am f458d5fd: Merge "Tweak for forward-compatibility"
* commit '9f1ef6d57bbf1ac524eff849c8976acb012b5687':
  Tweak for forward-compatibility
2011-06-27 14:14:57 -07:00
Wink Saville
bf731e7f90 am 7eff4bb3: am f49e4d3f: Merge "Temporary re-enabling iface name change handling on HO" into honeycomb-LTE
* commit '7eff4bb3f9c0cf0335dd1b2769bcb352b137dbaa':
  Temporary re-enabling iface name change handling on HO
2011-06-27 14:14:45 -07:00
Scott Main
0868f458cc am 7c58d671: am f169bae8: am f8d37ab6: Merge "docs: add emphasis to adding a search button in activity UI" into honeycomb-mr2
* commit '7c58d671d542f3a9923a9ea2e63b46005d81a445':
  docs: add emphasis to adding a search button in activity UI
2011-06-27 14:14:37 -07:00
Scott Main
4971c3c4a1 am 44b48a37: am db76388e: am 9a05cfe5: docs: update docs for new screen support attributes and qualifiers
* commit '44b48a377d47bb27b667ab87347f0a88ba3fba0b':
  docs: update docs for new screen support attributes and qualifiers
2011-06-27 14:14:26 -07:00
Bart Sears
e928373596 Merge "Update DroidSansEthiopic to ver 1.03" 2011-06-27 14:10:12 -07:00
Dave Santoro
d7e695876a Merge "Renamed INCLUDE_PROFILE param to ALLOW_PROFILE." 2011-06-27 13:52:00 -07:00
Anu Sundararajan
f24c4cd0f2 MemoryHeapBase: Save and binderize the offset
The offset that is used in the creation of the MemoryHeapBase must be saved, so
that it can be used to recreate the Heap when an IMemory object is passed
across process boundary through the binder.

Change-Id: Ie618fb5c0718e6711f55ed9235616fd801e648dc
Signed-off-by: Anu Sundararajan <sanuradha@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-27 13:48:51 -07:00
Sundar Raman
ed9bbf27ba CameraService: Decouple dequeue and lock
Decouple lockBuffer from dequeueBuffer. Add lock_buffer to preview_stream_ops,
so HALs will be fully in charge of managing buffers.

Change-Id: I7b53487d618bdf08ba904c5a0f41af462a7ca773
Signed-off-by: Iliyan Malchev <malchev@google.com>
2011-06-27 13:48:50 -07:00
James Dong
88f7194f6d Add a testcase to test PNG files support for KenBurn effect.
Change-Id: I1d0b3ff7b5aa21c25c141b440521e64b4a82043d
related-to-bug: 4861071
2011-06-27 13:42:55 -07:00
Chia-chi Yeh
3602153e32 Merge "KeyStore: fix test-keystore" 2011-06-27 13:14:13 -07:00
Mike J. Chen
04b9cafb32 Merge changes I0077e5e5,I42cbed69
* changes:
  Hookup interface status to other clients
  Revert "Revert "Propagate new link-status-change message to any NetworkManagementService""
2011-06-27 12:56:47 -07:00
Svetoslav Ganov
a20cdc06e5 Fixing the build
Change-Id: Ic3664e5cd812d5fe59c9cf2657a441ca76a61135
2011-06-27 12:45:30 -07:00
Jeff Tinker
d63d947d40 Fix for b/4165024: Serious Memory leak when playing a WV protected streaming video.
This change allows the WVM extractor to close and reopen when not in use which resolves
the issue with heap fragmentation between plays.

Change-Id: I160ee1e98aada2bfdd0818eeb6300ad50644fb75
2011-06-27 12:42:39 -07:00
Svetoslav Ganov
932e4e6139 Merge "AccessibilityInjectorTest did not restore the default key binsings." 2011-06-27 12:40:50 -07:00
Svetoslav Ganov
f2dd2dfb6c AccessibilityInjectorTest did not restore the default key binsings.
1. AccessibilityInjectorTest changes the key bindings and when done
   restores the defatult ones. The restoreation was not working.

bug:4905620

Change-Id: I812bad0b748637ded0ce69ace12517511f62f726
2011-06-27 12:38:35 -07:00
Brian Carlstrom
6da0033447 Moving ssl_certificate layout, resources, and helper code to SslCertificate
Add IKeyChainService.deleteCaCertificate

Change-Id: If42341bc732efcfe4f958c00cdd6c0fec11a3c75
2011-06-27 12:14:25 -07:00
Svetoslav Ganov
cf15bb6197 Merge "ArrayIndexOutOfBounds exception in TouchExplorer." 2011-06-27 12:07:27 -07:00
Svetoslav Ganov
51cccf0845 ArrayIndexOutOfBounds exception in TouchExplorer.
1. The explorer was injecting up/down touch events to
   click with the id of the last pointer that went up
   but the prototype i.e. last touch explore event may
   not contain this pointer. Since we click on the last
   touch explored location then using the action pointer
   index of that event is the right approach.

bug:4551506

Change-Id: I73428b09dc014417096a52e667f58768a2871dc8
2011-06-27 12:06:17 -07:00
Robert Ly
d1e7809545 am 0711c86c: am 81cbc294: Merge "docs: fixing new superscript for rs" into honeycomb-mr2
* commit '0711c86c3886fe869216965b868d30e9bb3abcea':
  docs: fixing new superscript for rs
2011-06-27 11:58:26 -07:00
Robert Ly
0711c86c38 am 81cbc294: Merge "docs: fixing new superscript for rs" into honeycomb-mr2
* commit '81cbc294ddb08c2bc08be9b2abbbcc7c19ec88d9':
  docs: fixing new superscript for rs
2011-06-27 11:49:30 -07:00