2551 Commits

Author SHA1 Message Date
Dmitri Plotnikov
ceaafa5f1f Adding a new type: aggregation_exception. 2009-06-03 10:47:35 -07:00
Android (Google) Code Review
23306f6098 Merge change 3041
* changes:
  Remove obsolete flags from WebViewCore and WebView
2009-06-03 10:29:43 -07:00
Android (Google) Code Review
3ddc43945c Merge change 2969
* changes:
  Implement and expose SCO socket support in BluetoothSocket.java.
2009-06-03 10:11:29 -07:00
Leon Scroggins
82aa2f5eec Remove obsolete flags from WebViewCore and WebView
Remove NO_FOCUS_CHANGE_BLOCK and BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP, which were
part of SET_FINAL_FOCUS (which is no longer used) from WebViewCore.  In WebView,
do not pass BLOCK_FOCUS_CHANGE_UNTIL_KEY_UP with SET_MOVE_MOUSE, since the
receiver does not care about it.
2009-06-03 13:01:32 -04:00
Cary Clark
2f1d60cd55 remove unused text parameters from WebView
The additional parameters are no longer used.
2009-06-03 12:25:34 -04:00
Derek Sollenberger
2e5c150e74 Centralized debug flags and enabled more granular control of debug settings. 2009-06-03 12:02:59 -04:00
Android (Google) Code Review
93e50888fe Merge change 2941
* changes:
  make FEATURE_OPENGL public (but hidden for now) so we can test with it
2009-06-03 06:55:19 -07:00
Bjorn Bringert
868443a947 am 33a22dc9: Close icon input stream in SuggestionsAdapter.
Merge commit '33a22dc9c84ef12006b0c12f6d169d2a74c15284'

* commit '33a22dc9c84ef12006b0c12f6d169d2a74c15284':
  Close icon input stream in SuggestionsAdapter.
2009-06-03 05:04:09 -07:00
Bjorn Bringert
33a22dc9c8 Close icon input stream in SuggestionsAdapter.
Before, SuggestionsAdapter would not close input streams after
reading icons from them. This leaks file descriptors and,
in the case of MemoryFiles, virtual address space.
2009-06-03 13:01:24 +01:00
Bjorn Bringert
b15a5348e6 am c1823701: Handle EOF correctly in MemoryFile input stream.
Merge commit 'c1823701cc76790494fb622fe58f0942236cd7d0'

* commit 'c1823701cc76790494fb622fe58f0942236cd7d0':
  Handle EOF correctly in MemoryFile input stream.
2009-06-03 04:56:52 -07:00
Bjorn Bringert
c0cbfda0fe am 963cd006: Allow creating AssetFileDescriptors for MemoryFiles.
Merge commit '963cd006c45716b034f656bf7e7179e6476f7e4d'

* commit '963cd006c45716b034f656bf7e7179e6476f7e4d':
  Allow creating AssetFileDescriptors for MemoryFiles.
2009-06-03 04:56:49 -07:00
Bjorn Bringert
c1823701cc Handle EOF correctly in MemoryFile input stream.
Before, the variants of MemoryFile.MemoryInputStream.read() would throw
IOException or  IndexOutOfBoundsException if EOF was encountered
before the requested number of bytes was read. This violates
the contract of InputStream.read().

This patch makes read() return the number of bytes available, if any.
If already at EOF, -1 is returned. The patch also adds new tests,
which checks cases where MemoryFile.MemoryInputStream.read()
should throw IndexOutOfBoundsException or return -1. several of these
tests failed with the old code and pass now.

This fixes http://b/issue?id=1881894
2009-06-03 12:53:42 +01:00
Bjorn Bringert
963cd006c4 Allow creating AssetFileDescriptors for MemoryFiles.
This allows content providers to use in-memory data to implement
ContentProvider.openAssetFile(), instead of just normal files
and sockets as before.

To test cross-process use of AssetFileDescriptors for MemoryFiles,
a test content provider and a client for it are added to
AndroidTests.

Fixes http://b/issue?id=1871731
2009-06-03 12:53:42 +01:00
Satish Sampath
ae8c5b868f am 8dbe612d: Adding internal method replacePreferredActivity.
Merge commit '8dbe612dc60526d635e57257b58627b33a099678'

* commit '8dbe612dc60526d635e57257b58627b33a099678':
  Adding internal method replacePreferredActivity.
2009-06-03 00:05:36 -07:00
Satish Sampath
8dbe612dc6 Adding internal method replacePreferredActivity.
This was required because we need a way to set the preferred activity for a
particular intent filter based on user selection (in our case the
ACTION_WEB_SEARCH intent filter for selecting the preferred search engine from
the list of available search engines providers). The current
addPreferredActivity call was not sufficient since it leaves the existing
preferred activities in the list and does not remove them, which this call
does.
2009-06-03 07:54:42 +01:00
Android (Google) Code Review
9081cd5778 am 5f784df5: Merge change 3011 into donut
Merge commit '5f784df5680e07f6cbc5d929560dfadc0e22db3b'

* commit '5f784df5680e07f6cbc5d929560dfadc0e22db3b':
  simplify this test
