7504 Commits

Author SHA1 Message Date
Android (Google) Code Review
72e2d6da79 Merge change 24334 into eclair
* changes:
  fix [2037525] Fail to start camera after adb sync new Camera
2009-09-09 03:29:08 -07:00
Android (Google) Code Review
0a5bf25765 Merge change 24333 into eclair
* changes:
  rename Mutexes to make the code easier to follow
2009-09-09 03:28:47 -07:00
Mathias Agopian
d42bd87f23 use broadcast() instead of signal() when signaling the condition-variable Thread::RequestExitAndWait() is waiting for
we could have several thread waiting on the condition and they all need to wake-up.
also added a debug "mTid" field in the class, which contains the tid of the thread (as opposed to pthread_t), this
is useful when debugging under gdb for instance.
2009-09-09 02:45:26 -07:00
Mathias Agopian
a280496bd2 fix [2037525] Fail to start camera after adb sync new Camera
we ended-up locking a Mutex that had been destroyed.
This happened because we gave an sp<Source> to the outside world,
and were called after LayerBuffer had been destroyed.

Instead we now give a wp<LayerBuffer> to the outside and have it
do the destruction.
2009-09-09 00:50:29 -07:00
Android (Google) Code Review
0c065d9ef1 Merge change 24117 into eclair
* changes:
  Replace the delimiter whitespace with '\0'.
2009-09-09 00:40:17 -07:00
Chung-yih Wang
801b73f661 Replace the delimiter whitespace with '\0'.
+ Use '\0' as the delimiter.
+ Allow whitespace character for keystore password.

In previous implementation, we use space as the delimiter. That
will stop user from using passphrase with whitespace character.
2009-09-09 15:00:43 +08:00
Android (Google) Code Review
db603b0b2c Merge change 24114 into eclair
* changes:
  Fix issue 1992233: DTMF tones on Sholes is really long.
2009-09-08 23:04:38 -07:00
Eric Laurent
96c08a69ea Fix issue 1992233: DTMF tones on Sholes is really long.
Add a parameter to ToneGenerator.startTone() allowing the caller to specify the tone duration. This is used by the phone application to have a precise control on the DTMF tone duration which was not possible with the use of delayed messaged.
Also modified AudioFlinger output threads so that 0s are written to the audio output stream when no more tracks are ready to mix instead of just sleeping. This avoids an issue where the end of a previous DTMF tone could stay in audio hardware buffers and be played just before the beginning of the next DTMF tone.
2009-09-08 22:56:07 -07:00
Android (Google) Code Review
997eddb0a0 Merge change 24318 into eclair
* changes:
  Avoid CDMA messages with IDs of zero.
2009-09-08 22:55:49 -07:00
Tammo Spalink
98a5ba78f9 Avoid CDMA messages with IDs of zero.
In reference to issue:
http://buganizer/issue?id=2047571

Change-Id: I88b5cdbb988f12206663bbb3fdc9508a437b19ad
2009-09-09 13:50:07 +08:00
Mathias Agopian
b34d143bce rename Mutexes to make the code easier to follow 2009-09-08 22:48:24 -07:00
Jaikumar Ganesh
9519ce75f1 Query for all properties if a property change is received and cache is empty. 2009-09-08 21:51:07 -07:00
Android (Google) Code Review
948ef29eba Merge change 24316 into eclair
* changes:
  Fix typo: IMMEDITATE -> IMMEDIATE
2009-09-08 21:00:29 -07:00
Android (Google) Code Review
0a46e91357 Merge change 23414 into eclair
* changes:
  Fix broken GSM SMS unit test, and general cleanup.
2009-09-08 19:41:13 -07:00
Grace Kloba
273fecc22a Do not cache POST response as Cache is indexed with url.
mRequestHandle is only set from Network. So we can skip checking whether url is Network url if mRequestHandle is not null.

