8063 Commits

Author SHA1 Message Date
Android (Google) Code Review
008fc5d142 Merge change 26332 into eclair
* changes:
  1) Add the wma / wmv profile reader. 2) Add the flag which check the wma/wmv enable properties. If the codec is not enable, then skip the wma / wmv related test cases. 3) Added a workaround which let the testcodecspecific test case continue even though there is a failure in the middle of the test. Besides, take out the remvoeFile for temporary usage.
2009-09-22 15:09:33 -04:00
Andrei Popescu
dee76be487 Fix for 2122292: make sure we unregister the ContentObserver for the system location settings. Also make the GoogleLocationManager use the singleton pattern correctly. 2009-09-22 19:51:14 +01:00
Grace Kloba
24a3ff958b Change double tap toast to long toast.
Change toast count to static to cross all the windows.

It should be --count instead of count--.
2009-09-22 11:11:01 -07:00
Android (Google) Code Review
194099dc4f Merge change 26220 into eclair
* changes:
  Reimplement the settings to use async callbacks
2009-09-22 14:02:44 -04:00
Yu Shan Emily Lau
dc1af5befa 1) Add the wma / wmv profile reader.
2) Add the flag which check the wma/wmv enable properties. If the codec is not enable, then skip the wma / wmv related test cases.
3) Added a workaround which let the testcodecspecific test case continue even though there is a failure in the middle of the test. Besides, take out the remvoeFile for temporary usage.
2009-09-22 10:52:56 -07:00
Nicolas Roard
6c24b4d102 Reimplement the settings to use async callbacks 2009-09-22 18:44:52 +01:00
Android (Google) Code Review
0676690091 Merge change 26323 into eclair
* changes:
  Fix bug with ScrollView so that text entry fields are not hidden by virtual keyboard.
2009-09-22 13:31:02 -04:00
Patrick Scott
d58ccff769 Add a boolean indicating if the apple-touch-icon is precomposed. 2009-09-22 13:28:36 -04:00
Grace Kloba
408cf85207 Support the new dpi change in the WebView.
Fix http://b/issue?id=2071943
2009-09-22 10:07:27 -07:00
Android (Google) Code Review
7b7029e032 Merge change 26236 into eclair
* changes:
  Make media scanner read the jpeg orientation tag.
2009-09-22 12:51:24 -04:00
Android (Google) Code Review
b5c2939904 Merge change 26301 into eclair
* changes:
  Add aggregated badge to ContactHeaderWidget
2009-09-22 12:49:20 -04:00
Android (Google) Code Review
56b2086021 Merge change 26349 into eclair
* changes:
  Fix issue 2116700: Ringer screwy while connected over Bluetooth.
2009-09-22 12:20:38 -04:00
Grace Kloba
f53c186524 Don't snap the initialScale to min or max if it is not defined.
Fix http://b/issue?id=2133821
2009-09-22 09:14:25 -07:00
Android (Google) Code Review
5b4aa6db42 Merge change 26315 into eclair
* changes:
  VpnService: use Credentials instead of CertTool.
2009-09-22 12:02:39 -04:00
Evan Millar
de9eef1c66 Add aggregated badge to ContactHeaderWidget
Change-Id: I0266828c7d560b9aefc3f58d27c217f710f1b0bb
2009-09-22 08:40:22 -07:00
Android (Google) Code Review
585c67f70f Merge change 26300 into eclair
* changes:
  experimental fix for compatibility mode. When we scale up by 1.5 (240 dpi), we put stretched ninepatches on exact pixel boundaries when we walk the inverse matrix (e.g. 2/3, 1+1/3, 2, 2+2/3, 3+1/3, 4, ...).
2009-09-22 07:55:58 -04:00
Mike Reed
b5c17a64ed experimental fix for compatibility mode. When we scale up by 1.5 (240 dpi), we put stretched ninepatches on
exact pixel boundaries when we walk the inverse matrix (e.g. 2/3, 1+1/3, 2, 2+2/3, 3+1/3, 4, ...).

These are not stable, since any variance in the inverse matrix (even in the lowest bit) can cause some other
part of the ninepatch to start a hair to the left, resulting in misaligning every 3 pixels.

The fix changes the matrix' phase enough to keep all of the stretched ninepatches in phase.
2009-09-22 07:53:05 -04:00
Android (Google) Code Review
976e363fe8 Merge change 26260 into eclair
* changes:
  Add search_mode flag to intents launched by QSB suggestions