2009-06-02 22:56:05 -07:00
Android (Google) Code Review
5f784df568 Merge change 3011 into donut
* changes:
  simplify this test
2009-06-02 22:54:04 -07:00
Romain Guy
e52b3659ce am 9af0b4f7: Add new listener to GestureOverlayView. This listener fires whenever the overlay thinks the user is starting a new gesture. This allows Home to snap the workspace back to its original position during a gesture operation.
Merge commit '9af0b4f7be14f2b3ed0ecc843c57ea47ec288e55'

* commit '9af0b4f7be14f2b3ed0ecc843c57ea47ec288e55':
  Add new listener to GestureOverlayView. This listener fires whenever the overlay thinks the user is starting a new gesture. This allows Home to snap the workspace back to its original position during a gesture operation.
2009-06-02 22:48:36 -07:00
Romain Guy
9af0b4f7be Add new listener to GestureOverlayView. This listener fires whenever the overlay thinks the user is starting a new gesture. This allows Home to snap the workspace back to its original position during a gesture operation. 2009-06-02 21:59:42 -07:00
Mathias Agopian
de15ddc86c simplify this test 2009-06-02 18:35:48 -07:00
Android (Google) Code Review
ab304022af am 97c2fdfc: Merge change 2957 into donut
Merge commit '97c2fdfc2e1cb4f51c624dd8e30e6bdb63ea21be'

* commit '97c2fdfc2e1cb4f51c624dd8e30e6bdb63ea21be':
  Allow response payload on RIL_REQUEST error
2009-06-02 18:21:53 -07:00
Android (Google) Code Review
97c2fdfc2e Merge change 2957 into donut
* changes:
  Allow response payload on RIL_REQUEST error
2009-06-02 18:19:29 -07:00
Android (Google) Code Review
367152c8f4 am 2c159ec0: Merge change 2971 into donut
Merge commit '2c159ec05b8fc52166e22d7c4f49cf43d10b487b'

* commit '2c159ec05b8fc52166e22d7c4f49cf43d10b487b':
  Corrected the name of the native library the SynthProxy class loads (libttssynthproxy instead of libsynthproxy) to match the lib name from frameworks/base/tts/jni/Android.mk.
2009-06-02 17:23:52 -07:00
johnwang
03228fa8f9 Allow response payload on RIL_REQUEST error
Handle response payload while RIL_REQUEST returns error.

	modified:   gsm/GsmServiceStateTracker.java
2009-06-02 17:23:08 -07:00
Android (Google) Code Review
2c159ec05b Merge change 2971 into donut
* changes:
  Corrected the name of the native library the SynthProxy class loads (libttssynthproxy instead of libsynthproxy) to match the lib name from frameworks/base/tts/jni/Android.mk.
2009-06-02 17:22:18 -07:00
Android (Google) Code Review
cabee5b864 am 7322c96c: Merge change 2967 into donut
Merge commit '7322c96cc0c2524d399fb43fb406fb6324a795c8'

* commit '7322c96cc0c2524d399fb43fb406fb6324a795c8':
  Fixed issue where code for extracting scripts was eclipsed by runTest method.
2009-06-02 17:03:28 -07:00
Android (Google) Code Review
7322c96cc0 Merge change 2967 into donut
* changes:
  Fixed issue where code for extracting scripts was eclipsed by runTest method.
2009-06-02 16:42:42 -07:00
Nick Pelly
6a669fac38 Implement and expose SCO socket support in BluetoothSocket.java.
Implement L2CAP socket support, but do not expose it (untested).

NEXT: Switch to Builder style constructor instead of factory method.
2009-06-02 16:05:09 -07:00
Jean-Michel Trivi
1f4b92a2d6 Corrected the name of the native library the SynthProxy class loads (libttssynthproxy instead of libsynthproxy) to match the lib name from frameworks/base/tts/jni/Android.mk. 2009-06-02 16:02:31 -07:00
Guang Zhu
3dfd0e131e Fixed issue where code for extracting scripts was eclipsed by runTest method. 2009-06-02 15:42:48 -07:00
Android (Google) Code Review
bb09b2e554 am 1a21de56: Merge change 2961 into donut
Merge commit '1a21de56b9e3e69413ee6addc0e776b40f79782e'

* commit '1a21de56b9e3e69413ee6addc0e776b40f79782e':
  Addressed comments of change 2515 for the TtsService class:
2009-06-02 15:37:23 -07:00
Android (Google) Code Review
1a21de56b9 Merge change 2961 into donut
* changes:
  Addressed comments of change 2515 for the TtsService class:  - made the SpeechItem and SoundResource inner classes static,  - prefixed the TtsService member variables by 'm',  - changed indentation from 2 to 4 characters.
2009-06-02 15:35:46 -07:00
Android (Google) Code Review
b716ab3755 am 432900bf: Merge change 2962 into donut
Merge commit '432900bffb816f56f5f8058c90fed7731df46e23'

* commit '432900bffb816f56f5f8058c90fed7731df46e23':
  Fixes #1890914.
