Commit Graph

502 Commits

Author SHA1 Message Date
Michael Chan
cdaeafd440 b/2224837 Changed the plumbing of how alerts/notifications work.
Instead of processing each notification separately event (scheduling an alarm with AlarmManager for each event, posting notification to NotificationManager for each event, etc), only one alarm should be fired for each wake-up time. AlertService will look through the CalendarAlerts table and decides how to update the notication manager. This is more efficient and simplifies the codecode. It is also the long-term fix to elimiate overlapping notification ring tones e.g. DrooDrooDrooooid b/2194249

Also consolidated alarm scheduling code to one place.

Change-Id: If58ce278d55b28abad703f8aeee466d44952fcd0
2009-12-15 15:24:34 -08:00
Dmitri Plotnikov
3170f9a7cf Fixing broken javadoc.
Change-Id: Ic5206054281919888943d036d9f6772ea2e63c5b
2009-12-15 13:54:28 -08:00
Dmitri Plotnikov
07ab85b338 Introducing fields for capturing national specifics of contact names.
Change-Id: Ia848390b9a74c5eb1a5a45a0b909a40307beb9ab
2009-12-15 11:58:11 -08:00
Android (Google) Code Review
98d1803d4d Merge change I11f66b41 into eclair-mr2
* changes:
  Remove unused SOURCE_ID constant.
2009-12-15 09:33:17 -08:00
Fred Quintana
274dc9d35f moved the hidden sync helpers out of the framework 2009-12-14 16:33:13 -08:00
Ken Shirriff
11f66b412f Remove unused SOURCE_ID constant. 2009-12-14 14:19:43 -08:00
Ken Shirriff
b5343691e1 Add account name / type query parameters for calendar Events. 2009-12-11 15:33:25 -08:00
Dan Egnor
b7f0367cec Eliminate CrashData and friends.
(CrashData was a custom-marshalled crash-info class used for a server crash
reporting system I am deprecating).  Use ApplicationErrorReport.CrashInfo
instead to report crash details (mostly the stack trace) from RuntimeInfo to
ActivityManagerService, since we're likely to need the crash information in
that form anyway.

Remove the (long-disabled) flags and support for the "Debug" button
in the crash dialog.

Further gut the ICheckinService interface by removing the crash-reporting
APIs (and everything that calls them), plus the synchronous checkin()
method (which has been stubbed out for a while now).

A new dropbox-based crash reporting system is in the works, but not part
of this change.
2009-12-11 13:27:04 -08:00
Ken Shirriff
930ab3d955 Fix broken sdk build.
Fix link in javadoc.
2009-12-11 11:12:44 -08:00
Fred Quintana
97ef7637c6 - move the EventLog stuff out of ATSA
- move the google calendar sync adapter settings out of Settings.java
2009-12-10 11:16:18 -08:00
Android (Google) Code Review
7cd4029473 Merge change I2cb78a66 into eclair-mr2
* changes:
  Add convenience function to MediaStore to move a playlist item to a different location.
2009-12-09 14:22:47 -08:00
Fred Quintana
328c0e7986 - removed the concept of Entity from the ContentProvider APIs
- removed the parcelling ability from Entity and EntityIterator and made them public
- added an EntityIterator abstract implementation that allow easy wrapping of a Cursor
- changed the VCard code to use the new APIs
2009-12-09 10:30:18 -08:00
Marco Nelissen
6b0ca01565 Add convenience function to MediaStore to move a playlist item
to a different location.
2009-12-09 09:30:59 -08:00
Paul Westbrook
286b191d30 Deleted Gmail.java from frameworks. Previously it had been moved to vendor/google/.../Gmail/... 2009-12-08 15:43:56 -08:00
Android (Google) Code Review
4850b5cd74 Merge change I20d77880 into eclair-mr2
* changes:
  Make Gservices setting constants public.
2009-12-03 12:10:12 -08:00
Dmitri Plotnikov
780211a9a7 Fixing broken build
Change-Id: Iead6eb44261c2415731bc8cfec53fc48c4c13fa8
2009-12-02 22:01:40 -08:00
Takaoka G. Tadashi
d5b325aaac Add WSP header to WAP_PUSH_RECEIVED intent in addition to data
Import CL 146651 from //branches/cupcake_dcm
2009-12-03 11:01:59 +09:00
Android (Google) Code Review
bbdba6414f Merge change Icae1a990 into eclair-mr2
* changes:
  Adding NAME_RAW_CONTACT_ID column to Contacts.
2009-12-02 17:55:39 -08:00
Ken Shirriff
20d778805c Make Gservices setting constants public. 2009-12-02 16:48:33 -08:00
Android (Google) Code Review
ba1a071794 Merge change I6430912f into eclair-mr2
* changes:
  New constants for db upgrade.
2009-12-02 11:30:34 -08:00
Amith Yamasani
42c4c58900 am a9791d30: Merge change Iae3ed706 into eclair
Merge commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc' into eclair-mr2

* commit 'a9791d304b8ec03e04ad4533b1820a64794e1bcc':
  Add new setting for notification light pulsing. Bug #2238250
2009-12-02 09:50:40 -08:00
Amith Yamasani
ae3ed70670 Add new setting for notification light pulsing. Bug #2238250
New System setting and code to set the defaults on upgrade.
2009-12-01 19:02:05 -08:00
Dmitri Plotnikov
9618608708 Adding NAME_RAW_CONTACT_ID column to Contacts.
Change-Id: Icae1a99017a2165c30c7c78b7de77e39a73743b4
2009-12-01 14:36:11 -08:00
Mark Wagner
742f9cbd76 New constants for db upgrade. 2009-12-01 10:08:06 -08:00
Leon Scroggins
331c7788a8 Store info in the bookmarks/history database on whether it was a manually entered url.
Requires a change in packages/apps/Browser