2009-09-22 05:54:31 -04:00
Eric Laurent
f69a3f8dc5 Fix issue 2116700: Ringer screwy while connected over Bluetooth.
There was a regression introduced in AudioFlinger by change 24114 for suspended output:
The suspended output was not reading and mixing audio tracks.
When the phone is ringing, the A2DP output is suspended if the SCO headset and A2DP headset are the same. As the ringtone is played over the duplicated output, the fact that the A2DP output was not reading data was causing the hardware output to be stalled from time to time.
2009-09-22 00:35:48 -07:00
Chung-yih Wang
5f55d8c9d4 Fix the incorrect field name in EAP wifi network.
The field identity should not be "anonymous_identity".
2009-09-22 14:54:19 +08:00
Android (Google) Code Review
2e2f6b5e68 Merge change 26328 into eclair
* changes:
  Fix the issue of 'Wifi framework is not aware of state change'
2009-09-22 02:02:04 -04:00
Jeff Sharkey
9cea89c103 Basic API for third-party apps to define custom Data rows.
This change adds the attributes to current.xml
2009-09-21 21:39:19 -07:00
Jeff Sharkey
a25c9b280e Remove unused type attribute. 2009-09-21 21:25:01 -07:00
Mike Lockwood
94db928d8c PowerManager: Require proximity sensor value be less than Sensor.getMaximumRange()
This allows us to support binary proximity sensors that only return 0.0 and 1.0

Change-Id: Ifaf3a4e6fc720cb246ac3558e3e733b4b612c95b
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-22 00:20:10 -04:00
Jeff Sharkey
3f0476a4e2 Basic API for third-party apps to define custom Data rows.
To display styled ContactsContract.Data rows in UI, this
change adds basic styling attributes that third-party apps
can use.  The Contacts app parses these structures before
displaying Data rows with unrecognized MIME-types.

Partially fixes http://b/2126691
2009-09-21 21:05:59 -07:00
Chung-yih Wang
7121ac5644 Fix the issue of 'Wifi framework is not aware of state change'
Problem:
Connect to AP with WEP security.
Change AP's WEP password.
Phone will quickly reassociated (less than in 5 sec) and will not restart full "reconnect".
Indication will show "connected" but it will be no network access.

Fix: (for non-static IP only)

With WEP mode, the association could be successful if we change the AP's WEP password. However,
the phone wont be able to send/recv any traffic with the old password. What we could quickly
fix here is to send the DHCP request if the network is not configured to use static IP. We
can do nothing but ping access point to see if it we are able to communicate with it.
2009-09-22 12:01:15 +08:00
Jack Veenstra
7d4200d03f Fix bug with ScrollView so that text entry fields are not hidden by virtual keyboard. 2009-09-21 19:45:14 -07:00
Android (Google) Code Review
cd263b5c07 Merge change 26322 into eclair
* changes:
  Implement more type checks on Allocations. Add tracking for allocations created using the "sized" helper. Add more param validation for data upload calls.
2009-09-21 22:42:28 -04:00
Jason Sams
768bc02d81 Implement more type checks on Allocations.
Add tracking for allocations created using the "sized" helper.
Add more param validation for data upload calls.
2009-09-21 19:41:04 -07:00
Android (Google) Code Review
9bbd5ee49f Merge change 26290 into eclair
* changes:
  Make IBackupTransport.finishBackup() also return an int code, since it too can return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).
2009-09-21 22:26:35 -04:00
Android (Google) Code Review
1167b43c3d Merge change 26317 into eclair
* changes:
  Allow GLSurfaceView clients to customize EGL Surfaces and Contexts.
2009-09-21 22:22:18 -04:00
Jack Palevich
15e1c6dc7a Allow GLSurfaceView clients to customize EGL Surfaces and Contexts.
This API is hidden for now, will expose once it's been tested more.
2009-09-21 19:19:25 -07:00
Chia-chi Yeh
6ee4e59c1d VpnService: use Credentials instead of CertTool. 2009-09-22 10:13:01 +08:00
Dmitri Plotnikov
0fc0244e80 [Issue 2097207] Adding filtering capability to aggregation suggestions
Change-Id: Ifce36286d2f573e69f872432cc34a1fca0311e02
2009-09-21 18:47:33 -07:00
Dianne Hackborn
fe2bddfae1 Don't wake up the screen as soon as the lid opens.
We may need to wait until the lock screen is ready.

Change-Id: Id114f4f37051680ab880056b4c989b1fa8aa02b3
2009-09-21 17:39:15 -07:00
Android (Google) Code Review
7f3fb7dec2 Merge change 26130 into eclair
* changes:
  Turn animations on by default.