2009-06-02 15:18:31 -07:00
Android (Google) Code Review
432900bffb Merge change 2962 into donut
* changes:
  Fixes #1890914.
2009-06-02 15:16:34 -07:00
Romain Guy
ce16d787bd Fixes #1890914.
Bright theme's background color should be #fff9f9f9 instead of pure white (#ffffffff).
2009-06-02 15:15:12 -07:00
Jean-Michel Trivi
78ebbabfe1 Addressed comments of change 2515 for the TtsService class:
- made the SpeechItem and SoundResource inner classes static,
 - prefixed the TtsService member variables by 'm',
 - changed indentation from 2 to 4 characters.
2009-06-02 15:09:51 -07:00
Doug Kramer
60a42866d1 am b42e1ff6: am b33940ab: AI 149494: Minor improvements to wording in design tips for missing activity and notifications See latest document at: http://doog:9000/guide/practices/ui_guidelines/activity_task_design.html
Merge commit 'b42e1ff65ae44a0873959c5defe3ba4826109490'

* commit 'b42e1ff65ae44a0873959c5defe3ba4826109490':
  AI 149494: Minor improvements to wording in design tips for missing activity and notifications
2009-06-02 14:37:43 -07:00
Dmitri Plotnikov
c926054072 Consolidating data needed for contact aggregator into the data1 and data2 fields.
The aggregator will then only read data1 and
data2 and do the matching on those (taking mime type into account, of course).
2009-06-02 14:11:01 -07:00
Doug Kramer
b42e1ff65a am b33940ab: AI 149494: Minor improvements to wording in design tips for missing activity and notifications See latest document at: http://doog:9000/guide/practices/ui_guidelines/activity_task_design.html
Merge commit 'b33940abca9d43891575f58a1107c8ec247afed1' into donut

* commit 'b33940abca9d43891575f58a1107c8ec247afed1':
  AI 149494: Minor improvements to wording in design tips for missing activity and notifications
2009-06-02 13:15:15 -07:00
Android (Google) Code Review
7174bc48dc Merge change 2898
* changes:
  Implement bulk read and writes for Bluetooth sockets.
2009-06-02 12:44:35 -07:00
Nick Pelly
47e82dee6b Implement bulk read and writes for Bluetooth sockets.
Before: 0.1 kB/s
After: 100 kB/s
(in my java BT speed test app)
2009-06-02 12:35:48 -07:00
Mike Reed
5b4718ba8a make FEATURE_OPENGL public (but hidden for now) so we can test with it 2009-06-02 15:30:57 -04:00
Jean-Michel Trivi
1352b615be am a74303d8: Trying to fix sim-eng build: when building the simulator on linux, link (only) with libdl, as opposed to also making libdl a build target.
Merge commit 'a74303d80637c0d63057fc4b501a4f93cf01ea85'

* commit 'a74303d80637c0d63057fc4b501a4f93cf01ea85':
  Trying to fix sim-eng build: when building the simulator on linux, link (only) with libdl, as opposed to also making libdl a build target.
2009-06-02 12:26:17 -07:00
Doug Kramer
b33940abca AI 149494: Minor improvements to wording in design tips for missing activity and notifications
See latest document at:
  http://doog:9000/guide/practices/ui_guidelines/activity_task_design.html

Automated import of CL 149494
2009-06-02 12:17:49 -07:00
Jean-Michel Trivi
a74303d806 Trying to fix sim-eng build: when building the simulator on linux, link (only) with libdl, as opposed to also making libdl a build target. 2009-06-02 12:05:18 -07:00
Wei-Ta Chen
df1235f691 am eb949674: Unhide inPurgeable in BitmapFactory.Options.
Merge commit 'eb949674fd3b83b706f795fc6b16ab1c66250c93'

* commit 'eb949674fd3b83b706f795fc6b16ab1c66250c93':
  Unhide inPurgeable in BitmapFactory.Options.
2009-06-02 11:55:19 -07:00
Wei-Ta Chen
eb949674fd Unhide inPurgeable in BitmapFactory.Options.
The correctness and effectiveness of the usage of the parameter are evaluated in:
https://android-git.corp.google.com/g/Gerrit#change,2768
2009-06-02 11:01:43 -07:00
Jean-Michel Trivi
94afa2e574 am 30b70cec: Trying to fix the build for simulator: modifying makefile to not link against libdl.
Merge commit '30b70cec05190c8fcfa5aeb175a37bf81ed3966d'

* commit '30b70cec05190c8fcfa5aeb175a37bf81ed3966d':
  Trying to fix the build for simulator: modifying makefile to not link against libdl.
2009-06-02 11:01:13 -07:00
Jean-Michel Trivi
30b70cec05 Trying to fix the build for simulator: modifying makefile to not link against libdl. 2009-06-02 10:43:58 -07:00
Android (Google) Code Review
b621a3fd7a am b2decbe2: Merge change 2515 into donut
Merge commit 'b2decbe2f168a82d674ea699a809a702bad51f54'

* commit 'b2decbe2f168a82d674ea699a809a702bad51f54':
  Adding the TtsService class for text-to-speech synthesis.
2009-06-02 10:13:54 -07:00