3197 Commits

Author SHA1 Message Date
Android (Google) Code Review
76b8c2cbb1 Merge change 20336
* changes:
  Mods to the ContactHeaderWidget to be able to have it display strings as passed in by the caller.  For example we may want to use this in the case when there is no contact in a given circumstance.
2009-08-07 14:52:34 -07:00
Mark Wagner
23d479588f Mods to the ContactHeaderWidget to be able to have it display strings
as passed in by the caller.  For example we may want to use this in
the case when there is no contact in a given circumstance.
2009-08-07 14:51:35 -07:00
Android (Google) Code Review
f23784176f Merge change 20454
* changes:
  Added lightweight exception logging to AsyncQueryHandler.
2009-08-07 13:47:00 -07:00
Jeff Sharkey
3b7c3c6b55 Added lightweight exception logging to AsyncQueryHandler.
Without this, it's really hard to debug exceptions coming
over from a ContentProvider.  This is lightweight logging
that is only triggered by an exception, and doesn't write a
full stacktrace.
2009-08-07 13:44:09 -07:00
Android (Google) Code Review
7283fc8be6 Merge change 20428
* changes:
  Add constant for storing market backup state in shared preferences.
2009-08-07 11:07:40 -07:00
Eric Fischer
2b4cf35cdb am e6034f6c: Import revised translations.
Merge commit 'e6034f6cd8fc32641f31e5a3cf068b6d56309872'

* commit 'e6034f6cd8fc32641f31e5a3cf068b6d56309872':
  Import revised translations.
2009-08-07 11:04:10 -07:00
Christian Sonntag
058779c9bb Add constant for storing market backup state in shared preferences. 2009-08-07 10:54:46 -07:00
Eric Fischer
e6034f6cd8 Import revised translations. 2009-08-07 10:49:49 -07:00
Android (Google) Code Review
813eee115f Merge change 20424
* changes:
  Fix the scanning panic issue
2009-08-07 10:20:04 -07:00
Charles Lu
c98719313b Fix the scanning panic issue
Phone panics while streaming over A2DP and scanning for new device
BluetoothEventLoop should delete reference
2009-08-07 10:17:23 -07:00
Android (Google) Code Review
fcfd7bea4a Merge change 20357
* changes:
  Remove Voice Search constants, factored them out into the Voice Search app.
2009-08-07 09:54:02 -07:00
Android (Google) Code Review
5d1e4c4db0 Merge change 20381
* changes:
  Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.
2009-08-07 09:47:35 -07:00
Android (Google) Code Review
38028f2e28 Merge change 20383
* changes:
  As createCacheFile is called from WebCore instead of http thread now, remove the endCacheTransaction/startTransaction pairs.
2009-08-07 09:46:28 -07:00
Jeff Sharkey
bce3ab90c7 am b8560b66: Fix AppWidget layout inflation to resolve references.
Merge commit 'b8560b66fd2bdf465a8c7fad983f2236778e8106'

* commit 'b8560b66fd2bdf465a8c7fad983f2236778e8106':
  Fix AppWidget layout inflation to resolve references.
2009-08-06 21:56:53 -07:00
Jeff Sharkey
b8560b66fd Fix AppWidget layout inflation to resolve references.
When RemoteViews inflates a layout and set of actions, it
uses a cloned remote Context so it can fully access the
resources needed to complete the inflate.  However, in one
specific case when inflating the root view, LayoutInflater
calls back to the soon-to-be parent view to request the
correct set of LayoutParams through generateLayoutParams().

The default implementation of generateLayoutParams() uses
the Context of the /local/ View instead of the remote
Context being used for the inflation, which means that any
LayoutParam references in the root view are unresolved.

To fix this, we internally create our own copy of the target
remote Context.  This way, when the remote LayoutInflater
calls generateLayoutParams(), we inflate it using the remote
Context to correctly resolve any references.

