3160 Commits

Author SHA1 Message Date
Android (Google) Code Review
e02e8b9c11 Merge change 27315 into eclair
* changes:
  Reset mPreventDrag at touch_down.
2009-09-27 18:04:13 -04:00
Grace Kloba
d66d84ffa2 Reset mPreventDrag at touch_down.
Check the delta for short press case as we may switch to
PREVENT_DRAG_NO at SWITCH_TO_SHORTPRESS.

This should fix another two corner cases where flick doesn't
do anything.
2009-09-27 14:53:45 -07:00
Wei Huang
fbb7263121 add new column "real_date" for IM messages table.
Change-Id: I5c4b3da0843ff0205c2aff5f89639aba47a84e3b
2009-09-27 14:46:20 -07:00
Android (Google) Code Review
94bbfa47b0 Merge change 27142 into eclair
* changes:
  Handle expiration of discovery mode in system server.
2009-09-27 15:42:14 -04:00
Android (Google) Code Review
e03848eb93 Merge change 27154 into eclair
* changes:
  When change from narrow screen to wide screen, we will leave the mMinZoomScale to 1.0
2009-09-27 15:24:48 -04:00
Android (Google) Code Review
141e4f1d69 Merge change 27177 into eclair
* changes:
  Add auto-brightness mode to the list of backed-up settings
2009-09-27 13:20:44 -04:00
Android (Google) Code Review
db9c3f2e9a Merge change 27188 into eclair
* changes:
  Fix 2146581: Make tabs work for donut apps Use different tab assets with the original coloring scheme for apps that are not Eclair-aware.
2009-09-27 03:31:59 -04:00
Dianne Hackborn
2397640740 Maybe fix issue #2145012: Array bounds exception in touch event processing
Change-Id: I223d9ae29f22f08cb8426ccd8bbadeedd5db3fc3
2009-09-26 17:34:50 -07:00
Android (Google) Code Review
093f581090 Merge change 27238 into eclair
* changes:
  The touch screen is probably a feature.
2009-09-26 20:00:07 -04:00
Dianne Hackborn
039c68e756 The touch screen is probably a feature.
Also extend the feature APIs a bit.

Change-Id: I99e932d7f4e61edb0e20f75c55e9831e4b59a14d
2009-09-26 16:39:23 -07:00
Android (Google) Code Review
f06e9984e8 Merge change 26993 into eclair
* changes:
  Pass provider authority to SyncActivityTooManyDeletes
2009-09-26 17:06:47 -04:00
Jeff Sharkey
057018399c Remove query parameters for delaying group updates.
Callers should instead use applyBatch(), which now delays
any visible updates until the transation finishes.  This
partially fixes http://b/2075275
2009-09-26 02:14:43 -07:00
Mike Cleron
7609764295 Fix 2146581: Make tabs work for donut apps
Use different tab assets with the original coloring scheme
for apps that are not Eclair-aware.
2009-09-25 17:53:56 -07:00
Android (Google) Code Review
a16ca5ec4b Merge change 27141 into eclair
* changes:
  Fix ConnectivityManager's handling of apn switch.
2009-09-25 20:51:00 -04:00
Android (Google) Code Review
05eeeacee6 Merge change 27178 into eclair
* changes:
  Fix issue #2136448: googleapps crashes while adding 2nd gmail account
2009-09-25 20:19:59 -04:00
Dianne Hackborn
c1e605eff4 Fix issue #2136448: googleapps crashes while adding 2nd gmail account
Change-Id: I1dc27959650643bf0c7fd0564719856d7b3efeb1
2009-09-25 17:18:15 -07:00
Christopher Tate
362aca6045 Add auto-brightness mode to the list of backed-up settings
Change-Id: I4302b79691ed717d810748b239311cba198f6381
2009-09-25 17:14:57 -07:00
Robert Greenwalt
d1aca6aa73 Fix ConnectivityManager's handling of apn switch.
It was clearing the interfacename when it was needed later in the process - the prevented us
from clearing the route to private dns servers and clearing the flag that this was set.
Consequently future uses would not set the private dns servers (since it thought they were already
set) and our lookups would fail.

