9521 Commits

Author SHA1 Message Date
Dmitri Plotnikov
dbe449e522 New Javadoc for ContactsContract.
Change-Id: Ifcf20541fda7449f1954f2021c53be3eb672e7ee
2009-11-11 18:48:19 -08:00
Dianne Hackborn
362d5b9b64 Fix issue #2256032: Change CONFIGURATION_CHANGED and add a locale changed broadcast
You can no longer receive CONFIGURATION_CHANGED in a manifest, which is really really
bad (launching apps every time the screen is rotated!).  A new LOCALE_CHANGED broadcast
is sent that you can receive in a manifest.

Change-Id: I80022375f0716db2e672382a29db3cea1af74702
2009-11-11 18:26:06 -08:00
Android (Google) Code Review
2ade6421f2 Merge change I775e1ec0 into eclair
* changes:
  Debugging for issue #2250075: Desk dock clock app sometimes doesn't
2009-11-11 18:16:05 -08:00
Android (Google) Code Review
f233564284 Merge change I7fb3bc59 into eclair
* changes:
  Add new date formats for the lock screen.
2009-11-11 18:05:12 -08:00
Jim Miller
753401aa47 Fix 2209086: add drawables for SlidingTab states in PhoneApp. Update string file for new SlidingTab sound states.
Tweak "animation" to be 250ms based on conversation with ui guys. Some minor performance tweaks to SlidingTab.
2009-11-11 18:00:48 -08:00
Dianne Hackborn
12527f9fb1 Debugging for issue #2250075: Desk dock clock app sometimes doesn't
This adds a history of the last 100 broadcasts that is printed in the
debug log, to be able to see what recently happened at the time the
bug report was taken.  Also does some optimization of the printing of
the broadcast records to make it feasible to print this number of
entries.  (We kind-of need to do this because there are some broadcasts
like SIG_STR and SYNC_STATE_CHANGED that are being broadcast a LOT.)

Change-Id: I775e1ec0f63369c8bca8c83cee27b95ddc5ec450
2009-11-11 17:51:41 -08:00
Eric Fischer
66cf237a57 Add new date formats for the lock screen.
One is the fully-spelled out weekday/day/month with no year.
The other is abbreviated weekday/month/day/year.

Bug 2247356

Approver: jerryw
2009-11-11 17:50:31 -08:00
Mathias Agopian
90daccf3fd fix [2143798] Need to figure out how to do video on Passion w/ GPU
This builds on the EGLImage solution. We simply use copybit to convert from the
YUV frame into an EGLImage created for that purpose and proceed with the
regular EGLImage code.
We need to do this because "regular" GL doesn't support YUV textures.

We could improve upon this by detecting exacly what the GL supports and bypass
this extra step if not required, but we'll do this later if needed.
2009-11-11 16:44:43 -08:00
Wink Saville
ce9b59f0ba Add code to use Gservices provided values for throtting NITZ updates.
bug: 2251845
Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619
2009-11-11 16:33:50 -08:00
Android (Google) Code Review
3e584fc944 Merge change I5975651f into eclair
* changes:
  Don't feed the timezone to RenderScript time functions, let the library figure it out.
2009-11-11 15:37:37 -08:00
Android (Google) Code Review
f1f26bbb2a Merge change I7b8b6cfb into eclair
* changes:
  Do not force screen on when undocking from the desk dock.
2009-11-11 15:36:18 -08:00
Romain Guy
baed727481 Don't feed the timezone to RenderScript time functions, let the library figure it out.
Bug #2211070.

Change-Id: I5975651fd12399fb8dfe283dfdfaa17569738c7b
2009-11-11 15:36:06 -08:00
Android (Google) Code Review
4cb6fc7ed2 Merge change Icc48b1e7 into eclair
* changes:
  don't request a sync when temp providers are created
