Commit Graph

255 Commits

Author SHA1 Message Date
Dmitri Plotnikov
7cca5f8363 ContactsContract: Renaming Aggregates to Contacts 2009-07-27 20:25:59 -07:00
Dmitri Plotnikov
facbbb3783 ContactsContract: Renaming CONTACT_ID to RAW_CONTACT_ID 2009-07-27 15:18:19 -07:00
Dmitri Plotnikov
d5f56d1467 Introducing Contacts#DELETED flag. 2009-07-27 11:30:44 -07:00
Dmitri Plotnikov
2365ded446 Renaming ContactsContract.Contacts to ContactsContract.RawContacts 2009-07-27 09:36:09 -07:00
Jeff Sharkey
ef348c757d Minor naming fixes. 2009-07-26 14:14:47 -07:00
Dmitri Plotnikov
55048a980e Associating Presence with Contact rather than Aggregate. 2009-07-24 10:25:34 -07:00
Android (Google) Code Review
e60066db18 am 0e638630: Merge change 8291 into donut
Merge commit '0e6386300c958c5566d09b6a18b4338a6db3e965'

* commit '0e6386300c958c5566d09b6a18b4338a6db3e965':
  Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.
2009-07-23 16:25:44 -07:00
lknguyen
f965d1690e Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network. 2009-07-22 18:26:38 -07:00
Dmitri Plotnikov
02c5b45565 Adding contact group NOTES and SYSTEM_ID 2009-07-22 15:13:08 -07:00
Jeff Sharkey
8a0193e4ca Added StructuredPostal, renamed PACKAGE columns, cleanup.
Changed Postal to StructuredPostal, which is the new type
coming down from GData.  This also prepares us for upcoming
data sources that need a structured version.  Because of the
number of columns required, we added 3 new DATA columns.

Moved PACKAGE back to Data rows to allow multiple apps to
merge their action entries under a single Contact.  Also
renamed to RES_PACKAGE to make clear that these packages are
strictly for loading resources, and do not imply the owner.

Removed RestrictionExceptions since we narrowed the scope
of IS_RESTRICTED for Eclair.  Factored out sync columns from
Groups and Contacts into its own interface.  Fixed general
warnings in comments.
2009-07-21 19:42:08 -07:00
Android (Google) Code Review
71effba5ac am 6fb608ee: Merge change 7854 into donut
Merge commit '6fb608ee67c3ad82baf2253b87b63fff8907992a'

* commit '6fb608ee67c3ad82baf2253b87b63fff8907992a':
  Issue #1884058 (Need to only record frequency and duration for selected Google apps)
2009-07-21 14:38:26 -07:00
Dianne Hackborn
9fdbf6ae46 Issue #1884058 (Need to only record frequency and duration for selected Google apps)
Quick and dirty solution: a new --packages argument allows you to specify an explicit
set of packages to include in the dump.  There is also now a new GServices setting
that can provide a value for it.
2009-07-19 14:18:51 -07:00
Dmitri Plotnikov
761ef2a281 Contacts Data type consistency. 2009-07-17 10:53:23 -07:00
Fred Quintana
ffc34c13fb finish the group membership support 2009-07-16 11:18:03 -07:00
Dmitri Plotnikov
c991bfc53f Replicating contact option columns between Aggregate and Contact. 2009-07-15 17:31:53 -07:00
Evan Millar
b926375cda Add Uri for filtering the aggregate summary on group name.
New Uri is:

                content://com.android.contacts/aggregates_summary/group/*

Where * should be replaced by the group name.
2009-07-15 12:47:53 -07:00
Tom Taylor
2debd56b5b Add new gtalk values
Add new gservices strings for various picture related urls for GTalk.
2009-07-15 12:00:23 -07:00
Android (Google) Code Review
4573df4db0 am 5628711a: Merge change 6855 into donut
Merge commit '5628711a6f5674070da674488513d2e1b03c4959'

* commit '5628711a6f5674070da674488513d2e1b03c4959':
  Add a Gservices setting to control if we send up multipart protocol buffers
2009-07-14 18:56:39 -07:00
Android (Google) Code Review
5628711a6f Merge change 6855 into donut
* changes:
  Add a Gservices setting to control if we send up multipart protocol buffers