This change is required as part of http://b/2038594
2009-08-06 21:53:56 -07:00
Dmitri Plotnikov
d4e0b5713a Clean-up of API for filtering contacts by phone or email. The api is now symmetrical.
Also, giving Presence.RAW_CONTACT_ID and Presence.DATA_ID unique ids to allow easy joining.  The main rationale for this is that SQLite does not allow cross-database joins in VIEWs, so we cannot hide this join inside a VIEW.
2009-08-06 20:19:29 -07:00
Grace Kloba
bf951c5afd As createCacheFile is called from WebCore instead of http thread now, remove
the endCacheTransaction/startTransaction pairs.
2009-08-06 18:44:02 -07:00
Dmitri Plotnikov
8dcd14021c Introducing default email and phone number to replace the primary ones on the Contact. 2009-08-06 18:02:30 -07:00
Android (Google) Code Review
35b8aed595 Merge change 20356
* changes:
  Add viewport meta tag to our staged failure code so that they will render correctly.
2009-08-06 17:02:00 -07:00
Grace Kloba
3ef554e6fb Add viewport meta tag to our staged failure code so that they will render correctly. 2009-08-06 16:52:14 -07:00
Alex Gruenstein
50dac8c673 Remove Voice Search constants, factored them out into the Voice Search app. 2009-08-06 16:51:51 -07:00
Karl Rosaen
332aaaf92f am a7a3b6ef: Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
Merge commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077'

* commit 'a7a3b6ef0fdaf6b17993642b76baf90a03ae0077':
  Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
2009-08-06 16:40:13 -07:00
Karl Rosaen
a7a3b6ef0f Dismiss both the soft keyboard and the search dialog on back if there is no text entered and no shortcuts are being obscured by the soft keyboard.
Fixes bug 2039508.  This makes backing out of the search dialog easier when dismissing the soft keyboard doesn't really
add any value.
2009-08-06 16:23:19 -07:00
Fred Quintana
8851e163fc - add several common kinds and beef up some others
- change the ContentProviderOperation selection backref store the backref as a long instead of as a string
2009-08-06 15:59:28 -07:00
Mike LeBeau
597543c5e7 am e303d2cf: Send a special respond to the cursor in SuggestionsAdapter to tell it to close itself directly because it may not happen correctly for some cursors currently. This fixes http://b/2036290, which is being caused by http://b/2015069 which we are not fixing f
Merge commit 'e303d2cf94da6bb7f0569fbddd6dfd5b85ed8295'

* commit 'e303d2cf94da6bb7f0569fbddd6dfd5b85ed8295':
  Send a special respond to the cursor in SuggestionsAdapter to tell it to
2009-08-06 14:55:29 -07:00
Mike LeBeau
e303d2cf94 Send a special respond to the cursor in SuggestionsAdapter to tell it to
close itself directly because it may not happen correctly for some cursors
currently. This fixes http://b/2036290, which is being caused by
http://b/2015069 which we are not fixing for Donut, so this is a hack around
that for the time being.
2009-08-06 14:52:15 -07:00
Android (Google) Code Review
b2cf27a178 Merge change 20326
* changes:
  Fix build.
2009-08-06 14:08:37 -07:00
Dianne Hackborn
73cf55d963 Fix build. 2009-08-06 14:07:39 -07:00
Android (Google) Code Review
d44364fe57 Merge change 20306
* changes:
  Fix crash when MotionEvent is initialized with more than 2 fingers, and bump its initial size to allow for up to 5 fingers.
2009-08-06 13:50:41 -07:00
San Mehat
d87c19f7d7 am 7e63789a: android: cgroups: Don\'t switch threads >= nice 10 when moving all threads to default
Merge commit '7e63789a0e0689d940609b1daceebc1bc08dcbef'

* commit '7e63789a0e0689d940609b1daceebc1bc08dcbef':
  android: cgroups: Don't switch threads >= nice 10 when moving all threads to default
2009-08-06 13:29:41 -07:00
San Mehat
7e63789a0e android: cgroups: Don't switch threads >= nice 10 when moving all threads to default
Signed-off-by: San Mehat <san@google.com>
2009-08-06 13:19:19 -07:00
Jeff Sharkey
6bfe14dea2 Add SHOW_OR_CREATE size modes, trigger from contact header.
Added constants so that apps triggering SHOW_OR_CREATE can
request a desired size through EXTRA_MODE.  Also added hooks
to internal ContactHeaderWidget to launch SHOW_OR_CREATE
when user taps on photo.
2009-08-06 13:07:20 -07:00
Grace Kloba
e397a88e4f Couple of tuning for the Browser zoom.
1. Added a setting to control whether a page is loaded with overview mode;
2. If there is no viewport metag tag, a page will be loaded in the viewport
   at least 800px wide.
