Commit Graph

410 Commits

Author SHA1 Message Date
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
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
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
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
Fred Quintana
f580841526 rename misc to birthday 2009-09-24 16:39:17 -07: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
Dmitri Plotnikov
f22fc124ff Adding timestamp and account to contact-level presence columns.
Change-Id: I1ff4f4f5ef9b3b0deb9df3d0689ff39b4b2fd84b
2009-09-24 13:28:33 -07:00
Android (Google) Code Review
a3a840f9dd Merge change 26830 into eclair
* changes:
  Coloring clicked-on links
2009-09-24 13:33:27 -04:00
Amith Yamasani
c15255a979 Add a PRIVACY_SETTINGS action to launch the new Privacy settings screen. 2009-09-24 10:24:04 -07:00
Leon Clarke
9c8d886bb7 Coloring clicked-on links
Following review comments

Merging in ben's change

Whitespace
2009-09-24 18:22:51 +01:00
Jeff Hamilton
f852698cc3 Make the new ContactsContract APIs public.
Also, squelch warnings that were caused by the
deprecation of the old Contacts APIs.

Change-Id: I91d2804de4b653003cd5504ff0f770c01a6332ef
2009-09-24 11:36:03 -05:00
Andrei Popescu
354eb66673 Add possibility to customize the chooser dialog used to allow the user to choose the application for sharing a link. 2009-09-24 14:27:59 +01:00
Jeff Sharkey
63697af83b Generalize DELAY_STARRED_UPDATE location. 2009-09-24 01:26:22 -07:00
Jeff Sharkey
26d48eb38e Add Groups query parameters for delaying STARRED update.
Part of fixing http://b/2075275
2009-09-24 01:15:19 -07:00
Jeff Hamilton
0c23212ebd Re-hide the contacts APIs, the droiddoc build is failing.
Change-Id: I1d1e73924e26045ad137a19c32976ecfe68c7d49
2009-09-24 00:26:50 -05:00
Jeff Hamilton
85abdc59c3 Make the new ContactsContract public.
It replaces the now deprecated Contacts APIs.

Change-Id: Id65ff35d78cb79740cdc4c94388cc965ce4f2f2d
2009-09-23 22:41:59 -05:00
Android (Google) Code Review
f017167f52 Merge change 25794 into eclair
* changes:
  Remove the GDD Gservices setting.
2009-09-23 16:37:57 -04:00
Sanjay Jeyakumar
b34a3a0805 Remove the GDD Gservices setting. 2009-09-23 13:34:20 -07:00
Ray Chen
00c575a3fc Add new thumbnail API. 2009-09-23 11:23:45 -07:00
Wei Huang
d588cb7fc3 add definition for Mms.TempStorage content uri and filename.
Change-Id: Idfab085f2ecc8c7c835208805ccf1d94d6380780
2009-09-23 09:51:49 -07:00
Dmitri Plotnikov
0fc0244e80 [Issue 2097207] Adding filtering capability to aggregation suggestions
Change-Id: Ifce36286d2f573e69f872432cc34a1fca0311e02
2009-09-21 18:47:33 -07:00
Jeff Sharkey
88a83d3f10 Update getDisplayLabel() API to support new types.
We recently added several new phone types, and this change
updates the API that resolves thoses types to strings.  It
also uses unique string resources for each type, instead of
relying on types to be <string-array> indexes.

Fixes http://b/2118886
2009-09-21 13:27:38 -07:00
Dmitri Plotnikov
15e2669fcd Moving DISPLAY_NAME to column "data1" to keep it "aligned" with other data types.
This is a minor optimization for the sake of the aggregator.  The aggregator now relies on the display name
instead of structured components. As a result, we only need one column from the data table
for the structured name.  For other data types it's data1. Might as well use the same column
for display name.

Change-Id: Ib22d1f1a7a91f12716d1a460e1578f01926c393a
2009-09-21 09:30:13 -07:00
Android (Google) Code Review
7d9db612bd Merge change 25885 into eclair
* changes:
  handle calendars with an access level of "root"
2009-09-20 15:14:16 -04:00
Android (Google) Code Review
d163f4babe Merge change 25853 into eclair
* changes:
  Don't back up / restore certain sync-related settings
2009-09-20 13:28:41 -04:00
Dmitri Plotnikov
abf15c30c1 Adding CONTENT_TYPE to CommonDataKinds.Email
Also removing deprecated API

Change-Id: Ie3bd17282bf57c3a73497c91ce233ed135c79502
2009-09-18 20:29:45 -07:00
Debajit Ghosh
2dcaafd167 handle calendars with an access level of "root" 2009-09-18 18:29:37 -07:00
Dmitri Plotnikov
0dc9841821 ContactsContract: Adding joined columns to the CommonDataKind class definitions.
The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   Data.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Data.DISPLAY_NAME, // 5
};

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
   Phone._ID, // 0
   Phone.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Phone.DISPLAY_NAME, // 5
};

