This is needed to construct a cachable CacheResult object.
Currently only WebViewWorker is able to do this, by updating
the fields directly.
Bug: 3270236
Change-Id: I50148697dcee4d329e1436a2ce4c15224cb5ae30
list UI is not ready yet
This involves some reworking of Loaders.
Loaders, in particular CursorLoader, are now expected to retain
their current data after being stopped. This allows applications
to keep that data across onStop() -> onStart(), so when the user
returns to the app it doesn't have to wait for the data to reload
and thus cause flicker.
This includes various API changes to better reflect the new
semantics, plus a new LoaderCallbacks method to tell the application
when it is actually time to stop their use of a loader's data.
Note this is somewhat half-done, to help checking in the extensive
application changes that are required without causing build breakage.
Change-Id: Ib4b3bf8185a6da46e7f06ca125521d65e2e380a1
avoid triggering any non-web-search actions from the speech recognizer
(such as Voice Actions in the Google implementation). The browser will set
this to true to avoid triggering non-web-search actions when speech
recognition is requested from the browser.
Change-Id: I9b410ef8696e12f22dbad325b367f0f187a2dce8
http://b/3289997http://b/3176717
Intent.ACTION_USB_DGTL_HEADSET_PLUG and Intent.ACTION_HDMI_AUDIO_PLUG
where mistakenly using the same string.
Change-Id: Iede1896196585396dcc7e00aad06ad60e9a87875
This reverts CL https://android-git.corp.google.com/g/84508
After lengthy discussion we have decided that disabling CacheManager
is too risky for third-party apps, and that enough functionality is
still available for it to be useful.
WebView.loadUrl() will not add pages to the cache, but it is still
possible to add them manually via CacheManager.saveCacheFile().
Change-Id: I6cfd9f93bb8d685450f048375adad9d17fa4eeba
Dolphin crashed when sContext.getCacheDir got called too early.
This was because the let the user choose to use sdcard or
internal memory, and the choice was not yet made.
Change-Id: I8b3ba260c26233c6459efbb9e5e50fad2260a24d
the following work
frameworks/base/core/tests/coretests/src/android/app/DownloadManagerFunctionalTest.java
ideally, most of the tests in this should be moved to cts testsuite.
will require reformatting of comments
and probably removal of one or two tests using hidden public API.
packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/DownloadManagerFunctionalTest.java
packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/PublicApiFunctionalTest.java
packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ThreadingTest.java
packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/PublicApiAccessTest.java
packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/DownloadProviderPermissionsTest.java
the following need work
frameworks/base/core/tests/coretests/src/android/app/DownloadManagerStressTest.java
some of these tests fail in a flaky way. they need work
Change-Id: Ib64645005a8f5faa32e0b9a4c5cacfe6e6ae3063
Hide the close button in SearchView when there's no text in it and it's not iconified by default.
Bug: 3275206
Adds Holo.Light theme and fixes the query refinement icon.
Single line textView should impose their number of lines and their
transformation method.
Bug 3289818
Change-Id: If1f1252ded1250e2aff85f1c615cc2e17026ba1d
As discovered by jpa@, previously it was only in logcat -b events, not
-b main, which people don't typically watch.
Bug: 2964398
Change-Id: Id672dd936f1678dd347158428b0ca03e4ad1e2d4