| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
- 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.
|
|\
| |
| |
| |
| | |
* changes:
A workaround to fix rotation issue. I'm remote now and hard to do troubleshooting (i cannot rotate emulator in nx..)
|
| |
| |
| |
| | |
troubleshooting (i cannot rotate emulator in nx..)
|
|\ \
| | |
| | |
| | |
| | | |
* 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.
|
| |/
| |
| |
| |
| |
| |
| |
| | |
(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.
|
|/ |
|
|\
| |
| |
| |
| | |
* changes:
Fix backup agent unbind
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Browser edit fields should report variation WEB_EDIT_TEXT.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Update a javadoc comment suggesting the use of a deprecated class.
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* 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.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
mapping in a @ViewDebug.ExportedProperty annotation was always overriden by
the resolveId attribute.
|
|\ \ \ \ \
| | |/ / /
| |/| | /
| |_|_|/
|/| | | |
* changes:
The '-D' option for the 'am' command appears to be optional, so reflect that in the usage.
|
| | | |
| | | |
| | | |
| | | | |
in the usage.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Avoid touching all adapter items when building accessibility event.
|
| | |_|/
| |/| |
| | | |
| | | | |
Only check for enabled items if the list is less than 15 items.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
localize: remove dependency on mkdirs/etc in libhost
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This will let us break the libhost dependency on libutils.
Signed-off-by: Brian Swetland <swetland@google.com>
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
* changes:
rename a few files to camel-case, add copyright notices
|
| |/ / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Fixes #1882836.
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
* changes:
Unhide inInputShareable in BitmapFactory.Options.
|
| | |/
| |/|
| | |
| | |
| | | |
The variable works together with inPurgeable, which has been unhidden in
https://android-git.corp.google.com/g/Gerrit#change,2870.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
* changes:
Added bugreport collecting mechanism in case of crashes.
|
| |/ |
|
|\ \
| |/
|/|
| |
| | |
* 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().
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| | |
| | |
| | |
| | | |
* changes:
Fix thread safety in DataConnectionTracker.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | | |
mode.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* changes:
Turn off verbose logging in SearchableInfo, which seems to have been left on by accident.
|
| | | |
| | | |
| | | |
| | | | |
left on by accident.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / /
| | | |
| | | |
| | | | |
* changes:
Add INTENT_ACTION_WEB_SEARCH_SETTINGS (thereby fixing the build too :)).
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
* changes:
Allow making AssetFileDescriptors from SQLite blobs.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
cdma getNeighboringCids to fail with an exception
|
| | | | | | |
|
| |_|_|/ /
|/| | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* 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.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* changes:
Skip empty lines in test url list.
|
| | |_|_|/
| |/| | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
* 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 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).
|