2009-09-21 20:34:30 -04:00
Dianne Hackborn
bfe319e06a Turn animations on by default.
Add API to skip the animation for a particular start activity, so that
a latter better one can be used.

Fix Theme.NoDisplay to actually work.

Fiddle with various animations: don't do a different animation for task
switching, try a scale animation for switching in/out of the wallpaper.

Adjust the animation duration so that at normal speed we have something
more like the slower animation option (so slow is now the default).

Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
2009-09-21 17:26:41 -07:00
Android (Google) Code Review
9197081f8f Merge change 26275 into eclair
* changes:
  Send the address of the device with the UUID intent.
2009-09-21 20:04:54 -04:00
Dan Egnor
0144516e19 Make IBackupTransport.finishBackup() also return an int code, since it too can
return TRANSPORT_NOT_INITIALIZED (in fact that's typically how it comes).

For consistency, make other IBackupTransport methods return int instead of
boolean, and handle accordingly.

Make initializeDevice() its own method instead of a flag on performBackup().
This will be needed when un-checking the settings box anyway, and is
conceptually unrelated to whatever happens to be the first post-initialization
backup we perform.  (Note that even if the init is sent separately from the
backup operation, the server will remember that an init has been done and
will *not* return NOT_INITIALIZED for the subsequent backup.)

Fix LocalTransport accordingly (trivial changes).

Handle failures more robustly in BackupManagerService -- most notably,
doQueuedBackups() was ignoring the result code of processOneBackup(), so
a NOT_INITIALIZED error would go past unseen (at least until the next
backup pass).  Keep track of error code returns more universally now.
(This includes finishBackup(), of course.)
2009-09-21 17:04:05 -07:00
Android (Google) Code Review
6e81a40d07 Merge change 26286 into eclair
* changes:
  Resolve race conditions with disconnect of CDMA data and airplane mode
2009-09-21 20:01:55 -04:00
Jaikumar Ganesh
2d3b98d868 Send the address of the device with the UUID intent.
Change-Id: I6357d482550e9e02edf221add318ecd9cfadcb66
2009-09-21 16:11:01 -07:00
Android (Google) Code Review
a7719af312 Merge change 26217 into eclair
* changes:
  Cache the remote device's service channel.
2009-09-21 19:00:40 -04:00
Android (Google) Code Review
5222a9571e Merge change 26270 into eclair
* changes:
  Fix GLSurfaceView to sync surfaceDestroyed with GL rendering thread
2009-09-21 19:00:37 -04:00
Jack Palevich
1bd888ba2e Fix GLSurfaceView to sync surfaceDestroyed with GL rendering thread
Until now we had a race condition where the GL rendering thread could
continue rendering a frame after we have returned from the
SurfaceHolder.Callback.surfaceDestroyed notification.
2009-09-21 15:59:17 -07:00
Jaikumar Ganesh
10eac971b3 Cache the remote device's service channel.
Bluez Device implementation is such that when a device
is unpaired, we removes the device and hence there is no
way to interact with it unless you pair again. Remote service
channel call is used to get the rfcomm channel number which
will be used in profiles like OPP which don't require pairing.

Change-Id: I868a6cdfdb1b7d3591dd8b66cd0320f41a9c1b92
2009-09-21 15:58:08 -07:00
Yong Zhang
e4e8e4d4f2 Resolve race conditions with disconnect of CDMA data and airplane mode
Specifically, wait for data to be deactivated when setPowerStateToDesired()
is called during data activation.

Bug: 2101430
Change-Id: Ia97dd799f779c3f88f66bc1235e7a65958e1e04f
2009-09-21 15:31:09 -07:00
Wu-cheng Li
36322db575 Add focus API and FLASH_MODE_VIDEO_LIGHT. 2009-09-22 06:28:09 +08:00
Android (Google) Code Review
dbe8bad1d2 Merge change 26253 into eclair
* changes:
  Work around gcc 4.0.3 bug.
2009-09-21 18:12:31 -04:00
Bjorn Bringert
be5b73c592 Add search_mode flag to intents launched by QSB suggestions
This lets recipents determine whether an intent was launched
by a global search suggestion. This will for example
be used when deciding how to log clicks on web search suggestions.

Needed for http://b/issue?id=2097469

Change-Id: Ifc25ec3477a63be8bad094951bfffa7a5e703e7c
2009-09-21 23:05:23 +01:00
Android (Google) Code Review
31a12429b7 Merge change 26254 into eclair
* changes:
  fix bug 2134685: fix tests for PhoneNumberUtilsTest.
2009-09-21 17:43:20 -04:00