summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Include web search providers in Searchables.Satish Sampath2009-06-056-62/+283
| | | | | | - Along with ACTION_SEARCH we now enumate ACTION_WEB_SEARCH as well so web search providers are covered in the searchables list. This fixes a broken unit test. - Moved get/setPreferredWebSearchActivity and get-all-web-search-providers implementation to this module when the searchables list gets updated, so that it happens on boot and on package add/remove events and remains up to date. The duplicate code in WebSearchProvider will be removed in a separate change. - Also made Searchables broadcast an intent when the searchables list got rebuilt, so components such as GlobalSearch/SuggestionSources no longer need to do this on their own.
* Merge change 3265 into donutAndroid (Google) Code Review2009-06-041-1/+3
|\ | | | | | | | | * changes: A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)
| * A workaround to fix rotation issue. I'm remote now and hard to do ↵Mitsuru Oshima2009-06-041-1/+3
| | | | | | | | troubleshooting (i cannot rotate emulator in nx..)
* | Merge change 3249 into donutAndroid (Google) Code Review2009-06-042-0/+19
|\ \ | | | | | | | | | | | | * changes: Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settings (in a follow-on change). This setting, to be respected by global search, and which I will also file a bug to the browser to respect, determines whether live web suggestions will be shown to the user as they type. For privacy reasons, this could be considered undesirable, as partial queries can then be sent to the user's chosen search engine, so a setting was required.
| * | Add new SHOW_WEB_SUGGESTIONS system setting, referenced by the search settingsMike LeBeau2009-06-052-0/+19
| |/ | | | | | | | | | | | | | | (in a follow-on change). This setting, to be respected by global search, and which I will also file a bug to the browser to respect, determines whether live web suggestions will be shown to the user as they type. For privacy reasons, this could be considered undesirable, as partial queries can then be sent to the user's chosen search engine, so a setting was required.
* | Fix back_up_files() error detection when opening/CRCing the fileChristopher Tate2009-06-041-1/+2
|/
* Merge change 3243 into donutAndroid (Google) Code Review2009-06-042-40/+9
|\ | | | | | | | | * changes: Fix backup agent unbind
| * Fix backup agent unbindChristopher Tate2009-06-042-40/+9
| | | | | | | | | | | | | | The handwritten binder transaction passing wasn't propagating the agent-destroy transaction to the client side. Oops. Also, remove obsolete run-one-agent code from the backup manager service.
* | Merge change 3238 into donutAndroid (Google) Code Review2009-06-041-1/+2
|\ \ | | | | | | | | | | | | * changes: Browser edit fields should report variation WEB_EDIT_TEXT.
| * | Browser edit fields should report variation WEB_EDIT_TEXT.Amith Yamasani2009-06-041-1/+2
| | | | | | | | | | | | | | | | | | This will enable the IME to enable/disable prediction features for browser fields where the exact type is not very well defined. Part of the fix for #1743620
* | | Merge change 3226 into donutAndroid (Google) Code Review2009-06-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * changes: Update a javadoc comment suggesting the use of a deprecated class.
| * | | Update a javadoc comment suggesting the use of a deprecated class.Marco Nelissen2009-06-041-1/+1
| | | |
* | | | Merge change 3227 into donutAndroid (Google) Code Review2009-06-042-49/+50
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fix int to string mapping of exported properties. The value generated by the mapping in a @ViewDebug.ExportedProperty annotation was always overriden by the resolveId attribute.
| * | | | Fix int to string mapping of exported properties. The value generated by theRomain Guy2009-06-042-49/+50
| | | | | | | | | | | | | | | | | | | | | | | | | mapping in a @ViewDebug.ExportedProperty annotation was always overriden by the resolveId attribute.
* | | | | Merge change 3184 into donutAndroid (Google) Code Review2009-06-041-1/+1
|\ \ \ \ \ | | |/ / / | |/| | / | |_|_|/ |/| | | * changes: The '-D' option for the 'am' command appears to be optional, so reflect that in the usage.
| * | | The '-D' option for the 'am' command appears to be optional, so reflect that ↵Marco Nelissen2009-06-041-1/+1
| | | | | | | | | | | | | | | | in the usage.
* | | | Merge change 3204 into donutAndroid (Google) Code Review2009-06-041-5/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Avoid touching all adapter items when building accessibility event.
| * | | | Avoid touching all adapter items when building accessibility event.Amith Yamasani2009-06-041-5/+12
| | |_|/ | |/| | | | | | | | | | Only check for enabled items if the list is less than 15 items.
* | | | Merge change 3207 into donutAndroid (Google) Code Review2009-06-042-2/+35
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: localize: remove dependency on mkdirs/etc in libhost
| * | | | localize: remove dependency on mkdirs/etc in libhostBrian Swetland2009-06-042-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will let us break the libhost dependency on libutils. Signed-off-by: Brian Swetland <swetland@google.com>
* | | | | Merge change 3203 into donutAndroid (Google) Code Review2009-06-0415-24/+55
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | * changes: rename a few files to camel-case, add copyright notices
| * | | | rename a few files to camel-case, add copyright noticesMathias Agopian2009-06-0415-24/+55
| |/ / /
* | | | Merge change 3192 into donutAndroid (Google) Code Review2009-06-041-1/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Fixes #1882836.
| * | | | Fixes #1882836.Romain Guy2009-06-041-1/+2
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | Prevents the gestures window from leaking. This change does exactly what was done for the filter popup window: the popup is dismissed in onSaveInstanceState() as it is the only place that is executed early enough to avoid the dreaded window leak error.
* | | | Merge change 3181 into donutAndroid (Google) Code Review2009-06-042-2/+10
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | * changes: Unhide inInputShareable in BitmapFactory.Options.
| * | | Unhide inInputShareable in BitmapFactory.Options.Wei-Ta Chen2009-06-042-2/+10
| | |/ | |/| | | | | | | | | | The variable works together with inPurgeable, which has been unhidden in https://android-git.corp.google.com/g/Gerrit#change,2870.
* | | Merge change 3174 into donutAndroid (Google) Code Review2009-06-041-1/+31
|\ \ \ | |/ / |/| | | | | | | | * changes: Added bugreport collecting mechanism in case of crashes.
| * | Added bugreport collecting mechanism in case of crashes.Guang Zhu2009-06-041-1/+31
| |/
* | Merge change 3074 into donutAndroid (Google) Code Review2009-06-041-2/+5
|\ \ | |/ |/| | | | | * changes: Modify the decoding logic in the FD case when a purgeable flag is set, and lower the threshold of bitmap size for using ashmem().
| * Modify the decoding logic in the FD case when a purgeable flag is set,Wei-Ta Chen2009-06-031-2/+5
| | | | | | | | | | | | | | and lower the threshold of bitmap size for using ashmem(). For the decoding logic, we now go through the "non-purgeable" path if isShareable is false, irrespective of the value of the purgeable flag.
* | Merge change 3126 into donutAndroid (Google) Code Review2009-06-045-65/+63
|\ \ | | | | | | | | | | | | * changes: Fix thread safety in DataConnectionTracker.
| * | Fix thread safety in DataConnectionTracker.Jaikumar Ganesh2009-06-035-65/+63
| | | | | | | | | | | | | | | | | | | | | All the methods in DataConnectionTracker should be called only through the handler. Fix this as trySetupData was being called in the broadcast receiver. Tested: Airplane mode and GPRS retry.
* | | SearchDialog should only do DialogCursorProtocol stuff when in global search ↵Karl Rosaen2009-06-041-1/+4
| | | | | | | | | | | | mode.
* | | Detect impressions, and cleanup the SearchDialog / SuggestionCursor ↵Karl Rosaen2009-06-043-76/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | communication. (framework portion) There are now 4 times the search dialog will check with the cursor: - after data set changed - when an item is clicked - when the cursor is about to be closed - when an item at a particular position is detected as showing these are now the points where we can add data in either direction, which we use to accomplish: - finding out whether there are any pending results - find out if there is a position at which to notify when it is displayed (the "more results" triggering) - toggling the "more results" button - sending the max position that was displayed when the cursor is done the new behavior (in addition to the refactoring) is improved detection of "more results" to trigger the additional sources (it is now precise), and detection of which items were displayed to the user.
* | | Merge change 3149 into donutAndroid (Google) Code Review2009-06-041-1/+1
|\ \ \ | | | | | | | | | | | | | | | | * changes: Turn off verbose logging in SearchableInfo, which seems to have been left on by accident.
| * | | Turn off verbose logging in SearchableInfo, which seems to have beenMike LeBeau2009-06-041-1/+1
| | | | | | | | | | | | | | | | left on by accident.
* | | | Remove support for bitmap icons in search suggestions.Bjorn Bringert2009-06-042-47/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is no longer needed, since content providers can now return AssetFileDescriptors for in-memory data. Bitmaps in the suggestion cursor was resopnsible for lots of unnecessary copying, since all rows are copied out of the database regardless of how many are displayed in the UI.
* | | | Merge change 3145 into donutAndroid (Google) Code Review2009-06-041-0/+10
|\ \ \ \ | |/ / / | | | | | | | | | | | | * changes: Add INTENT_ACTION_WEB_SEARCH_SETTINGS (thereby fixing the build too :)).
| * | | Add INTENT_ACTION_WEB_SEARCH_SETTINGS (thereby fixing the build too :)).Mike LeBeau2009-06-041-0/+10
| | | |
* | | | Merge change 2845 into donutAndroid (Google) Code Review2009-06-041-0/+92
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Allow making AssetFileDescriptors from SQLite blobs.
| * | | | Allow making AssetFileDescriptors from SQLite blobs.Bjorn Bringert2009-06-031-0/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a new class SQLiteContentHelper, which contains a static method for creating an AssetFileDescriptor from an SQLite query that returns a blob. Internally, this uses a file descriptor for a MemoryFile. The implementation is temporary. Ideally, the data should be copied directly from SQLite to the MemoryFile ashmem region, using sqlite3_blob_read(). This is part of the implementation of http://b/issue?id=1871731
* | | | | Merge change 1526 into donutAndroid (Google) Code Review2009-06-031-2/+15
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: cdma getNeighboringCids to fail with an exception
| * | | | | cdma getNeighboringCids to fail with an exceptionTammo Spalink2009-06-041-2/+15
| | | | | |
* | | | | | More backup workChristopher Tate2009-06-037-65/+308
| |_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Put in some permission enforcement around agent connection notification and full-backup scheduling. * Full backup now applies to any package, not just backup participants who have declared their own android:backupAgent * The process of running the backup operation on the set of apps who have been queued for it is now done in a separate thread, with a notification mechanism from the main Backup Manager service to pass along new-agent binding knowledge. There's no longer one do-backup message on the primary Handler per target application. * The new backup thread sets up the desired transport now and passes along the newly backed-up data to it for each backup target. Two transports have been defined so far, GoogleTransport and AdbTransport; both are stubs at present. Note that at present the backup data output file seems to be properly created, but after doBackup() is called on the test app's agent it's still zero size.
* | | | | Merge change 3095 into donutAndroid (Google) Code Review2009-06-031-0/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Skip empty lines in test url list.
| * | | | | Skip empty lines in test url list.Guang Zhu2009-06-031-0/+3
| | |_|_|/ | |/| | |
* | | | | Merge change 3094 into donutAndroid (Google) Code Review2009-06-031-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Grant permissions to older package when deleting an updated system application. When a system app gets updated, the permissions are granted to the new pkg. Similary when this updated pkg(from data partition) gets removed, the older pkg from system partition is restored. but the permissions are'nt being granted explicitly and so the restore fails. This fix addresses specific bugs related to uninstall of updated system apps. These code paths will be revisited later but this fix is needed for OTA's that might fall back to older versions of system apps.
| * | | | | Grant permissions to older package when deleting an updated system application.Suchi Amalapurapu2009-06-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a system app gets updated, the permissions are granted to the new pkg. Similary when this updated pkg(from data partition) gets removed, the older pkg from system partition is restored. but the permissions are'nt being granted explicitly and so the restore fails. This fix addresses specific bugs related to uninstall of updated system apps. These code paths will be revisited later but this fix is needed for OTA's that might fall back to older versions of system apps.
* | | | | | * Moved supports-density tag under manifestMitsuru Oshima2009-06-0317-246/+412
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactored Compatibility code * Added CompatibilityInfo class * Removed getApplicationScale from Context * Added Resources#getCompatibilityInfo so that RootView can get the compatibility info w/o going through Context * Expandable support * Added expandable tag under manifest * Old application w/o expandable is given the default screen size ([320, 480] x density). * The non-expandable window is centered.
* | | | | | Track activity foreground CPU usage for battery stats.Amith Yamasani2009-06-036-16/+123
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Track the foreground CPU time of an activity so that we can tell if apps are spending more time in the background compared to foreground. Update power profile values for screen backlight and GPS. Fix some javadoc bugs (milliseconds vs. microseconds).