16561 Commits

Author SHA1 Message Date
Iain Merrick
b67529b905 Add setContentLength method to CacheResult.
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
2010-12-17 15:44:00 +00:00
Dianne Hackborn
540d3d2662 Fixes for when onLoaderReset() is called.
Change-Id: Iab479926f11fa579757904032ada46c41686d560
2010-12-16 22:41:30 -08:00
Dianne Hackborn
c91893511d Fix issue #3272082: Contacts: when going back from edit view,
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
2010-12-16 20:09:13 -08:00
Jaikumar Ganesh
8f6e52abce Merge "Fix PANU - Bluetooth tethering - JNI calls." 2010-12-16 18:27:40 -08:00
Jaikumar Ganesh
b7ec3e1019 Fix PANU - Bluetooth tethering - JNI calls.
Change-Id: Ia0b37a03e65be6632cc0bb8f1a98f268d42c9d87
2010-12-16 18:02:29 -08:00
Ben Komalo
6dd4b14add Merge "Fix incorrect anonymous AnimatorListenerAdapter." 2010-12-16 17:04:54 -08:00
Amith Yamasani
d0a2d701f1 Merge "Fix SearchView collapse on text input." 2010-12-16 16:35:11 -08:00
Amith Yamasani
73e00df15e Fix SearchView collapse on text input.
Bug: 3291919
Change-Id: I2e510c3f8c4fa520dd100e722896f725ef70b79e
2010-12-16 16:31:29 -08:00
Martijn Coenen
25d61bb3a0 am 12e5c1a2: am c58c3f1a: Implement additional Mifare Ultralight convenience methods.
* commit '12e5c1a21ee0dad786e8e5e7f7ca18e8ffdd53e5':
  Implement additional Mifare Ultralight convenience methods.
2010-12-16 16:10:02 -08:00
Martijn Coenen
e645311047 am bf76b52f: am 0d27f999: Expose reconnect(), to allow applications to reset tag state.
* commit 'bf76b52f05384feddb073ee6aa18091f701d069b':
  Expose reconnect(), to allow applications to reset tag state.
2010-12-16 16:09:55 -08:00
Martijn Coenen
03077d04b0 am 9dce44ff: am 4049f9d0: Implement multi-tech connect, enfore tech exclusivity.
* commit '9dce44ffbb0edcc59b7f72a59099abb313167d0b':
  Implement multi-tech connect, enfore tech exclusivity.
2010-12-16 16:09:42 -08:00
Martijn Coenen
12e5c1a21e am c58c3f1a: Implement additional Mifare Ultralight convenience methods.
* commit 'c58c3f1ae27c0c7f560bd381180397d7f6a2ebed':
  Implement additional Mifare Ultralight convenience methods.
2010-12-16 16:04:47 -08:00
Martijn Coenen
bf76b52f05 am 0d27f999: Expose reconnect(), to allow applications to reset tag state.
* commit '0d27f999f4b1ad51da11946800b40d2978fc6326':
  Expose reconnect(), to allow applications to reset tag state.
2010-12-16 16:04:41 -08:00
Martijn Coenen
9dce44ffbb am 4049f9d0: Implement multi-tech connect, enfore tech exclusivity.
* commit '4049f9d00a86f848d42d2429068496b31a6795ad':
  Implement multi-tech connect, enfore tech exclusivity.
2010-12-16 16:04:28 -08:00
Ben Komalo
cbda9104d0 Fix incorrect anonymous AnimatorListenerAdapter.
Change-Id: I0384a437089d11dda03d0657235404ea96e8b19d
2010-12-16 15:59:22 -08:00
Chet Haase
27c1d4debb Fix minor animation and doc issues
Change-Id: I0ea077d9434ac3e22e8600f22ca4a24a6a46965c
2010-12-16 15:25:52 -08:00
Irfan Sheriff
d3040307ab Merge "Fix ssid storage regression" 2010-12-16 14:46:32 -08:00
Mike Lockwood
060f217546 Merge "Add Process.MEDIA_RW_GID constant" 2010-12-16 12:59:07 -08:00
Mike Lockwood
dcaa10cd36 Add Process.MEDIA_RW_GID constant
Change-Id: I2358e5ef1e55ee4b1b9725451ce06cfbf3ed54a4
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-12-16 12:56:12 -08:00
Jesse Wilson
e8a56933de Merge "New tests for AndroidHttpClient with a proxy server." 2010-12-16 12:16:52 -08:00
Jesse Wilson
bf1df887d4 New tests for AndroidHttpClient with a proxy server.
Change-Id: I03ec2f1257824c8675156dd80f6045512d1a36fe
http://b/3254717
2010-12-16 12:06:32 -08:00
Mike LeBeau
17268ccfcf Merge "Add new EXTRA_WEB_SEARCH_ONLY to RecognizerIntent API. This can be used to 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." 2010-12-16 11:43:30 -08:00
Mike LeBeau
b30023caba Add new EXTRA_WEB_SEARCH_ONLY to RecognizerIntent API. This can be used to
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/3289997
http://b/3176717
2010-12-16 14:41:46 -05:00
Robert Greenwalt
81d5ad515a Fix Bluetooth-tethering config of interface.
bug:3288692
Change-Id: Id7f1b680392f938000953157716bf9a8f8a66af9
2010-12-16 11:35:40 -08:00
Vasu Nori
ceb99ec550 Merge "fix downloadmanager tests. add few more. fix some. isolate flaky ones" 2010-12-16 10:28:27 -08:00
Eric Laurent
051c751569 Merge "Fix error in HDMI and digital dock intent strings" 2010-12-16 10:28:05 -08:00
Eric Laurent
4d29b2f11d Fix error in HDMI and digital dock intent strings
Intent.ACTION_USB_DGTL_HEADSET_PLUG and Intent.ACTION_HDMI_AUDIO_PLUG
where mistakenly using the same string.