Fix http://b/issue?id=1980031
2009-09-08 19:24:44 -07:00
Omari Stephens
bc9aa775ae Fix typo: IMMEDITATE -> IMMEDIATE 2009-09-08 19:10:53 -07:00
Yu Shan Emily Lau
bde54df020 modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
Fixed the incorrect expected druation
2009-09-08 18:55:01 -07:00
Snigdha Sinha
fd98ff8b39 CameraService change for OVERLAY_FORMAT_DEFAULT
Originally from: https://partner.source.android.com/g/#change,829
2009-09-08 18:28:15 -07:00
Android (Google) Code Review
b0dccf73dd Merge change 24012 into eclair
* changes:
  add a transaction monitor
2009-09-08 17:26:25 -07:00
Fred Quintana
c4516a7b62 add a transaction monitor 2009-09-08 17:25:09 -07:00
Android (Google) Code Review
046263ce35 Merge change 24220 into eclair
* changes:
  Import revised translations.  DO NOT MERGE
2009-09-08 16:58:33 -07:00
Eric Fischer
5cacfb9df2 Import revised translations. DO NOT MERGE 2009-09-08 16:54:05 -07:00
Android (Google) Code Review
9bb1101f5c Merge change 23924 into eclair
* changes:
  	new file:   LowStorageTest/Android.mk 	new file:   LowStorageTest/AndroidManifest.xml 	new file:   LowStorageTest/res/layout/main.xml 	new file:   LowStorageTest/res/values/strings.xml 	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java Add the test app which can eat up 100% of the data parition. This is for the low storage test.
2009-09-08 16:30:42 -07:00
Android (Google) Code Review
e989496e2b Merge change 24194 into eclair
* changes:
  Make the hardkeyboard long press dialog look the same as that of soft keyboard.
2009-09-08 15:33:50 -07:00
Android (Google) Code Review
b80f698362 Merge changes 24119,24120 into eclair
* changes:
  delete old and unused source files
  fix [2068105] implement queueBuffer/lockBuffer/dequeueBuffer properly
2009-09-08 14:36:06 -07:00
Amith Yamasani
38d838d3ae Make the hardkeyboard long press dialog look the same as that of soft keyboard.
New assets for transparent buttons and background.
2009-09-08 14:25:25 -07:00
Yu Shan Emily Lau
4333bd145e new file: LowStorageTest/Android.mk
new file:   LowStorageTest/AndroidManifest.xml
	new file:   LowStorageTest/res/layout/main.xml
	new file:   LowStorageTest/res/values/strings.xml
	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java
Add the test app which can eat up 100% of the data parition. This is for the low storage test.

	new file:   LowStorageTest/Android.mk
	new file:   LowStorageTest/src/com/android/lowstoragetest/LowStorageTest.java
2009-09-08 14:14:20 -07:00
Costin Manolache
b752098e8d Sync status was ignoring account - the new UI has specific sync status for each account, so we need to use it. 2009-09-08 14:05:43 -07:00
Android (Google) Code Review
33b69050b2 Merge change 24155 into eclair
* changes:
  Add javadoc to explain which permissions are required for Public BT API's.
2009-09-08 13:37:10 -07:00
Android (Google) Code Review
c19efc4acb Merge change 24183 into eclair
* changes:
  Fix b/2105945 - Windowshade not closed when device locked.
2009-09-08 13:30:19 -07:00
Joe Onorato
f9e0e6bd5e Fix b/2105945 - Windowshade not closed when device locked. 2009-09-08 16:24:36 -04:00
Android (Google) Code Review
7452d29259 Merge change 24086 into eclair
* changes:
  Fixing asymmetry between phone filter and email filter APIs.
2009-09-08 13:21:39 -07:00
Android (Google) Code Review
e0f64aae8c Merge change 24178 into eclair
* changes:
  The qcom decoder requires that the output buffers be allocated by the component for hardware accelerated display to work.