2009-07-14 17:20:22 -07:00
Android (Google) Code Review
6d713b7616 am 4caac2bb: Merge change 7140 into donut
Merge commit '4caac2bb4c8616edf8224408931ffc0e532537de'

* commit '4caac2bb4c8616edf8224408931ffc0e532537de':
  Add more logging to track down a monkey bug
2009-07-14 15:02:24 -07:00
Android (Google) Code Review
6a535849fb Merge change 7146
* changes:
  Fix CNAP-related NullPointerException
2009-07-14 14:48:04 -07:00
Tom Taylor
f748f22f4e Add more logging to track down a monkey bug
The monkey has found a situation where getting or creating a thread id is
failing. Add more logging code to help track down the bug.
2009-07-14 14:20:43 -07:00
Pauyl l Berman
e1dc2baee7 Fix CNAP-related NullPointerException
This will fix a CNAP-related bug where missing a call from a party with an
"Unknown" number presentation and then trying to log that call will cause
a NullPointerException to be thrown
2009-07-14 12:05:26 -07:00
Fred Quintana
ae4f31706f - add the DIRTY and VERSION columns to the ContactsProvider2 Groups contract
- make android.accounts.AccountAuthenticator into a public constant
2009-07-14 11:57:09 -07:00
Fred Quintana
0f4e1ab773 - remove an un-needed constant
- add a content provider helper that manages a table for storing sync state by account
- add contact definitions to Contacts access the sync state
2009-07-13 16:02:09 -07:00
Wei Huang
1c5e4034e4 modify Gservices setting for push messaging registration url. 2009-07-13 13:37:57 -07:00
Cynthia Wong
278a802dcd Add a Gservices setting to control if we send up multipart protocol buffers 2009-07-10 16:35:56 -07:00
Dianne Hackborn
54a26bc85f resolved conflicts for merge of 889c2d37 to master 2009-07-10 16:05:59 -07:00
Android (Google) Code Review
889c2d37f7 Merge change 6718 into donut
* changes:
  Fix bug #1873249i: Apps can DoS/brick device
2009-07-10 13:42:51 -07:00
Dianne Hackborn
854060af30 Fix bug #1873249i: Apps can DoS/brick device
This is the problem where various things are listening for broadcasts
(such as battery status, PIN/PUK/Network) that an application can send
to cause harm to the system.

Solving this is tricky because many of these broadcasts are sticky,
and I have never figured out how to do permissions with sticky
broadcasts in a sane way.  So instead, I am going to punt on the
general problem and just brute force it:

There is new a way for system components to declare specific
broadcast actions to be protected, which means that only the system
and the phone can send them.  This is good enough for now.  None
of it is exposed in the public API so we can make something a little
less stupid in the future if we ever need to.
2009-07-09 18:14:31 -07:00
Android (Google) Code Review
12f7a7b5c3 Merge change 6679
* changes:
  remove the accounts table from the ContactsProvider2
2009-07-09 17:08:15 -07:00
Android (Google) Code Review
d8980134e7 Merge change 6664
* changes:
  New sync framework: add new columns.
2009-07-09 15:46:45 -07:00
Ken Shirriff
1d6442f0ad New sync framework: add new columns.
These columns will be used by the new sync framework.  The old columns
will be removed later.
2009-07-09 15:42:56 -07:00
Fred Quintana
2714328979 remove the accounts table from the ContactsProvider2 2009-07-09 14:56:35 -07:00
Android (Google) Code Review
f00193ff7a am 8f7c7c0c: Merge change 6659 into donut
Merge commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924'

* commit '8f7c7c0c18987b1045cb73e503f82ce429a0d924':
  Add a Gservices setting to set the rate at which the home page refreshes.
2009-07-09 14:42:36 -07:00
Sanjay Jeyakumar
21bf241651 Add a Gservices setting to set the rate at which the home page refreshes. 2009-07-09 14:01:58 -07:00
Jeff Sharkey
b2909eb950 Added groups constants and visibility flags.
Wrote code to support groups and slightly modified existing
group membership definition.  Each group has a TITLE, or a
TITLE_RESOURCE which can point to a localized title from
the owning package.

