summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Remove ADD_SYSTEM_SERVICE and SET_PROCESS_FOREGROUND permissions.Dianne Hackborn2009-06-1517-89/+0
| | | | These are no longer used.
* 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.
| * | | | | Add SUGGEST_SPINNER_WHILE_REFRESHING column constant to the SearchManagerMike LeBeau2009-06-111-0/+10
| |/ / / / | | | | | | | | | | | | | | | for use in implementing Google suggestion refreshing in global search.
* | | | | Flesh out restore interface on manager; work up most of LocalTransportChristopher Tate2009-06-103-56/+141
| | | | |
* | | | | Merge change 3857 into donutAndroid (Google) Code Review2009-06-103-45/+218
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | * changes: Allow arrays of values for power profile data.
| * | | | Allow arrays of values for power profile data.Amith Yamasani2009-06-103-45/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse arrays for data that has different levels with non-linear power increase. Track radio data awake_time from kernel and mobile/total data transfers. Use dummy values for default power_profile.xml. Actual values will be in a product overlay.
* | | | | Merge change 3795 into donutAndroid (Google) Code Review2009-06-101-1/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: URI/extra data for inline scheme.
| * | | | | URI/extra data for inline scheme.Mitsuru Oshima2009-06-101-1/+25
| | | | | |
* | | | | | resolution support fix/improvementMitsuru Oshima2009-06-107-57/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * adding compatibility menu * backup gravity * set expanable=true if the screen size is hvga * density. * added "supports any density" mode. I'll add sdk check later. * disallow to catch orientation change event if the app is not expandable. This was causing layout problem under non-expandable mode. I discussed this with Mike C and we agreed to do this approach for now. We'll revisit if this causes problem to a lot of applications.
* | | | | | Merge change 3782 into donutAndroid (Google) Code Review2009-06-101-144/+80
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Reimport Portuguese translations.
| * | | | | | Reimport Portuguese translations.Eric Fischer2009-06-101-144/+80
| | | | | | |
* | | | | | | Merge change 3765 into donutAndroid (Google) Code Review2009-06-101-0/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Add a gservices flag to limit the size of protobufs we can gzip
| * | | | | | | Add a gservices flag to limit the size of protobufs we can gzipCynthia Wong2009-06-101-0/+6
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge change 3730 into donutAndroid (Google) Code Review2009-06-103-3/+88
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | * changes: Restructuring the TTS files so that it works as a Service
| * | | | | | Restructuring the TTS files so that it works as a ServiceCharles Chen2009-06-103-3/+88
| | | | | | |
* | | | | | | Merge change 3754 into donutAndroid (Google) Code Review2009-06-1066-112/+189
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Fix some 12- vs 24-hour problems in the FormatDateRange strings.
| * | | | | | | Fix some 12- vs 24-hour problems in the FormatDateRange strings.Eric Fischer2009-06-1066-112/+189
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a resource instead of a hardcoded string for the 24-hour format since it is not exactly the same in every locale. Make sure the 12-hour format is actually for a 12-hour clock, even in locales where this is not a normal thing to do. In the cap_ampm version, do not have it try to capitalize "am" and "pm" if these are non-ASCII strings, since strftime() doesn't know about Unicode and will mess it up. Add a comment so that people don't think the YEAR_IN_MILLIS constant is actually the length of any real year.