summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | Merge change 4264 into donutAndroid (Google) Code Review2009-06-1520-59/+0
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentally reintroduced in an errant and clumsy git merge operation.
| * | | | | | | Fix the build: Remove ADD_SYSTEM_SERVICE, which I had accidentallyDan Egnor2009-06-1520-59/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reintroduced in an errant and clumsy git merge operation. Also remove permission label and description strings for now-deleted permissions FOTA_UPDATE and (within the SettingsProvider package) WRITE_GSERVICES.
* | | | | | | | Merge change 4237 into donutAndroid (Google) Code Review2009-06-151-3/+6
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | * changes: Remove obsolete FOTA_UPDATE permission (which should never have been made public, and wouldn't be used by any third party applications, and no longer does anything regardless).
| * | | | | | | Remove obsolete FOTA_UPDATE permission (which should never have beenDan Egnor2009-06-151-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | made public, and wouldn't be used by any third party applications, and no longer does anything regardless). Also remove the WRITE_GSERVICES permission from the SettingsProvider package's manifest (the declaration there was redundant with the one in the core manifest, where all the other settings-related permissions live -- no other core package includes its own permission definitions).
* | | | | | | | hide the new constant as it is pending api approvalGrace Kloba2009-06-151-0/+3
|/ / / / / / /
* | | | | | | Merge change 4252 into donutAndroid (Google) Code Review2009-06-151-3/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add more comment for EXTRA_APPEND_LOCATION
| * | | | | | | Add more comment for EXTRA_APPEND_LOCATIONGrace Kloba2009-06-151-3/+5
| | | | | | | |
* | | | | | | | Merge change 4248 into donutAndroid (Google) Code Review2009-06-1517-89/+0
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.
| * | | | | | | Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.Dianne Hackborn2009-06-1517-89/+0
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | These are no longer used.
* | | | | | | Merge change 4245 into donutAndroid (Google) Code Review2009-06-151-1/+8
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | * changes: Add the extra data definition for append location in the VIEW request to the Browser.
| * | | | | | Add the extra data definition for append location in the VIEW request to the ↵Grace Kloba2009-06-151-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Browser.
* | | | | | | Merge change 4117 into donutAndroid (Google) Code Review2009-06-151-0/+7
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | * changes: Add a Gservices setting to have a "use location for better search".
| * | | | | | Add a Gservices setting to have a "use location for better search".Amith Yamasani2009-06-121-0/+7
| | | | | | |
* | | | | | | Bring the test transport's restore code into lineChristopher Tate2009-06-151-21/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It now reconstructs the backup data stream as it was originally structured, no longer assuming that its backed-up records can simply be concatenated into the destination stream.
* | | | | | | Merge change 4198 into donutAndroid (Google) Code Review2009-06-151-0/+16
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | * changes: protect starting of search dialog behind 'dev.disablesearchdialog' system property.
| * | | | | | protect starting of search dialog behind 'dev.disablesearchdialog' system ↵Karl Rosaen2009-06-151-0/+16
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | property. this will help the stress test runs find out the effect of search.
* | | | | | Merge change 4075 into donutAndroid (Google) Code Review2009-06-151-0/+15
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add <keygen> support for VPN.
| * | | | | | Add <keygen> support for VPN.Grace Kloba2009-06-121-0/+15
| | | | | | |
* | | | | | | Merge change 4119 into donutAndroid (Google) Code Review2009-06-153-2/+14
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | * changes: Use locale-appropriate formatting to display application sizes like "252KB".
| * | | | | | Use locale-appropriate formatting to display application sizes like "252KB".Eric Fischer2009-06-123-2/+14
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | In particular allow the French and Polish translators to put a space between the number and the unit.
* | | | | | Run search dialog in the system process.Bjorn Bringert2009-06-157-136/+422
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=1905863 This is needed to address two security issues with global search: http://b/issue?id=1871088 (Apps can read content providers through GlobalSearch) http://b/issue?id=1819627 (Apps can use GlobalSearch to launch arbirtrary intents) This also fixes http://b/issue?id=1693153 (SearchManager.OnDismissListener never gets called) To fix the security issues, GlobalSearch also needs to require a non-app permission to access its content provider and launch intents.
* | | | | | Fix some backup reader/writer issues; make local transport do backupChristopher Tate2009-06-143-55/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As of this change, LocalTransport is successfully propagating data changes from the backup data format into a repository stored in /cache/backup/[packagename]. Each backup key gets a separate file there for ease of manipulation and testing. The general semantics of BackupDataReader have been tweaked, too; it now just returns simple "we're done with the data" when it hits the end, even if no footer has been found, because on the writing side the footer isn't being written. Also, reading an entity now merely requires a "big enough" buffer, not an exactly-sized one. This is all a work in progress, but this is at least working now for purposes of this local transport. Still to do: proper change vs deletion detection, as well as expanding the data format itself to include necessary metadata etc.
* | | | | | Fix the jni initializer.Joe Onorato2009-06-121-1/+1
| | | | | |
* | | | | | Add RestoreFileHelper, BackupDataInput, and add java wrappers for the ↵Joe Onorato2009-06-1212-16/+449
|/ / / / / | | | | | | | | | | | | | | | methods on BackupDataOutput.
* | | | | Merge change 4017 into donutAndroid (Google) Code Review2009-06-1267-2/+117
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Make the date format preference work again.
| * | | | | Make the date format preference work again.Eric Fischer2009-06-1267-2/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is only used for numeric dates -- spelled-out dates have such a complex variety of formats that they can only be meaningfully formatted from locale strings. In addition, the preference is left null when initializing, on the assumption that the locale will still specify a more useful numeric format than we can guess as part of a build-wide configuration. But if the user has specified a format, the date will be formatted in the order they asked for, with locale-appropriate punctuation substituted in.
* | | | | | Fixes #1914574. An NPE could be causes in lists by ViewGroup.dispatchDraw().Romain Guy2009-06-122-70/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ViewGroup was trying to access the AttachInfo without checking whether the info object is null. The object can be null at varioous times in the lifecycle of a list.
* | | | | | Hide gestures API.Romain Guy2009-06-121-0/+5
| | | | | |
* | | | | | resolved conflicts for merge of a798dd86 to donutRamanan Rajeswaran2009-06-121-0/+4
|\ \ \ \ \ \
| * | | | | | AI 149797: Have SetupWizard pull the Terms of Service from the web using a ↵Ramanan Rajeswaran2009-06-111-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new URL which allows us to set the language and country (based on MCC otherwise locale country). If we are unable to retrieve the ToS, or verify the content, we load the default ToS (en_US) from the device. BUG=1856455 Automated import of CL 149797
* | | | | | | Show proper suggestion item hilite on selection.Satish Sampath2009-06-124-17/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | With the new implementation of using a SuggestionItemView, we no longer need to draw a solid background for all items in the suggestion listview. Hence removing the code to draw a default white background, and make the item transparent so the listview-drawn selection hilite shows through.
* | | | | | | Merge changes 3953,3954 into donutAndroid (Google) Code Review2009-06-116-25/+62
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Make the file backup helper not crash if a file you requested can't be stated. This means you don't need to know if the files you are backing up exist or not -- we'll figure it out for you. Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
| * | | | | | | Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.Joe Onorato2009-06-116-25/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This took quite a bit of refactoring.
* | | | | | | | Merge change 4008 into donutAndroid (Google) Code Review2009-06-113-137/+174
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | * changes: Fixes #1886237. Views drawing cache was not generated properly.
| * | | | | | | Fixes #1886237. Views drawing cache was not generated properly.Romain Guy2009-06-113-137/+174
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | In compatibility mode, a View's drawing cache was created at the 160 density scale instead of the right scale.
* | | | | | | Merge change 3775 into donutAndroid (Google) Code Review2009-06-113-0/+47
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: DO NOT MERGE.
| * | | | | | | DO NOT MERGE.Grace Kloba2009-06-103-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge 2391 from master to donut. Added postUrl() to WebView so that we can pass lat/lon for the search.
* | | | | | | | TextToSpeech class cleanupsJean-Michel Trivi2009-06-111-90/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - harmonized private member variable names - added success / failure codes (used for now in initialization) - synchronized access to speech completed listener.
* | | | | | | | Merge change 3935 into donutAndroid (Google) Code Review2009-06-1167-2/+286
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | / / / / | | |_|/ / / / | |/| | | | | * changes: Hook the 12- or 24-hour time format checkbox back up.
| * | | | | | Hook the 12- or 24-hour time format checkbox back up.Eric Fischer2009-06-1167-2/+286
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | The format strings are newly generated from CLDR. The code is once again the same as in cupcake: do the natural thing for the locale if the user has never specified, but follow the checkbox if the user has ever set it.
* | | | | | Merge change 3828 into donutAndroid (Google) Code Review2009-06-111-109/+32
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | * changes: Renaming the Tts class to TextToSpeech for clarity. Switching to HashMap for parameter lists to pass key-value parameter pairs. Using TODO instead of FIXME in comments. Removing methods that don't belong anymore to the TTS interface now the feature becomes part of the platform.
| * | | | | Renaming the Tts class to TextToSpeech for clarity.Jean-Michel Trivi2009-06-101-109/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Switching to HashMap for parameter lists to pass key-value parameter pairs. Using TODO instead of FIXME in comments. Removing methods that don't belong anymore to the TTS interface now the feature becomes part of the platform.
* | | | | | Merge change 3899 into donutAndroid (Google) Code Review2009-06-111-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: GpsLocationProvider: Add hooks for GPS location injection.
| * | | | | | GpsLocationProvider: Add hooks for GPS location injection.Mike Lockwood2009-06-111-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow injecting cell ID location to the GPS (not implemented yet). Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | | | | | NEW_API: Expose queryAfterZeroResults searchable attribute.Satish Sampath2009-06-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If this attribute is provided and true, the searchable activity will be invoked for all queries in a particular session. If set to false and the activity returned zero results for a query, it will not be invoked again in that session for supersets of that zero-results query. For example, if the activity returned zero results for "bo", it would not be queried again for "bob" as an optimization. The default value is false.
* | | | | | | Added attribute queryAfterZeroResults to searchables.Satish Sampath2009-06-112-0/+24
|/ / / / / / | | | | | | | | | | | | | | | | | | As of now we are just reading it from the xml and not acting upon it, that would come in a subsequent change.
* | | | | | Merge change 3879 into donutAndroid (Google) Code Review2009-06-111-7/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: ACTV: getWindowVisibility() instead of private attach count
| * | | | | | ACTV: getWindowVisibility() instead of private attach countBjorn Bringert2009-06-111-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When debugging a problem with the search dialog drop-down sometimes not showing up, I saw that the mAttachCount variable in AutoCompleteTextView could get a negative value because onDetachedFromWindow() was called multiple times. This lead to the drop-down not being displayed on filtering. Instead of the private attach count in ACTV, this change uses View.getWindowVisibility().
* | | | | | | Fix display of the selection background for search results.Satish Sampath2009-06-111-2/+69
|/ / / / / / | | | | | | | | | | | | | | | | | | I've used a simple approach of not drawing the solid background color for the selected item, thereby letting the default selection background to show through properly. This works by using the item's 'pressed' state and redraw code which are used by the listview during the tapping operation.
* | | | | | Merge change 3800 into donutAndroid (Google) Code Review2009-06-111-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManager for use in implementing Google suggestion refreshing in global search.