bug: 2146929
2009-09-25 16:43:20 -07:00
Android (Google) Code Review
48c84052e2 Merge change 27162 into eclair
* changes:
  Fix Activity.overridePendingTransition().
2009-09-25 19:11:43 -04:00
Dianne Hackborn
8b571a817c Fix Activity.overridePendingTransition().
Change-Id: I4ce995bd58efbbedbe4d0d1e9e0d0f4a8e261843
2009-09-25 16:09:43 -07:00
Fred Quintana
6ecaff1583 add a optional String to the key of notifications to allow users
to scope them
2009-09-25 16:01:22 -07:00
Grace Kloba
ba6728023d When change from narrow screen to wide screen, we will
leave the mMinZoomScale to 1.0
2009-09-25 15:54:08 -07:00
Nick Pelly
12835478ee Handle expiration of discovery mode in system server.
Change-Id: I58fd199b40ffdf8168a5489be8eedb5d25d56722
2009-09-25 15:00:29 -07:00
Android (Google) Code Review
3ed05574e3 Merge change 27077 into eclair
* changes:
  Two changes toward vCard composer.
2009-09-25 17:02:05 -04:00
Daisuke Miyakawa
21ac410319 Two changes toward vCard composer.
- Separate the two cases: mCursor == null and mCursor.getCount() == 0.
- Make error messages viewable from user applications, which enables them to
  translate those messages.

Internal issue number: 2138187, 27103
2009-09-25 13:30:23 -07:00
Grace Kloba
f58af62211 If WebCore doesn't response touch down in time, don't
block the UI tap, pan and double tap. Added a time out
(which is same as shortpress time out, 200ms) for how
long we wait for WebCore's response for touch down.

This should fix the problem where pan/touch is not working
all the time when Flash plugin is installed.

Fix http://b/issue?id=2144761
2009-09-25 12:06:08 -07:00
Brad Fitzpatrick
3219ab4de2 Fix typo in Bluetooth docs. 2009-09-25 20:28:02 +04:00
Tadashi G. Takaoka
86135d3240 Pass provider authority to SyncActivityTooManyDeletes
Internal Bug: 2138733
2009-09-25 09:12:25 -07:00
Cary Clark
96cfad5d67 check for null before calling native webkit from java webview
fixes http://b/issue?id=2121684
2009-09-25 12:06:20 -04:00
Android (Google) Code Review
82e62668d0 Merge change 27038 into eclair
* changes:
  Redraw search autocomplete dropdown after config change.
2009-09-25 10:43:10 -04:00
Bryan Mawhinney
29d52e120f Redraw search autocomplete dropdown after config change.
This ensures the dropdown is redrawn after changing
from landscape to portrait mode, for example.

Change-Id: I71f4425d1df789faf34d20dd30b3a5c64b5caec3
2009-09-25 15:35:21 +01:00
Bjorn Bringert
81d84c0cb2 am 6266e40a: Better JavaDoc for Activity.onSearchRequested().
Merge commit '6266e40a754d82afa717ef068898c8418a0bb5c3' into eclair

* commit '6266e40a754d82afa717ef068898c8418a0bb5c3':
  Better JavaDoc for Activity.onSearchRequested().
2009-09-25 06:45:02 -07:00
Bjorn Bringert
6266e40a75 Better JavaDoc for Activity.onSearchRequested().
Fixes http://b/issue?id=1248721
2009-09-25 14:25:41 +01:00
Bryan Mawhinney
42b7af57c5 Dismiss QSB dialog when doing an in-app global search.
This prevents QSB from obscuring the results when they are handled
by the current application.

Bug: 2141208
Change-Id: I6f848aa2003c75b97effe1d3d2af5316ad4fbf92
2009-09-25 11:09:55 +01:00
Dianne Hackborn
3e2ac88434 Fix/improve issue #2142662: too easy to click a link/item instead of fling
Reduce the slop.

