3340 Commits

Author SHA1 Message Date
Android (Google) Code Review
79e338fb2a Merge change 22089 into eclair
* changes:
  The MetaData API is optional and getMetadata may return null if unsupported.
2009-08-20 11:43:50 -07:00
Daniel Sandler
8d28c3b3bd Address b/2064664 by setting mThumbOffset to half the width of the thumb by default.
mThumbOffset previously defaulted to 0, which caused drawing artifacts at
extrema of very long SeekBars.

The thumb offset can still be overridden by declaring android:thumbOffset in
layout or calling SeekBar.setThumbOffset(int).

Bug: 2064664
2009-08-20 14:14:19 -04:00
Andreas Huber
d44d33b01a The MetaData API is optional and getMetadata may return null if unsupported. 2009-08-20 11:12:27 -07:00
Evan Millar
c9e3e6e7b2 Tweak the ContactsHeaderWidget to match the newest specs. 2009-08-20 11:11:12 -07:00
Dmitri Plotnikov
60662b035c The API for phone lookup has changed - updating Contact Header accordingly. 2009-08-20 11:01:09 -07:00
Dmitri Plotnikov
1c1629da30 Protecting access to the new Contacts API with a try/catch block. 2009-08-20 08:14:24 -07:00
Android (Google) Code Review
41b379da57 Merge change 22049 into eclair
* changes:
  Fix various issues found when testing Mms.
2009-08-19 23:30:42 -07:00
Android (Google) Code Review
a5ba62cdc1 Merge change 22045 into eclair
* changes:
  Fix bug 2045914: When pressing 2 keys, sometimes the second key gets stuck.
2009-08-19 22:59:35 -07:00
Robert Greenwalt
a64bf834ff Fix various issues found when testing Mms.
Fix some race conditions (check isTeardownRequested).
Fix the passing of mInterfaceName to subtypes (mms, etc).
Fix the generation of CONNECTED message to already active subtypes.
Fix the enabling of Data in DataConnectionTracker.

bug: 2065037
2009-08-19 21:58:12 -07:00
Android (Google) Code Review
ef408cdbea Merge change 22054 into eclair
* changes:
  Add Bluetooth device picker support
2009-08-19 21:02:02 -07:00
Yue Lixin
a4433af5ac Add Bluetooth device picker support
- add Intent and Extra definition
- move profile filter into BluetoothClass
2009-08-19 20:44:21 -07:00
Android (Google) Code Review
23a87c285f Merge change 21931 into eclair
* changes:
  API CHANGE
2009-08-19 20:42:15 -07:00
Android (Google) Code Review
1e3505c6f1 Merge change 22001 into eclair
* changes:
  Fix Wifi+Cell on boot after wifi in use.
2009-08-19 20:42:09 -07:00
Nick Pelly
45e2704ff5 API CHANGE
Javadoc, and unhide the first pieces of the Bluetooth API.

With this commit there is enough public API to connect and use an RFCOMM
connection between Bluetooth devices.
2009-08-19 20:39:54 -07:00
Amith Yamasani
8b37eb0c2a Fix bug 2045914: When pressing 2 keys, sometimes the second key gets stuck.
Also lock repeatable keys so that you don't get space and 'v', for example,
when you move just a little bit off the spacebar.
2009-08-19 20:05:43 -07:00
Android (Google) Code Review
f768d24f7d Merge change 22030 into eclair
* changes:
  Potential fix for NPE at startExtractingText.
2009-08-19 18:47:37 -07:00
Android (Google) Code Review
789de3a824 Merge change 22003 into eclair
* changes:
  Add wallpaper transition animations.
2009-08-19 18:35:53 -07:00
Amith Yamasani
ba4d93fcd7 Potential fix for NPE at startExtractingText.
This is not easy to reproduce. Adding a simple null check to see if the
monkeys continue to hit the NPE.
2009-08-19 18:29:45 -07:00
Dianne Hackborn
f8fbdb6b92 Add wallpaper transition animations.
The window manager now detects when a transition between two
wallpaper activities is happening, and switches to a new set
of animations for that.  The animations I defined here are just
an arbitrary something that can work in this case.
2009-08-19 17:45:56 -07:00
Android (Google) Code Review
b5f2ce6e2f Merge change 22011 into eclair
* changes:
  fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory
2009-08-19 17:38:45 -07:00
Mathias Agopian
b2f8450db8 fix [2063336] Surface.lockSurface throws IllegalArgumentException when out of memory 2009-08-19 17:10:18 -07:00
Marco Nelissen
d701e02076 When bringing up the media controller view, focus the play/pause button. 2009-08-19 17:05:48 -07:00
Robert Greenwalt
60a45aff31 Fix Wifi+Cell on boot after wifi in use.
The gist of it is: Ignore reconnect fail of default APN during boot.

A long path:
1 If wifi is started at boot it starts fast - before the PhoneService is available.
2 Wifi starts by failing - you get DISCONNECTED/Scanning events so CM starts the other default network (mobile).
3 Trying to restart mobile fails because the phone service isn't up yet.
4 The failure is noted and the net is marked as not-enabled.
5 The phone trys to auto-start the mobile network and succeeds, sending state-changed events
6 The CM ignores the state-changed events because the net isn't enabled (see 4).