Change-Id: I2e84bca3277aeef06eec20cee8c2119ef3b90a9f
2009-09-18 17:48:27 -07:00
Christopher Tate
a286f41908 Don't back up / restore certain sync-related settings
In particular, this no longer attempts to back up the on/off state of specific
backend syncing [gmail/contacts/calendar], nor the "background data" toggle.
The former was causing a great deal of spurious trips through backup as the
notification was being tickled during general sync operation, and the latter
makes little sense at restore time.

Fixes these issues:

b/2097613 - frequent "backup_data_changed" messages in event log
b/2131662 - should not backup background data, master sync settings
2009-09-18 15:56:14 -07:00
Dmitri Plotnikov
de71cb3b6f ContactsContract: Adding joined columns to the Data class definition.
The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   RawContacts.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   Data.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Data.DISPLAY_NAME, // 5
};

Change-Id: I03bfc700e4c8c58a175bc885bf7b807d7fed0744
2009-09-18 15:54:26 -07:00
Dmitri Plotnikov
ea36747114 Revert "ContactsContract: Adding joined columns to the Data class definition."
This reverts commit dd768a6a73.
2009-09-18 15:04:58 -07:00
Dmitri Plotnikov
dd768a6a73 ContactsContract: Adding joined columns to the Data class definition.
The rationale is this.  Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        RawContacts.CONTACT_ID,     // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Contacts.DISPLAY_NAME,      // 5
    };

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

    private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        Data.CONTACT_ID,            // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Data.DISPLAY_NAME,          // 5
    };

Change-Id: I820e68efd6c1364241596f826c4da1b9c2defe11
2009-09-18 13:53:49 -07:00
Jacek Surazski
a233943cb1 Add a Gservices setting to controll the app error reporting feature. 2009-09-18 15:01:26 +02:00
Jeff Sharkey
0050ee3639 Adopt new FastTrack API for internal widget, fix bugs.
Change internal widget to use new FastTrack API instead of
using SHOW_OR_CREATE.  Also reset the internal Uri when
reused in lists.  Fixes http://b/2087222
2009-09-17 23:59:08 -07:00
Android (Google) Code Review
e9506e3684 Merge change 25561 into eclair
* changes:
  Add Gservices settings required for carrier billing.
2009-09-17 17:56:31 -04:00
Sanjay Jeyakumar
8cbaa832ae Add Gservices settings required for carrier billing. 2009-09-17 14:47:43 -07:00
Jeff Sharkey
6449eb06ac Added API for triggering FastTrack.
I added a new API to help us move away from launching
FastTrack through SHOW_OR_CREATE.  For now it's going to
still pass through as an Intent with extras, but in the
future this could be used to launch a Window from a system
service.

Partially fixes http://b/2087222
2009-09-17 13:57:33 -07:00
Android (Google) Code Review
70db3a20cf Merge change 25414 into eclair
* changes:
  refactor copy-and-paste email address filtering code. add a column to Calendar.Events contract class.
2009-09-17 13:53:37 -04:00
Jeff Hamilton
8d570b3a24 Don't crash if the cursor is null.
Change-Id: Ibbacc97f781c1485599a5e11217527930d97fe2d
2009-09-17 11:52:43 -05:00
Debajit Ghosh
4c8b3594a6 refactor copy-and-paste email address filtering code.
add a column to Calendar.Events contract class.
2009-09-16 20:38:18 -07:00
Android (Google) Code Review
81521abea1 Merge change 25431 into eclair
* changes:
  Add "MMS" to common phone number types.
2009-09-16 22:56:57 -04:00
Jeff Sharkey
d5abd46059 Add "MMS" to common phone number types.
Partially fixes http://b/2092744
2009-09-16 19:54:29 -07:00
Cynthia Wong
cac138274c Add new Gservices setting for discarding uphill ops for eclair and future devices. 2009-09-16 10:47:42 -07:00
Jeff Sharkey
97bda4c5ae Flag indicating if Contacts source has any unsynced groups.
Part of fixing http://b/2084771
2009-09-15 23:15:23 -07:00
Jeff Sharkey
42fc2c6f0a Fix NPE when provider returns null cursor.
Fixes http://b/2051283
2009-09-15 19:53:51 -07:00
Android (Google) Code Review
0ae011b6f6 Merge change 24990 into eclair
* changes:
  change to use the new CALLER_IS_SYNCADAPTER flag
2009-09-15 15:26:42 -04:00
Dan Murphy
951764b970 Add automatic lighting control framework
Add changes to have the ability to turn on and off the
automatic light sensing for the device.  This is fully configurable
and is by default not  present.  Vendors should override the ALS setting
to enable the automatic lighting controls.

These changes will add a check box to the Brightness settings menu to give control
to the user to allow the device's display lighting to be controlled via the slide bar
or the auto lighting system.

If the user selects auto then the slide bar will become invisible.  Manual mode
will present the slide bar to the user.

Change-Id: I146a6d75b99b08c9b839218ce6b85adf21f9fd73
Signed-off-by: Dan Murphy <D.Murphy@motorola.com>
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-15 02:29:15 -04:00