3415 Commits

Author SHA1 Message Date
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
Mike LeBeau
93df578638 am cfa419b7: Correct comments for startSearch in Activity and SearchManager to explain Donut behavior correctly.
Merge commit 'cfa419b754332e12f8cd45244c2f3bee9d6a74bb' into eclair

* commit 'cfa419b754332e12f8cd45244c2f3bee9d6a74bb':
  Correct comments for startSearch in Activity and SearchManager to explain
2009-08-18 10:59:53 -07:00
Jean-Michel Trivi
5d8cbf8da3 am d5884a9b: Merge change 21358 into donut
Merge commit 'd5884a9ba45e58294c09fd2747c87d761b9daee5' into eclair

* commit 'd5884a9ba45e58294c09fd2747c87d761b9daee5':
  Unhide the broadcast intent that signals completion of the TTS language
2009-08-18 10:59:20 -07:00
Android (Google) Code Review
db33d4bbae Merge change 21468 into eclair
* changes:
  Couple of fixes for viewport.
2009-08-18 10:51:49 -07:00
Android (Google) Code Review
014849570c Merge change 21634 into eclair
* changes:
  Add new calendar database columns; do not merge (cherry-picked 1fa64)
2009-08-18 10:29:43 -07:00
Romain Guy
15df6703f8 Fix potential leak in ViewRoot.
The way View.post() is handled can cause potential leaks in ViewRoot. For instance,
if a View calls post(Runnable) just after being detached from the window (in an
onClickListener for instance,) it will enqueue a Runnable in ViewRoot.RunQueue.
Unfortunately the RunQueue is emptied only on the very first layout of the ViewRoot.
This change prevents the leak by rxecuting the enqueued Runnables on every layout request
The latter did not happen before and to keep views in a correct state I think it
is necessary to always ensure we run the Runnables sent via View.post().
2009-08-18 10:16:41 -07:00
Grace Kloba
7a02d6e457 Couple of fixes for viewport.
http://b/issue?id=2053685. This is a tricky one. When Browser is restarted,
we may get first layout even before viewport tag is parsed. This is rare,
but it happens to Google Reader site. So we need to setup the viewport explicitly
if it happens after first layout. There is a pairing webkit change.

http://b/issue?id=2054131. When Google talk is loaded, it goes through an auth
redirect site which means first layout is called with standardLoad as false.
In this case, even the final site uses viewport tag to get mobile experience,
the intermediate one doesn't. To make sure most of the mobile sites, who
define their viewport width as device width, work correctly, we always update
the mRestoreState when we set viewport.

http://b/issue?id=2054121. When Browser is first started or restarted, the
mCurrentViewWidth is 0 as we don't know the WebView's width yet. As we can't
send VIEW_SIZE_CHANGED message directly, we reset WebView's mLastWidthSent
so that VIEW_SIZE_CHANGED will be sent from WebView when it's width is available.
2009-08-18 10:10:51 -07:00
krosaen
d2d6014f71 NEW API for SearchManager and Activity to 'triggerSearch'.
This is pretty much the same thing as startSearch, except it also launches the
query.  We enforce that this can only be done for the package of the app that is
associated with the search mananger (e.g you can't trigger a contacts search
from anywhere).
2009-08-18 08:56:03 -07:00
Scott Main
2685d3b85b am ba52b3e0: Merge change 21149 into donut
Merge commit 'ba52b3e08b33592457242944f7a89691a5b94880' into eclair

* commit 'ba52b3e08b33592457242944f7a89691a5b94880':
  DOCS ONLY.
2009-08-18 08:44:38 -07:00
Android (Google) Code Review
9befde04c3 Merge change 21648 into eclair
* changes:
  Remove the hack to include Gears as it is gone now.
2009-08-18 08:44:18 -07:00
Nick Pelly
bd022f423a Bluetooth: API change.
Split BluetoothDevice into BluetoothDevice and BluetoothAdapter.

BluetoothAdapter: Represents the local BT adapter. Operations on the local
                  adapter (start a scan, etc).
BluetoothDevice: Represents a remote BT device. Operations on remote devices
                 (pair, connect, etc).

IBluetoothDevice.aidl -> Bluetooth.aidl
BluetoothDeviceService.java -> BluetoothDeviceService.java

TODO:
Javadoc
2009-08-18 08:24:22 -07:00
Dianne Hackborn
8df8b2b405 Allow wallpapers to get touch events. 2009-08-17 21:23:05 -07:00
Jack Palevich
38710f4c0e Make ZoomButtonsController public. 2009-08-17 18:29:52 -07:00
Android (Google) Code Review
437f79b6b7 Merge change 21637 into eclair
* changes:
  Fix 2058938. As zoom control is uesd in overview mode to switch to reading mode, we also want to hide it after double tap is done.
2009-08-17 18:18:44 -07:00
Grace Kloba
325eabdc85 Remove the hack to include Gears as it is gone now. 2009-08-17 18:17:53 -07:00
Android (Google) Code Review
30c1738b2c Merge change 21638 into eclair
* changes:
  Don't use BoringLayout to display text that has paragraph-style markup.
2009-08-17 17:24:47 -07:00
Eric Fischer
86fcef87b8 Don't use BoringLayout to display text that has paragraph-style markup.
BoringLayout assumes it doesn't have to do any work to calculate the
line height.  In this case, though, there may actually be work to be
done, so have it fall back to StaticLayout to do the more thorough job.

Bug 2051050
2009-08-17 17:16:44 -07:00
Grace Kloba
d7660ccb7b Fix 2058938. As zoom control is uesd in overview mode to switch to reading
mode, we also want to hide it after double tap is done.
2009-08-17 17:13:01 -07:00
Ken Shirriff
3d037078b8 Add new calendar database columns; do not merge (cherry-picked 1fa64)
The columns are guestsCanModify, guestsCanInviteOthers,
guestsCanSeeGuests, organizer, and canInviteOthers.
2009-08-17 17:09:24 -07:00
Jim Miller
20ea6ce0e8 Change get/set IsSyncable() methods to static. Add isUserFacing flag to SyncAdapterType. Update api file. 2009-08-17 16:06:15 -07:00
Android (Google) Code Review
d871167284 Merge change 21581 into eclair
* changes:
  Fix CDMA to startup/shutdown based on apn en/disab
2009-08-17 15:48:01 -07:00
Robert Greenwalt
25a5d3db3f Fix CDMA to startup/shutdown based on apn en/disab
Fixes MMS during wifi.
Also fixes CDMA for ConnectivityManager change.
2009-08-17 15:20:14 -07:00
Android (Google) Code Review
f5e6a211b1 Merge change 21572 into donut
* changes:
  Add constants to adjust Vending input and output buffer sizes.
2009-08-17 14:19:42 -07:00
Fred Quintana
718671b441 fix build breakage 2009-08-17 14:08:37 -07:00
Android (Google) Code Review
093918a628 Merge change 21549 into donut
* changes:
  Import revised translations.  DO NOT MERGE
2009-08-17 13:42:24 -07:00
Jasperln
b95277e762 Add constants to adjust Vending input and output buffer sizes.
- Needed for Bug: 2058060
2009-08-17 13:29:11 -07:00