Change-Id: If255e68cc8092e7f746a91c0fea27abfc5292b73
2009-09-25 01:34:28 -07:00
Dianne Hackborn
3b3e145d3c A variety of work on animations.
- The lock screen now fades in and out.
- Fixed a bug where we would accidentally freeze the screen when switching
  to an activity with a different orientation than the current (but
  the screen itself is in the current orientation).  This would mess up
  the animations on the car dock.
- New API to force a particular animation for an activity transition
  (untested).
- New wallpaper animations.
- Resources now uses the next API version when in a development build,
  to help applications being developed against such builds.

Change-Id: I2d9998f8400967ff09a04d693dc4ce55f0dbef5b
2009-09-25 00:48:02 -07:00
Android (Google) Code Review
fdf53a4628 Merge change 26935 into eclair
* changes:
  Fix bug 2129190 The context used by the status bar (i.e., the system context) was not properly initialized to have the right ApplicationInfo inside its PackageInfo. This eventually caused it to believe that it was running at 160dpi.
2009-09-25 00:45:23 -04:00
Mike Cleron
432b713c94 Fix bug 2129190
The context used by the status bar (i.e., the system context) was
not properly initialized to have the right ApplicationInfo inside
its PackageInfo. This eventually caused it to believe that it
was running at 160dpi.

Kudos to Dianne for figuring this out.
2009-09-24 21:41:19 -07:00
Nick Pelly
18b1e79a12 Bluetooth API: Do not allow apps to programmatically make BT discoverable.
Instead add ACTION_REQUEST_DISCOVERABLE for the system to show a dialog to
adjust discoverable mode.

Also remove createBond(), removeBond() and cancelBondProcess(). The Settings
App already handles these automatically when connections require bonding.

Change-Id: I216154cd1b6de410de64ba91b07d7263ac03e8df
2009-09-24 19:34:54 -07:00
Fred Quintana
91a00d3a42 fix typo 2009-09-24 16:45:37 -07:00
Fred Quintana
f580841526 rename misc to birthday 2009-09-24 16:39:17 -07:00
Daisuke Miyakawa
ccca121ecd Add "TYPE=" to type attribute when appropriate.
Internal issue number: 2142140
2009-09-24 15:52:40 -07:00
Daisuke Miyakawa
7497b78c56 Add appendType() utility method.
Some fix toward coll history related code is included.
2009-09-24 14:41:23 -07:00
Android (Google) Code Review
dfb7bc8c87 Merge change 26821 into eclair
* changes:
  Make removeOnAccountsUpdateListener cope with null handlers.
2009-09-24 17:29:53 -04:00
Fred Quintana
531e580ab1 remove the incorrectly located nickname 2009-09-24 14:27:41 -07:00
Android (Google) Code Review
f4a36e86bb Merge change 26909 into eclair
* changes:
  Not all WebView's host have permission to read the history. Add a security catch and return an empty list.
2009-09-24 17:24:40 -04:00
Grace Kloba
db674fb4e8 Not all WebView's host have permission to read the history.
Add a security catch and return an empty list.

We don't use tab in the code.

Fix http://b/viewIssue?id=2144339
2009-09-24 14:24:13 -07:00
Dmitri Plotnikov
6938bb36b8 Fixing the broken build
Change-Id: Ie7b722f2e71b51d180c95cf0d4bdbf4975e1a2be
2009-09-24 14:05:59 -07:00
Cary Clark
f18c539344 set the selection after sending a click
Webkit expects the currently focused text input to have
a set selection before it can receive key events for insertion.

Coincidentally, we always set the selection except when
using the 'next' button on the IME to switch between text fields.

The selection has to be set after the text field receives
focus, so add a setSelection() message after the click() message
is sent in passToJavaScript().

fixes http://b/issue?id=2087546
2009-09-24 16:45:24 -04:00
Dmitri Plotnikov
f22fc124ff Adding timestamp and account to contact-level presence columns.
Change-Id: I1ff4f4f5ef9b3b0deb9df3d0689ff39b4b2fd84b
2009-09-24 13:28:33 -07:00