Change-Id: Iede1896196585396dcc7e00aad06ad60e9a87875
2010-12-16 09:25:53 -08:00
Iain Merrick
6a4d0a6af2 Merge "*Don't* disable CacheManager when using Chromium HTTP stack." 2010-12-16 08:52:14 -08:00
Iain Merrick
811665e905 *Don't* disable CacheManager when using Chromium HTTP stack.
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
2010-12-16 16:31:44 +00:00
Kristian Monsen
d085e1c34f Merge "Fix for crash in third-party app" 2010-12-16 08:23:45 -08:00
Leon Scroggins
633567468a Do not remove WebTextView when focus size changed.
Bug:3244237
Change-Id: I3302a4c0544a19f0f96bce833010889c4742a3a0
2010-12-16 11:16:03 -05:00
Irfan Sheriff
58938159ec Fix ssid storage regression
I introduced a bug with change Ic12fd78f. Quite
possibly a copy-paste issue.

Bug: 3281928
Change-Id: I040fa8580c3d6d5c585d0e5cc4306daab2f44c3d
2010-12-16 07:45:58 -08:00
Kristian Monsen
d24ce5949d Fix for crash in third-party app
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
2010-12-16 15:44:33 +00:00
Patrick Scott
80fdd65156 Add EXTRA_SKIP_UI to skip the confirmation page.
Bug: 3284120
Change-Id: I6043ab859a813c7a70a3b782394dc5ace4890294
2010-12-16 08:04:58 -05:00
Vasu Nori
82e891b325 fix downloadmanager tests. add few more. fix some. isolate flaky ones
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
2010-12-16 00:36:50 -08:00
Adam Cohen
36f43908ae Changing StackView layout to space items differently
Change-Id: Ia46d28312321b338b4a3aec1df9fa00c645f5b73
2010-12-16 00:24:58 -08:00
Amith Yamasani
4aedb39a49 New SearchView assets and close-button behavior change.
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.
2010-12-15 20:09:33 -08:00
Gilles Debunne
066460f3ba Fix for testAccessTransformationMethod cts test.
Single line textView should impose their number of lines and their
transformation method.

Bug 3289818

Change-Id: If1f1252ded1250e2aff85f1c615cc2e17026ba1d
2010-12-15 18:28:05 -08:00
Daniel Sandler
0ad460b087 Look again; the system bar is now diamonds.
Lights Out 3.0 (bug 3241144)
  - new artwork
  - new transition animations
  - new interaction (tap anywhere to dismiss & interact)
  - much simpler overall design and implementation

Layout (bug 3242949)
  - fine-tuned spacing on navigation and notification icons
  - notification icon spacing compresses in portrait

Shirt Pocket (bug 3203179)
  - disabled for now

Bug: 3241144
Bug: 3242949
Bug: 3203179
Change-Id: I6e9b7f9ebe07317d07609f11d5f03f22269bc7bb
2010-12-15 20:53:32 -05:00
Gilles Debunne
33a8cfb0af Show keyboard when user starts a text selection.
Bug 3266297

Change-Id: I1985ab52ae867c4a6c92279986cd6d0654614118
2010-12-15 16:52:51 -08:00
Jaikumar Ganesh
a69293a00d Merge "Add FLAG_RECEIVER_REGISTERED_ONLY_BEFORE_BOOT to name changed broadcast." 2010-12-15 16:07:43 -08:00
Gilles Debunne
39be4bdd59 Merge "Support custom themes in TabHost." 2010-12-15 16:01:47 -08:00
Patrick Dubroy
c7a65e27a8 Merge "Allow a JNI local ref to be passed directly into globalRef()." 2010-12-15 15:33:29 -08:00
Brad Fitzpatrick
f57b00b3d5 Merge "Put Log.wtf's terrible failure in logcat -b main." 2010-12-15 15:16:42 -08:00
Brad Fitzpatrick
26d8fa9dbf Put Log.wtf's terrible failure in logcat -b main.
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
2010-12-15 15:14:06 -08:00
Svetoslav Ganov
f02d4e36d7 Merge "Updating the light Date picker theme. Some UI fixes." 2010-12-15 15:13:49 -08:00
Svetoslav Ganov
99b539f632 Updating the light Date picker theme. Some UI fixes.
Change-Id: Ic83fdf93868bf86478a1173e82f24ac27f6301bc
2010-12-15 15:09:51 -08:00
Patrick Dubroy
a2f0e2d6b7 Allow a JNI local ref to be passed directly into globalRef().
Change-Id: If3063e88ec1eba7a13c983f5f71be6a2d84c4d60
2010-12-15 15:05:47 -08:00
Huahui Wu
e2975f17cc b/2946595 Remove the touch events filter upon maps.google.com team's request.
Change-Id: I83966bc447f67abdce47a77cb682bc3e834184c3
2010-12-15 15:00:03 -08:00
Jim Miller
1108306b36 Merge "Fix 3148496: Update LockScreen assets & layouts" 2010-12-15 14:55:04 -08:00