Adds summary Uri with columns that describe the contents of
all returned groups, such as people counts.

Added visibility flag to groups and aggregate tables to
prepare for group management UI.
2009-07-08 12:13:54 -07:00
-b master
2eac99ccbc resolved conflicts for merge of d6fe243c to master 2009-07-07 22:55:28 -07:00
Amith Yamasani
8823c0a8c6 Backup / Restore locale preference.
Also backup development settings MOCK_LOCATION and USB_DEBUGGING.
Backup and restore more of the Audio settings. Won't work yet without a reboot.
Disable Wifi supplicant restore temporarily. It seems to be disabling Wifi due to
permissions problems.
Don't restore Ringtones.
2009-07-07 18:42:46 -07:00
Android (Google) Code Review
8091a0f3ea Merge change 5873
* changes:
  Added URI for querying event instances by day in addition to by time-millis
2009-07-07 16:24:51 -07:00
Yusuf T. Mobile
f6737d3ae0 Fix to Android issue 453 2009-07-07 12:39:58 -07:00
Cynthia Wong
be11746cb7 am 04f0b05e: Add a Gservices setting for how many times we should retry before discarding an uphill operation
Merge commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313'

* commit '04f0b05ea04a4a13d6a15b36eaa27b2ec364f313':
  Add a Gservices setting for how many times we should retry before discarding an uphill operation
2009-07-07 11:46:05 -07:00
Cynthia Wong
04f0b05ea0 Add a Gservices setting for how many times we should retry before discarding an uphill operation 2009-07-07 11:42:31 -07:00
Android (Google) Code Review
48f7d85d7b am dbee95ca: Merge change 6317 into donut
Merge commit 'dbee95cacff9d2faf30638e64abe26fbeb128787'

* commit 'dbee95cacff9d2faf30638e64abe26fbeb128787':
  Make enable/provisioning of the backup service a two-step process
2009-07-06 18:26:42 -07:00
Christopher Tate
8031a3df2f Make enable/provisioning of the backup service a two-step process
This CL adds the concept of 'provisioned' to the backup manager.  No backups
will be scheduled until the user has indicated that backups are to be enabled
*and* has clicked all the way through the setup wizard.

When the user first turns on the backup system, the delay before the initial
backup pass is different from the periodic backup interval.  Currently that
initial delay is 12 hours.  The intent here is to guess at a less-active time
for performing that first backup pass.

NOTE: currently the backup service defaults to 'provisioned'.  Once the real
code goes live in Setup Wizard, this will be changed to default to
not-provisioned until the user has confirmed all the relevant UI.
2009-07-06 17:43:03 -07:00
-b master
501eec92f9 Revert "hand rolled out 220f4d633b due to interface changes on master, the change will need to be made again"
This reverts commit f8e3ba5bfa.
2009-07-06 14:05:11 -07:00
Marco Nelissen
ff7d0e2bcc am 816cf52a: Fix the DEFAULT_SORT_ORDER value for media files. Changing this is OK, because existing app will have the old value compiled in as a literal, and so will continue to (not) work in the same way as before. Add code to media key generator to give a leading a
Merge commit '816cf52abd8f45770f0ac922bbb819184ed4b90f'

* commit '816cf52abd8f45770f0ac922bbb819184ed4b90f':
  Fix the DEFAULT_SORT_ORDER value for media files. Changing this
2009-07-06 11:54:24 -07:00
Marco Nelissen
816cf52abd Fix the DEFAULT_SORT_ORDER value for media files. Changing this
is OK, because existing app will have the old value compiled in
as a literal, and so will continue to (not) work in the same
way as before. Add code to media key generator to give a leading
ascii \001 the special meaning of "sort first".
2009-07-06 09:58:06 -07:00
The Android Open Source Project
f8e3ba5bfa hand rolled out 220f4d633b due to interface changes on master, the change will need to be made again 2009-07-03 10:51:26 -07:00
Android (Google) Code Review
133ec72f24 am 288fe16c: Merge change 6043 into donut
Merge commit '288fe16c20e2c20556839046d38c487b0b18735c'

* commit '288fe16c20e2c20556839046d38c487b0b18735c':
  System and Secure settings backup.
2009-07-03 08:58:49 -07:00