2009-11-11 15:15:55 -08:00
Mike Lockwood
1d06992536 Do not force screen on when undocking from the desk dock.
The fact that the phone is losing power will do this anyway,
and this fixes (or works around) bug b/2250075
(Desk dock clock app sometimes doesn't exit when removing a sleeping droid from the dock)

Change-Id: I7b8b6cfb44ca16d2d9eb67589cb9d9a108a8de82
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-11 18:14:47 -05:00
Fred Quintana
cc48b1e77d don't request a sync when temp providers are created 2009-11-11 15:05:10 -08:00
Grace Kloba
bf5b632abb Use getViewHeightWithTitle() to honor the scrollbar
setting when computing the maxScrollY for fling.
This is honored in the regular scroll in 
computeVerticalScrollExtent().

Fix http://b/issue?id=2251694
2009-11-11 14:43:16 -08:00
Grace Kloba
d7439f4bdb Use computeVerticalScrollRange() to find the bottom
of the page as mContentHeight is not in the view system.

Fix http://b/issue?id=2251909
2009-11-11 14:38:55 -08:00
Android (Google) Code Review
c996689109 Merge change Ibb245ea7 into eclair
* changes:
  Return an empty PluginList instead of null for the deprecated getPluginList() api.
2009-11-11 14:34:05 -08:00
Android (Google) Code Review
2f92bd3ecb Merge change Ia895aa7d into eclair
* changes:
  Fix for 2209086:  Initial pass at new SlidingTab widget and integration into LockScreen.
2009-11-11 14:02:00 -08:00
Android (Google) Code Review
38210df337 Merge change I326c1f7e into eclair
* changes:
  Throttle nitz updates as the are too numerous on cdma.
2009-11-11 12:46:22 -08:00
Eric Laurent
059b4be2a5 Improvements for issue 2197683: English IME key-press latency is noticeably higher on passion than sholes
This change goes with a kernel driver change that reduces the audio buffer size from 4800 bytes (~27ms) to 3072 bytes (~17ms).
- The AudioFlinger modifcations in change 0bca68cfff161abbc992fec82dc7c88079dd1a36 have been removed: the short sleep period was counter productive when the AudioTrack is using the call back thread as it causes to many preemptions.
- AudioFlinger mixer thread now detects long standby exit time and in this case anticipates start by writing 0s as soon as a track is enabled even if not ready for mixing.
- AudioTrack::start() is modified to start call back thread before starting the IAudioTrack so that thread startup time is masked by IAudioTrack start and mixer thread wakeup time.
2009-11-11 12:13:27 -08:00
Wink Saville
aeff5fd8eb Throttle nitz updates as the are too numerous on cdma.
bug: 2251845
Change-Id: I326c1f7e28d19b678ea748e36f8286dd1378cecf
2009-11-11 11:55:38 -08:00
Android (Google) Code Review
9d9dda53f8 Merge change Ia629e0f8 into eclair
* changes:
  Make multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 : all the parts should have the same encoding.
2009-11-11 11:53:06 -08:00
Jim Miller
24ccf3c590 Fix for 2209086: Initial pass at new SlidingTab widget and integration into LockScreen.
Tested:
	- unlock and mute/unmute

Not working:
    - highlighting on right tab.
2009-11-11 11:37:54 -08:00
Gilles Duboscq
1fa7fae139 Make multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 :
all the parts should have the same encoding.

Fixes b/2040561
2009-11-11 10:56:27 -08:00
Android (Google) Code Review
250aa068ea Merge change Idf7fafd3 into eclair
* changes:
  Fix issue #2248951: Need to turn off touch filtering outside of sholes
2009-11-11 10:54:58 -08:00
Android (Google) Code Review
b9c40a65c7 Merge change I5d30aa18 into eclair
* changes:
  Make vCard parser invalid lines in vCard file which look like some comment. Do not merge.
2009-11-10 23:03:57 -08:00
Daisuke Miyakawa
e464de6b76 Make vCard exporter check invalid phone numbers and re-format them if needed. Do not merge.
This change is based on the change I319bf9ee, but different in that there's no test, since
test framework for vCard code is just in MR2, not in MR1.

Internal issue number: 2246410

Dr.NO: Hiroshi
2009-11-11 15:42:55 +09:00
Android (Google) Code Review
dd86168992 Merge change I05fd0df0 into eclair
* changes:
  Fix potential deadlock in stopPreview/stopRecord.
2009-11-10 22:29:59 -08:00
Android (Google) Code Review
fe17db4c02 Merge change I4db11d50 into eclair
* changes:
  Backport the change I30b141a2 from MR2 to MR1. Do not merge.
2009-11-10 22:03:20 -08:00
Daisuke Miyakawa
3de8ed6c88 Backport the change I30b141a2 from MR2 to MR1. Do not merge.
The previous implementation selected the first ContactValues object even when its name fields are all empty.
This time, vCard composer checks the name fields and skip the object without valid name.
One exception is the object with IS_SUPER_PRIMARY flag. If IS_SUPER_PRIMARY flag is set, the object will be
selected even when the object does not have valid name.

Dr.NO: Hiroshi

Internal issue number: 2252304
2009-11-11 10:24:40 +09:00
Dave Sparks
05fd0df0f3 Fix potential deadlock in stopPreview/stopRecord.
Some camera HALs spin up a preview thread and need to wait for
the thread to exit. This can create a potential deadlock. In
stopPreview, we take the main lock. If a preview callback occurs
while the lock is held, the preview thread will block. If the
camera HAL is waiting for the preview thread to exit, this will
cause a deadlock.

This patch breaks out the preview buffer heap into a separate
mutex. This mutex is never held when the main lock is held, thus
preventing the deadlock from occuring.
2009-11-10 17:08:08 -08:00
Dianne Hackborn
65cb605e5d Fix issue #2248951: Need to turn off touch filtering outside of sholes
Yet another configuration!

Change-Id: Idf7fafd338a2bebd4c305c131cd9b7ae4f906a5b
2009-11-10 17:06:22 -08:00
Android (Google) Code Review
ae0cf6dc9e Merge change I50986dd4 into eclair
* changes:
  Make the RegisteredSErvices Cache not allow the registered service for a type to change without first uninstalling the previous service for that type, unless the newly installed service is in the system image.
2009-11-10 16:53:43 -08:00
Android (Google) Code Review
971af00305 Merge change I65208317 into eclair
* changes:
  Update OBEX to fix missing several contact entries issue.
2009-11-10 16:36:40 -08:00
Fred Quintana
5ebbb4a6b3 Make the RegisteredSErvices Cache not allow the registered service for a
type to change without first uninstalling the previous service for that
type, unless the newly installed service is in the system image.

Notify the listener when a service is added or removed.

Make the AccountManagerService remove the accounts for an authenticator
when the registered authenticator changes from one uid to another.

Make the AbstractSyncableContentProvider force a sync when the database is first created.
2009-11-10 16:10:54 -08:00
Lixin Yue
65208317ba Update OBEX to fix missing several contact entries issue.
The third parameter count of PrivateOutputStream.write()
should be the size of vcards data plus header length, excluding the 3 bytes
for the response message and 3 bytes for the header ID and length.
Adjust the return value of getMaxPacketSize() by minus headser size, so that
applications should not get packet slipped during multiple sharing operation.
Do not set the header to null in getHeaderLength() to get PBAP PTS passed;
Per OBEX spec, for Get request:
Only the last packet need send the 0x49(End of Body);
for intermediate packets, we need to send 0x48 (Body).
If all packets use 0x49, some carkit like Nokia PD-17 will fail to download
all contacts, except data in the last packet.

Bug: 2246927
Dr No: Eastham
2009-11-10 15:34:18 -08:00
Android (Google) Code Review
48515f495b Merge change I0de7979b into eclair
* changes:
  Fix issue #2170897: wallpaper touch-up event not seen when exiting lock screen
2009-11-10 15:27:36 -08:00
Android (Google) Code Review
ba56915a71 Merge change Ie806ae6f into eclair
* changes:
  Fix multi-lock ordering issues in GLSurfaceView
2009-11-10 15:21:28 -08:00
Grace Kloba
bb245ea7f5 Return an empty PluginList instead of null for the
deprecated getPluginList() api.

Fix http://b/issue?id=2249732
2009-11-10 13:13:24 -08:00
Dianne Hackborn
6adba2467c Fix issue #2170897: wallpaper touch-up event not seen when exiting lock screen
Make sure to deliver events to the wallpaper until the final up.

Also fix behavior in the case where a window goes away while the pointer is still
down in it, which is a fairly novel situation introduced by the new lock screen.

Also add infrastructure for delivering motion events during preview.

Change-Id: I0de7979be27e00caf0b1eff794ea899a815142f6
2009-11-10 13:02:30 -08:00
Android (Google) Code Review
cfe45c775d Merge change I96c4d4b3 into eclair
* changes:
  Fix for random audio output failures, properly dup() the file descriptor in IMediaPlayer::setDataSource to assume ownership as the caller will otherwise close it.
2009-11-10 12:27:53 -08:00
Andreas Huber
da440f137f Fix for random audio output failures, properly dup() the file descriptor in IMediaPlayer::setDataSource to assume ownership as the caller will otherwise close it. 2009-11-10 12:26:26 -08:00
Mike Lockwood
cc9a63dbc2 Add support for specifying the current LCD brightness mode to the backlight driver.
This allows the driver to behave differently depending on if the lighting is being
managed by the light sensor or by a user preference.

Change-Id: I4b9325f82b7aded0ce5cfc6c07658666bbdae331
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-11-10 14:58:15 -05:00
Android (Google) Code Review
119a767565 Merge change I83ba96fe into eclair
* changes:
  Fix issue #2246723: Only one Application object gets onCreate called
2009-11-10 10:27:05 -08:00
Android (Google) Code Review
bf964e6a04 Merge change Ic060d86f into eclair
* changes:
  Check whether test server is up before running tests which use streaming files.
2009-11-10 10:04:40 -08:00
Scott Main
13ce56bdbc am 88427cff: Merge change Ibcfb7d10 into eclair-sdk
Merge commit '88427cff609e668185010af2244500be5823595e' into eclair

* commit '88427cff609e668185010af2244500be5823595e':
  docs: add more documentation for the bluetooth apis.
2009-11-10 09:26:24 -08:00
Android (Google) Code Review
88427cff60 Merge change Ibcfb7d10 into eclair-sdk
* changes:
  docs: add more documentation for the bluetooth apis.
2009-11-10 09:21:00 -08:00
Dirk Dougherty
8424129312 am 3a103a87: Merge change I15536f3c into eclair-sdk
Merge commit '3a103a87b0b3b0e9055f32e1c7f0ec3a58456bad' into eclair

* commit '3a103a87b0b3b0e9055f32e1c7f0ec3a58456bad':
  doc change: Add instruction to disable antivirus before installing SDK components. Add download page link to installing doc.
2009-11-10 09:20:55 -08:00
Android (Google) Code Review
3a103a87b0 Merge change I15536f3c into eclair-sdk
* changes:
  doc change: Add instruction to disable antivirus before installing SDK components. Add download page link to installing doc.
2009-11-10 09:13:29 -08:00