3. When we adjust zoom scale in the overview mode, don't use animation.
4. When zoom out to close to min zoom scale, switch to overview mode. So double
   tap will always have visual feedback unless it is mobile site.
2009-08-06 13:06:10 -07:00
Android (Google) Code Review
b65aca2463 Merge change 20284
* changes:
  Use multi-pointer support to improve 2-thumb typing. No more missed keys!
2009-08-06 12:59:41 -07:00
Android (Google) Code Review
4147f49cf9 Merge change 20290
* changes:
  gps: Add GpsStatus.NmeaListener interface for receiving NMEA sentences.
2009-08-06 12:48:08 -07:00
Dianne Hackborn
1e8dfc73fb Fix crash when MotionEvent is initialized with more than 2 fingers, and bump
its initial size to allow for up to 5 fingers.
2009-08-06 12:43:01 -07:00
Mike Lockwood
b16e7800be gps: Add GpsStatus.NmeaListener interface for receiving NMEA sentences.
NMEA sentences are passed from the GPS engine to the GpsLocationProvider.
They are then sent via the IGpsStatusListener binder interface to clients
using the same path as the other GPS status information.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-06 15:05:07 -04:00
Amith Yamasani
e877ec632c Use multi-pointer support to improve 2-thumb typing. No more missed keys!
Also reduce garbage when switching between keyboards.
2009-08-06 11:32:06 -07:00
Derek Sollenberger
1bd20523ef adding ability to fix the size of a surface view when created. 2009-08-06 11:41:36 -04:00
Andrei Popescu
bf70afa212 Do not merge
Fix for 1900694: create the full path to the Gears permission database file so SQLite can actually create the database on the device
2009-08-06 14:46:59 +01:00
Android (Google) Code Review
9488437b4f Merge change 20240
* changes:
  First bit of wallpaper work.
2009-08-05 21:39:14 -07:00
Dianne Hackborn
8cc6a5026a First bit of wallpaper work.
This is mostly refactoring, adding a new WallpaperManager class that takes care
of the old wallpaper APIs on Context, so we don't need to pollute Context with
various new wallpaper APIs as they are needed.  Also adds the first little
definition of a wallpaper service, which is not yet used or useful.
2009-08-05 21:29:42 -07:00
Dianne Hackborn
d41ba666d1 Fix documentation. 2009-08-05 15:30:56 -07:00
Android (Google) Code Review
d657b72aeb Merge change 20126
* changes:
  Removing SyncColumns from Contact - they were put there by accident.
2009-08-05 14:22:41 -07:00
Android (Google) Code Review
46e1198c9e Merge change 20146
* changes:
  Calendar attendee support: add columns.
2009-08-05 14:22:05 -07:00
Ken Shirriff
79f0c56b63 Calendar attendee support: add columns.
Add HAS_ATTENDEE_DATA and OWNER_ACCOUNT column names to the provider classes.
2009-08-05 13:29:42 -07:00
Android (Google) Code Review
b1d39aae13 Merge change 9649
* changes:
  Finish implementation of multiple pointer support for MotionEvent.
2009-08-05 12:36:11 -07:00
Dmitri Plotnikov
c9ec66b68b Removing SyncColumns from Contact - they were put there by accident. 2009-08-05 12:11:22 -07:00
Android (Google) Code Review
9d1a3149f3 am d4543c51: Merge change 20108 into donut
Merge commit 'd4543c519b7724841eb77bb57ff360e6c40cd69a'

* commit 'd4543c519b7724841eb77bb57ff360e6c40cd69a':
  Guard against remote process dying when retrieving column from cursor.
2009-08-05 10:43:47 -07:00
Karl Rosaen
cbd7fa57ee am 69423302: Remove the menu from the search dialog since there are a couple of issues with it we don\'t have time to fix for donut.
Merge commit '6942330251cd778f85169c6265c584648b42428d'

* commit '6942330251cd778f85169c6265c584648b42428d':
  Remove the menu from the search dialog since there are a couple of issues with it we don't have time to fix for donut.
2009-08-05 10:41:25 -07:00