2009-09-08 13:07:45 -07:00
Andreas Huber
ee606e66b0 Support encoding amr-wb content in stagefright. 2009-09-08 12:55:50 -07:00
Android (Google) Code Review
c3a30a0033 Merge change 24153 into eclair
* changes:
  adding support for webkit plugins to use the java view system
2009-09-08 12:53:17 -07:00
Derek Sollenberger
2c3eb14d43 adding support for webkit plugins to use the java view system
Change-Id: I4fb328e5f30476fe4aa70565bacb969dc97b495d
2009-09-08 15:42:23 -04:00
Android (Google) Code Review
e05e02e174 Merge change 24094 into eclair
* changes:
  Add basic metadata retrieval support for midi, ogg, etc. Bug 2050320
2009-09-08 12:39:56 -07:00
Andreas Huber
a7d0cf490a The qcom decoder requires that the output buffers be allocated by the component for hardware accelerated display to work. 2009-09-08 11:38:14 -07:00
Android (Google) Code Review
c18e9ed39c Merge change 24161 into eclair
* changes:
  don't fling if there's nowhere to go
2009-09-08 11:29:28 -07:00
Cary Clark
aa7caa6032 don't fling if there's nowhere to go
Add a test to doFling() to return quickly if the fling has
no effect. For simplicity, only test for horizontal or vertical
flings.

The man purpose is to avoid suspending webkit until the fling
animation is complete when the purpose of the touch drag is
to activate a touch event, like a swipe in superpudu.

fixes http://b/issue?id=2052852
2009-09-08 14:15:07 -04:00
James Dong
392ff3b529 Add basic metadata retrieval support for midi, ogg, etc.
Bug 2050320
2009-09-08 11:04:53 -07:00
Cary Clark
f8d4964e45 default overview mode to false in webkit
Browser defaults overview mode to true in BrowserSettings.java,
but a WebView should default overview mode to false. This permits
applications without zoom interfaces, such as HTMLViewer, to
have the same interface as before.
2009-09-08 13:23:24 -04:00
Nick Pelly
cf44059813 Add javadoc to explain which permissions are required for Public BT API's. 2009-09-08 10:12:06 -07:00
Derek Sollenberger
377c5c15f8 Revert "Adding classes to enable plugins to use the java view system."
This reverts commit b127dc29bbe41dde9cb30e178bd252f48e84e533.
2009-09-08 09:30:47 -04:00
Android (Google) Code Review
67dffd93e0 Merge change 23485 into eclair
* changes:
  Adding classes to enable plugins to use the java view system.
2009-09-08 05:48:06 -07:00
Tammo Spalink
0bb9960598 Do not die when printing empty prefs.
Addresses issue:
http://buganizer/issue?id=1974140

Change-Id: I0001d69e8d278d4ca900f5ce56ad50c0b4b6b694
2009-09-08 18:30:33 +08:00
Android (Google) Code Review
7390c5af7a Merge change 24097 into eclair
* changes:
  Fix small bugs in VCardComposer.java.
2009-09-08 01:23:05 -07:00
Dianne Hackborn
0d23b82be2 Fix $#%^&%!! SDK build.
Change-Id: I03841e00d2d67af88fed716753aedabb5dbe48d9
2009-09-07 23:57:26 -07:00
Dianne Hackborn
eb034652c2 Implement all of the infrastructure for configuring wallpapers.
Actually being able to configure a wallpaper relies on additional
work in the launcher and wallpapers that will be in another change.
Also note that this breaks all existing wallpapers, since they now
need to include a meta-data item about themselves.  This also
will be fixed in another change.

Change-Id: I97d2c2bd07237abc32f92b9147c32530a2f73c71
2009-09-07 22:48:02 -07:00
Android (Google) Code Review
9c93007bcd Merge change 24101 into eclair
* changes:
  Fix CDMA BCD unit test.
2009-09-07 21:02:29 -07:00