Commit Graph

532 Commits

Author SHA1 Message Date
Ken Shirriff
bfd2df21ea Merge "Fix calendar sync_account / type constants to be consistent." 2010-01-12 13:47:07 -08:00
Ken Shirriff
53becd92b5 Fix calendar sync_account / type constants to be consistent.
The EventsEntity names need to match the rest of the Calendar names.
2010-01-11 16:55:17 -08:00
Tom O'Neill
244327e209 Improve ContactsContract documentation, esp. of Data inner class
Provide some missing javadoc, make some things a little more explicit, etc.

Change-Id: Ibcdeaa10c641436009a3494b18cecae6f816b75e
2010-01-11 15:49:59 -08:00
Dan Egnor
42471dd555 Simplify & update ANR logging; report ANR data into the dropbox.
Eliminate the per-process 200ms timeout during ANR thread-dumping.
Dump all the threads at once, then wait for the file to stabilize.
Seems to work great and is much, much, much faster.

Don't dump stack traces to traces.txt on app crashes (it isn't very
useful and mostly just clutters up the file).

Tweak the formatting of the dropbox dumpsys a bit, for readability,
and avoid running out of memory when dumping large log files.

Report build & kernel version with kernel log dropbox entries.
2010-01-11 14:51:22 -08:00
San Mehat
87734d3bc1 Settings: Add settings for MountService prefs and bump DB version to 46
Adds 4 new Settings:
    Secure.MOUNT_PLAY_NOTIFICATION_SND - Play notification sound on events
    Secure.MOUNT_UMS_AUTOSTART         - Auto-start UMS when host detected
    Secure.MOUNT_UMS_PROMPT            - Show notification when host detected
    Secure.MOUNT_UMS_NOTIFY_ENABLED    - Show notification while UMS enabled

These settings are also added to the Settings backup list

Signed-off-by: San Mehat <san@google.com>
2010-01-08 12:55:22 -08:00
Erik Pasternak
660cc3461a Merge "b/2293263 Finished removing busyBits references." 2010-01-08 10:45:35 -08:00
Doug Zongker
c2a5d96b5d Merge "remove Settings.Gservices" 2010-01-08 08:41:17 -08:00
Chih-Chung Chang
624d39dd81 Unhide intent extra constants for Camera. 2010-01-08 12:31:16 +08:00
Doug Zongker
aed8f8eb14 remove Settings.Gservices
Move the last few keys to secure settings, and delete the Gservices
table.

Change-Id: Ie3ba45aa8c1f220824aa027c547cb82884452eb5
2010-01-07 18:24:48 -08:00
Erik
b85513ba9c b/2293263 Finished removing busyBits references.
Removed the rest of the busyBit functionality. Along with other changes all busyBits
uses should now be removed.
2010-01-07 16:52:29 -08:00
Doug Zongker
edc5189c33 change remaining frameworks/base Gservices to Secure settings
Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
2010-01-07 15:00:37 -08:00
Doug Zongker
43866e0c48 move some system services from gservices to secure settings
Change-Id: Ie2dfb99a2b42b2cc9310b858c044d8684e3493fa
2010-01-07 14:20:39 -08:00
Erik Pasternak
6414970ac7 Merge "b/2358627 and b/2293263 Fixed eventDay bugs." 2010-01-07 13:52:08 -08:00
Dirk Dougherty
1c819a5e3e am 5f6002ec: am d71c2aa1: Merge "SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files." into eclair
Merge commit '5f6002ec5f52ed164b591cf4b267fe771a81731f'

* commit '5f6002ec5f52ed164b591cf4b267fe771a81731f':
  SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.
