Commit Graph

590 Commits

Author SHA1 Message Date
Dmitri Plotnikov
53de90462b Adding support for "contact counts grouped by the first letter
of the sort key".

This is needed for two purposes:
1. To fix the A-Z index, specifically non-English ones and
address the issue of messed up index when sort order does not match
display order.

2. Take the first step toward the introduction of a scrolling
cursor.  When we have a scrolling cursor, we will _have_ to
build the index independently of fetching all of the data.

Bug: 2407129
Change-Id: Ie2979ff8e67446329ea6d1c2f5c9f4f215e6ec89
2010-02-17 10:57:19 -08:00
Robert Greenwalt
2a091d7aa0 Update Tethering.
Adds telephony support, async model, multiple tethered iface suport,
better notifications, device config.

bug:2413855
2010-02-16 16:56:09 -08:00
Dan Egnor
1c9131c91f Remove all traces of the old checkin service (and its associated parental
control interfaces) from the framework.
2010-02-13 12:40:12 -08:00
Daniel Sandler
0e9d2af2d6 New user interface sound effects:
- Low battery. (http://b/2320026)
 - Dock/undock events.
 - Keyguard lock/unlock events.

New system settings have been created to turn these on/off
and to specify the relevant sound files.

[Production notes: The provided low battery sound and dock
sounds were synthesized; the lock screen sounds are
processed samples of a ballpoint pen click mechanism.]

Bug: 2320026
Change-Id: I374285b0f94f59c7555bb8816580f5a8c802e90d
2010-02-12 23:26:12 -05:00
Dianne Hackborn
90d2db3d21 Add Pointer Location to the window manager.
The window manager now has pointer location built into it.
Viva la touch!
2010-02-12 13:19:06 -08:00
Mike LeBeau
1ceb79e99c Merge "Add new setting for the ComponentName of the service to be used for voice recognition on the device. Right now this just queries the package manager at boot and finds the (hopefully) single available recognizer." 2010-02-11 11:41:16 -08:00
Mike LeBeau
5d34e9b63d Add new setting for the ComponentName of the service to be used
for voice recognition on the device. Right now this just queries
the package manager at boot and finds the (hopefully) single
available recognizer.

TODO: Add an attribute to let recognition services expose a settings
activity, and expose the settings activity of the chosen recognition
service in the system settings for voice input & output.
2010-02-11 11:40:02 -08:00
Bjorn Bringert
91f2a20a59 Add content provider for browser geolocation permissions
This replaces the old Google-specific geolocation setting.

Fixes http://b/issue?id=2428694
Part of http://b/issue?id=2383870

Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0
2010-02-11 10:02:39 +00:00
Ray Chen
49ffc0ff72 Revise ThumbnailUtils API. 2010-02-11 10:26:34 +08:00
Dan Egnor
60586f2ec6 API CHANGE: Add SSLSessionCache public API to allow unbundled SSL session caching.
Generally clean up the associated SSLCertificateSocketFactory API as well,
change AndroidHttpClient to use this new thing, and make the android-common
library build SDK-clean (woo hoo).

Bug: 2362543
Bug: 2357311
2010-02-10 14:43:21 -08:00
Suchi Amalapurapu
117818e4f1 Add new manifest option for install location
Change recommendAppInstallLocation api
add code to parse new attribute.
Define flags in PackageInfo
Add new settings attributes for enabling setting and value for install location
Some tests
The policy for install location: if explicitly set in manifest as internal only we try to install the app only on internal storage. if set to preferExternal, we try to install it on sdcard if possible. If not we fall back to internal.
If the user enables setting SET_INSTALL_LOCATION(which will always
be set to false in final release builds) and sets a prefered location, we try
to honour it.
2010-02-10 08:59:08 -08:00
Ken Shirriff
2cd2374805 Merge "Make ACCOUNT_NAME/ACCOUNT_TYPE consistent." 2010-02-05 12:45:15 -08:00
Ken Shirriff
15049e46f7 Make ACCOUNT_NAME/ACCOUNT_TYPE consistent.
Some code was using "account_name" and some was using "_sync_account".
Also move definitions so they can be accessed by Event, Calendar,
and EventsEntity.

bug 2420732
2010-02-05 12:44:04 -08:00
Leon Scroggins
744d902453 Add a new permission and remove createTitleFromFilename.
Part of http://b/issue?id=2384554

Requires a change to packages/providers/DownloadProvider
2010-02-05 11:18:34 -05:00
Robert Greenwalt
d0e18ffb82 First pass at USB Tethering.
bug:2281900
2010-02-04 09:15:06 -08:00
Christopher Tate
cce9da5dc3 Add auto-restore setting and Backup Manager awareness thereof
This setting, like BACKUP_ENABLE, should never be set directly in the secure
settings database.  Instead, it should be manipulated through the new IBackupManager
method setAutoRestore(boolean).

Change-Id: I5c3226ca85b6148bb756d753d7f9e4ea76e878c4
2010-02-03 15:33:52 -08:00
Grace Kloba
e8fe0e35e5 Remove the obsolete unused hidden constant. 2010-02-01 15:08:40 -08:00
Dmitri Plotnikov
e7ace67f60 Merge "Adding system preferences for contacts: sort order and display order." 2010-01-29 17:37:05 -08:00
Ray Chen
bf124e7e41 Unhide ThumbnailUtils to support Camera unbundling.
http://b/2375978
2010-01-29 14:30:05 -08:00
Tom Taylor
5e342fa326 Remove MMS from the framework
The MMS code has been moved into the mms-common library.
Move SqliteWrapper (and make it hidden) into the database
directory because Telephony.java depends on it. Create a mmscommon
library similar to androidcommon for a number of files used both
by the telephony layer, by mms, and by myfaves.

Change-Id: I2e23e87c4961b87c42a4c8a63f812fa9e0e44dec
2010-01-28 16:59:27 -08:00
Grace Kloba
6790918497 Use a single EXTRA_HEADERS intent. 2010-01-28 09:19:10 -08:00
Grace Kloba
2fc1f4a029 Merge "Add request header support for the Browser/WebView. QSB can use this instead of POST to send the location data. After QSB makes the switch, we should also remove the POST_DATA intent which is hidden." 2010-01-27 13:41:39 -08:00
Ken Shirriff
3b16892c6b Fix ExtendedProperties EntityIterator.
The iterator was using the wrong cursor.

bug 2399618
2010-01-27 12:28:33 -08:00
Grace Kloba
d0d9bc2f2f Add request header support for the Browser/WebView.
QSB can use this instead of POST to send the location
data. After QSB makes the switch, we should also
remove the POST_DATA intent which is hidden.

Add loadUrl(String url, HashMap extraHeaders) to
WebView so that the caller can send the extra http
headers.

Remove "inline:" as no one is using it and it is a
hidden feature.

Part 1 of 3-project checkin.
2010-01-27 12:28:11 -08:00
Doug Zongker
aeb4126736 Merge "update javadoc for Settings.Secure.ANDROID_ID" 2010-01-27 09:40:23 -08:00
Doug Zongker
d8893db060 update javadoc for Settings.Secure.ANDROID_ID
Remove reference to GoogleLoginService, explain what this value is now.

Change-Id: I2359bd21d9c250245c01e26d660b133f4e469759
2010-01-27 09:39:42 -08:00
Evan Millar
1b624fa164 Merge "b/2383073 Add fine-grained status codes for failed downloads." 2010-01-27 09:26:24 -08:00
Dmitri Plotnikov
2a650dd574 Adding system preferences for contacts: sort order and display order.
We are using the system settings provider, but the preference
UI is in the Contacts app for now.

Change-Id: Iad840d131a4eb13bb745643b3c4b0234889d1202
2010-01-26 17:28:52 -08:00
Attila Bodis
f238ad7746 b/2383073 Add fine-grained status codes for failed downloads.
Introduces new download status codes (STATUS_DEVICE_NOT_FOUND_ERROR and
STATUS_INSUFFICIENT_SPACE_ERROR) to allow apps to show more accurate and
informative error messages upon failed downloads.
2010-01-26 14:52:32 -08:00
Chih-Chung Chang
017091669a Unhide brightness constants to help unbundle Camera. 2010-01-26 12:08:21 -08:00
Mark Vandevoorde
a3d5e0c5e3 Unhide the secure setting for LocationProviderEnabled
The unbundled NetworkLocationProvider needs to get/set the enabled bit
from the settings database.
2010-01-26 08:42:10 -08:00
Daniel Sandler
9d8b876c61 Add android.provider.Settings.ACTION_DEVICE_INFO_SETTINGS.
Maps to "android.settings.DEVICE_INFO_SETTINGS", which
launches the DeviceInfoSettings activity in Settings.
2010-01-26 09:59:35 -05:00
Ken Shirriff
1790c13ed6 Change calendar authority to com.android.calendar.
bug 2388178
2010-01-25 10:53:43 -08:00
Ken Shirriff
ead4f9cef5 Add SyncState class for calendar provider.
This parallels the SyncState on ContactsContract.
2010-01-22 12:26:50 -08:00
Ken Shirriff
a69a23b2a5 Use AUTHORITY constant for calendar.
This will allow the calendar authority to be changed later.

bug 2388178
2010-01-21 21:46:31 -08:00
Leon Scroggins
04ce08f34e Merge "Create a common method for updating the title of a download from the filename." 2010-01-21 13:29:32 -08:00
Leon Scroggins
fe79ef44fe Create a common method for updating the title of a download from the filename.
This method will be used by the DownloadProvider and the BrowserDownloadPage.
2010-01-21 16:19:41 -05:00
Justin Mattson
ef340357ce NEW_API: Declare an ACTION_SEARCH_SETTINGS constant in android.provider.Settings so that apps can cause this system setting group to be opened directly.
The Settings app already responds to this action it just was not exposed in the platform API.
2010-01-21 11:40:58 -08:00
Dmitri Plotnikov
918007b755 Introducing the notion of "verified name" on a raw contact.
This flag can be set by a sync adapter if it is certain that the
name is correct (a social network sync adapter would be a good example
of this).  It can also be explicitly set by the user in the Contact
Edit UI.

Bug: 2164422
Change-Id: Id46e04c28eeb0dc386adfc6ad8988dda50824e2b
2010-01-20 12:12:11 -08:00
Tom O'Neill
a351496c60 Get rid of a TODO to add documentation for now-hidden columns
Sorry, looks like I forgot to delete it in my previous CL

Change-Id: I46be98f383594654aff5a884e72505878ded3d90
2010-01-19 14:41:01 -08:00
Tom O'Neill
3baf065bc2 Merge "Find out whether we should mention behavior specific to our own provider" 2010-01-19 13:54:00 -08:00
Leon Scroggins
dcf19a8d34 String extras to be used with share page.
Provides Strings to be used as hash keys for accessing the data in
the Intent created for sharing a link.

Part of http://b/issue?id=2243246
2010-01-19 15:48:32 -05:00
Tom O'Neill
093a870005 Find out whether we should mention behavior specific to our own provider
Change-Id: Ia5d90969d72e99c8fb7f12f1c536f5e1856c59d2
2010-01-15 16:20:34 -08:00
Jean-Baptiste Queru
e99f41f193 @hide the individual members instead of the whole class
Bug: 2245521

Change-Id: I8dad1e8d4e1b55dbb9d33b6990c1bd420e914be5
2010-01-15 15:02:53 -08:00
Jean-Baptiste Queru
843e89757a Remove the BaseColumns inheritance
This is done so that it doesn't bleed into a public API

Bug: 2245521

Change-Id: I2e5f728553f074f0dc2e8a3dfdf90b1c1f189bad
2010-01-15 11:44:35 -08:00
Nicolas Catania
b8a2aafdef New method to return the last dialed number
Bug:2227429
2010-01-15 10:41:56 -08:00
Nicolas Catania
c5dfa70410 Revert "New method to return the last dialed number"
This reverts commit ac835c94b8.
2010-01-15 09:52:54 -08:00
Niko Catania
633feacf17 Merge "New method to return the last dialed number Bug:2227429" 2010-01-15 09:18:05 -08:00
Tom O'Neill
7d92d5af18 Revert a couple of deprecations to fix broken build
Will re-deprecate in a subsequent CL

Change-Id: Ibc246e2e26a68880f3fba3aff3407404f5a57ce3
2010-01-15 08:42:31 -08:00
Nicolas Catania
ac835c94b8 New method to return the last dialed number
Bug:2227429
2010-01-15 08:19:45 -08:00