The long term fix is to remove two-way state tracking from the MobileDataStateTracker and instead just consume the state fed to us in state-change events.
Near term fix is to not mark the default net disabled when we have failure (step 4) if the phone service isn't available.
2009-08-19 16:34:41 -07:00
Dmitri Plotnikov
3c513ed95c Converting CallerInfo to new Contacts API. 2009-08-19 16:31:01 -07:00
Roy West
51a9029cdc Fix for bug206007, power dialog change "Why?" to "Battery use" 2009-08-19 15:18:29 -07:00
Jeff Sharkey
a1f1879bea Remove SOURCE_VISIBLE flag that is otherwise unused. 2009-08-19 14:25:56 -07:00
Android (Google) Code Review
bda918ceb6 Merge change 21888 into eclair
* changes:
  Do not enable the rew/pause/ffwd buttons when the media being played does not support these functions. This extends the MediaPlayerControl interface with some new methods, and uses reflection to detect whether the old or new interface is used by an application.
2009-08-19 13:57:22 -07:00
Marco Nelissen
c818b141ee Do not enable the rew/pause/ffwd buttons when the media being played does not
support these functions.
This extends the MediaPlayerControl interface with some new methods, and uses
reflection to detect whether the old or new interface is used by an application.
2009-08-19 13:04:53 -07:00
Android (Google) Code Review
1281fb6a94 Merge change 21862 into eclair
* changes:
  Fix issue #2010965: Increase process size on WVGA devices
2009-08-19 12:21:02 -07:00
Dmitri Plotnikov
9303295e1d Redefining phone lookup API. 2009-08-19 11:26:57 -07:00
Dianne Hackborn
bdcef70e15 Fix issue #2010965: Increase process size on WVGA devices
This introduces a new system property to set the max vm size.  The default
is still 16mb.
2009-08-19 10:49:18 -07:00
Jeff Sharkey
220dec2897 Use remote Context when inflating initialLayout, add debug.
To help track down http://b/2055197 this change adds back
exception logging when inflating initialLayout.  On a hunch,
it also assigns the remote Context so generateLayoutParams()
can inflate correctly.
2009-08-19 09:31:51 -07:00
Jeff Sharkey
a659744041 Flag to make all contacts from specific source visible. 2009-08-19 09:23:33 -07:00
Android (Google) Code Review
460f541001 Merge change 21659 into eclair
* changes:
  Fix for Mms without wifi.
2009-08-19 07:19:06 -07:00
Android (Google) Code Review
36ebde8d57 Merge change 21841 into eclair
* changes:
  clean up some logs and clamp the syncable value
2009-08-18 20:17:57 -07:00
Dianne Hackborn
cbf1504824 Don't call onSurfaceChanged() if nothing interesting has changed. 2009-08-18 18:40:01 -07:00
Jeff Sharkey
7b6771a97b Bring back per-Account Contact-specific settings.
These are used for two purposes: a flag indicating the
default sync state for Groups to inherit, and a flag that
marks when Contacts that don't belong to any specific group
should be visible in UI.
2009-08-18 18:14:11 -07:00
Fred Quintana
b763ab2651 clean up some logs and clamp the syncable value 2009-08-18 18:07:30 -07:00
Robert Greenwalt
c85675d0ef Fix for Mms without wifi.
Need to change MOBILE_MMS network into connnected state if the current
apn can already support the traffic.

Bug:2058212
Bug:2055065
Bug:2046882
2009-08-18 17:39:13 -07:00
Romain Guy
7237c56fae Fix possible NPE on touch mode change in TabHost. 2009-08-18 17:38:14 -07:00
Dianne Hackborn
1066cbcac0 Fix build. 2009-08-18 15:09:23 -07:00
Dianne Hackborn
d8a43f6168 Fix issue #2047139: Remove Service.setForeground()
This API is becoming seriously abused, so now it is deprecated and has
become a no-op.

As an alternative, there is now a new API that allows you to make a service
be in the foreground but requires providing a persistent notification to
go along with this state, allowing the user to know about and control it.
2009-08-18 13:59:27 -07:00
Android (Google) Code Review
b22293590c Merge change 21748 into eclair
* changes:
  Get At command count from Bluetooth headset.
2009-08-18 12:39:34 -07:00
Amith Yamasani
82cb029e2a Get At command count from Bluetooth headset.
Pass in the BT headset object when available to the BatteryStats.
2009-08-18 12:38:06 -07:00
Android (Google) Code Review
3f648af208 Merge change 21728 into eclair
* changes:
  removing old gears code and correcting simple method typo
2009-08-18 11:24:04 -07:00
Derek Sollenberger
37eb3c3515 removing old gears code and correcting simple method typo 2009-08-18 14:22:26 -04:00
Eric Fischer
79dbf7c8fc Import revised translations. DO NOT MERGE 2009-08-18 11:19:17 -07:00
Fred Quintana
4a6679b97e make syncadapter set whether the account is syncable 2009-08-18 11:06:52 -07:00
Jasperln
ef99e248fe am f5e6a211: Merge change 21572 into donut
Merge commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1' into eclair

* commit 'f5e6a211b16e26104b6fb2d32ef4eabbf9fbc2d1':
  Add constants to adjust Vending input and output buffer sizes.
2009-08-18 11:01:11 -07:00
Dianne Hackborn
edc5ff8628 am c678a93a: Fix issue #2056585: applications can put phone in inconsistent state wrt airplane mode
Merge commit 'c678a93a73c83e841032874bee9c202936da73c0' into eclair

* commit 'c678a93a73c83e841032874bee9c202936da73c0':
  Fix issue #2056585: applications can put phone in inconsistent state wrt airplane mode
2009-08-18 11:00:16 -07:00