2010-01-07 12:37:15 -08:00
Dirk Dougherty
4e7db25687 SDK doc change: add "Optimizing Judiciously" excerpt to best practices. Clean up blockquote usage in other files.
Bug: 2160782
Change-Id: I537194ecddc53d4f0e8456ce958ae8db6f521593
2010-01-07 12:05:01 -08:00
Erik
bd8e2e20a9 b/2358627 and b/2293263 Fixed eventDay bugs.
Changed query so that all days an event occurs on can be marked. Also
fixes index out of bounds error.
2010-01-07 11:56:46 -08:00
Doug Zongker
f68888951a move Watchdog's settings from Gservices to Secure
Change-Id: Iac1146dafa12f9247874514c9aeefa5f8f83933d
2010-01-06 16:38:14 -08:00
Marco Nelissen
592632562a Unhide some MediaStore things that should be public. 2010-01-05 12:56:04 -08:00
Erik
3763464e8f b/2293263 Replaced busybit functionality with eventDay functionality.
Made changes to start stripping out busybits and replace them with checks only to see if an event eists on a given day.
This file ties into several other areas so not all busybits references were removed and those that were have been
commented out to make it easier to find errors.
2010-01-04 16:29:15 -08:00
Marco Nelissen
9a488b44cb MediaFile.UNKNOWN_STRING -> MediaStore.UNKNOWN_STRING 2010-01-04 15:09:03 -08:00
Marco Nelissen
ed297a8417 Add the UNKNOWN_STRING definition to MediaStore. It will be removed
from MediaFile once I've updated the code that uses it.
2010-01-04 13:24:31 -08:00
Eric Laurent
a0b517609d am 68e9014e: am 484d2888: Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
Merge commit '68e9014e47f7350b3889e1704dde809b2a926968'

* commit '68e9014e47f7350b3889e1704dde809b2a926968':
  Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
2009-12-27 16:33:17 -08:00
Eric Laurent
484d288868 Fix issue 2299360: Change in in-call volume affects the Bluetooth in-call volume and vice versa.
Add a separate system settings entry for bluetooth SCO volume.
2009-12-22 10:10:24 -08:00
Dan Egnor
60d8762413 DropBox logging of app & system server crashes.
The crashes are also reported to the event log (and of course the
main logcat, like they always have been).  Ordinary Log.e(t,m,e) isn't dropboxed
but there's a new Log.wtf() which always is.  (Still @pending in this change.)

Add a hook to IPowerManager to crash the system server on demand
(only for apps with REBOOT permission, since it's basically a restart).
This is not exposed in PowerManager, must be invoked directly -- mostly
this is there so "Bad Behavior" in dev tools can do it.
2009-12-21 16:03:19 -08:00
Jeff Sharkey
223bd7af98 Fix javadoc reference to ContactsContract.Contacts. 2009-12-21 14:51:19 -08:00
Jeff Sharkey
a503f6f7cf Adjust for compatibility mode before setSourceBounds().
When invoked from an anyDensity="false" or pre-Donut app,
View.getLocationOnScreen() returns values in compatibility
mode.  This change fixes QuickContact and RemoteViews to
always adjust based on CompatibilityInfo.applicationScale.

Also deprecates an extra previously being used to pass
Rect for QuickContact windows.

Fixes http://b/2306495
2009-12-21 14:18:09 -08:00
Dmitri Plotnikov
b4413fa3c6 Clean-up of naming of the new Contact/Name columns
Change-Id: I52316b365c4299dddbfb2972459a37893413bd8b
2009-12-21 10:18:53 -08:00
Jeff Hamilton
bde0716dac resolved conflicts for merge of 08ace2e0 to master 2009-12-17 15:17:54 -06:00
Jeff Hamilton
f3960b1271 Remove the IM provider contract class.
Change-Id: Ia644689021aca3e429d42727dfd6262b6986dfd2
2009-12-17 13:47:36 -06:00
Christopher Tate
17b7ffe9ce Do not back up / restore the END_BUTTON_BEHAVIOR setting
If something had backed up this setting in the 'do nothing' state, a restore of
that dataset could render a device without a hard END key unusable.  There's no
clear reason to want to restore this value anyway, so we no longer back it up,
nor apply it at restore time even if the dataset contains it.

Bug: 2326562
2009-12-16 16:58:19 -08:00
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