Fix for http://b/issue?id=2281371
2009-11-27 12:14:47 -05:00
Dan Egnor
799f721fcb Fix a bug in the Settings contract class (introduced in an ... iffy ... fix
to a race condition) that breaks the caching of non-existent Settings/Secure/
Gservices values (causing lots of unnecessary database queries).

Fix a dumb thinko (reversed condition) in the SQLiteDatabase logging.
2009-11-24 16:57:44 -08:00
Fred Quintana
2464acc6da moved the gdata library to vendor/google 2009-11-24 10:42:00 -08:00
Fred Quintana
53e3a20e41 move SubscribedFeeds to GSF 2009-11-23 13:18:07 -08:00
Dan Egnor
1691f3d3e8 Add CPUFREQ_STATS event tag
DO NOT MERGE
2009-11-21 11:11:09 -08:00
Ken Shirriff
f8c2bb36f7 Add gservices flags for calendar sync. 2009-11-20 14:27:58 -08:00
lknguyen
194f080892 Add Gservices flag so that Market can turn on performance logging for specific groups. 2009-11-18 16:12:51 -08:00
Dan Egnor
ded0e6447e Create android-common static library which gets included in frameworks.jar,
but can also be used by unbundled apps.  Move android.text.util.Regex there as
a starting example, renamed to a more sensible (?) com.android.common.Patterns.
Set up a corresponding test package, and move RegexTest (to PatternsTest).
Update clients.
2009-11-18 12:05:04 -08:00
Wink Saville
db9f06d9c4 resolved conflicts for merge of 2a1e9641 to eclair-mr2
Change-Id: Ie1e1e686a7ef26a8a3f583c9660930eb16ca2659
2009-11-12 22:44:11 -08:00
Android (Google) Code Review
2a1e96412c Merge change Ie122606f into eclair
* changes:
  Add code to use Gservices provided values for throtting NITZ updates.
2009-11-12 15:12:08 -08:00
Dmitri Plotnikov
b1c62ebf92 am ca203475: Merge change Ifcf20541 into eclair
Merge commit 'ca20347543797a67b48a369f9b901cecabd231e3' into eclair-mr2

* commit 'ca20347543797a67b48a369f9b901cecabd231e3':
  New Javadoc for ContactsContract.
2009-11-11 18:53:42 -08:00
Dmitri Plotnikov
dbe449e522 New Javadoc for ContactsContract.
Change-Id: Ifcf20541fda7449f1954f2021c53be3eb672e7ee
2009-11-11 18:48:19 -08:00
Wink Saville
ce9b59f0ba Add code to use Gservices provided values for throtting NITZ updates.
bug: 2251845
Change-Id: Ie122606fb852868bb76a9930bb5e6ba906273619
2009-11-11 16:33:50 -08:00
Dan Egnor
6139bf60e8 Add AGGREGATION_INTERVAL_SECONDS (fixing the build) 2009-11-11 15:46:32 -08:00
Cynthia Wong
4ff960006f new gservices flag for delaying bad gmail operations 2009-11-09 09:42:14 -08:00
Android (Google) Code Review
d874afb84d Merge change I218bca82 into eclair-mr2
* changes:
  Avoid calling MediaProvider for MINI_KIND thumbnail unless really necessary.
2009-11-06 23:53:51 -05:00
Android (Google) Code Review
883be83eab Merge change I2effb21e into eclair-mr2
* changes:
  Add UPDATE_ACTION to Gservices, used by the new checkin service.
2009-11-06 16:08:38 -05:00
Ray Chen
f9a243d4a8 Avoid calling MediaProvider for MINI_KIND thumbnail unless really necessary. 2009-11-06 10:39:51 -08:00
Dan Egnor
2effb21e89 Add UPDATE_ACTION to Gservices, used by the new checkin service. 2009-11-05 20:08:49 -08:00
Ken Shirriff
5b387e16f7 Calendar: add CALLER_IS_SYNCADAPTER parameter. 2009-11-05 15:24:18 -08:00
Vasu Nori
272af00768 a possible fix for the bug http://b/issue?id=2200637 2009-11-04 16:26:55 -08:00
Tom Taylor
e867218433 Add error code column to SMS
Also add code to save an error code in the DB.
2009-10-28 14:38:44 -07:00
Jaikumar Ganesh
9fa7048ca3 am 6158038a: Merge change I2811f162 into eclair
Merge commit '6158038a09069bc178970160d4b3667573bfc655' into eclair-mr2

* commit '6158038a09069bc178970160d4b3667573bfc655':
  Add Authentication Type field to the APN settings.
2009-10-28 10:30:11 -07:00
Jaikumar Ganesh
2811f1625e Add Authentication Type field to the APN settings.
Use auth type to setup data connection.
This value defaults to -1 (unset) to maintain compatibility.
When the value is -1, the auth type gets set to 0 (if no user is specified)
or 3.
Bug: 181700
2009-10-26 13:11:55 -07:00
Mike Lockwood
2086152c1b am f55aa972: Merge change I01935be3 into eclair
Merge commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542' into eclair-mr2

* commit 'f55aa972f9911c6aafc9fbdb736bdec11e004542':
  Remove PowerManager.setAutoBrightness()
2009-10-16 09:38:03 -07:00
Mike Lockwood
dc3494e3d8 Remove PowerManager.setAutoBrightness()
We will use the System.SCREEN_BRIGHTNESS_MODE Settings value instead.
Add SCREEN_BRIGHTNESS_MODE_MANUAL and SCREEN_BRIGHTNESS_MODE_AUTOMATIC constants.

Change-Id: I01935be3fcb48cf76392d2c594205cb47babc5b2
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-10-16 07:42:26 -07:00