13492 Commits

Author SHA1 Message Date
Gilles Debunne
fdcd4084f3 Merge "Made text selectable even when autolinks are activated." 2010-12-17 15:48:43 -08:00
Svetoslav Ganov
6ad986419d Merge "Bug 3293819. Timepicker is showing single digit for 0, 1, 2 minutes (the rest are fine)" 2010-12-17 15:45:41 -08:00
Svetoslav Ganov
2b9484f453 Bug 3293819. Timepicker is showing single digit for 0, 1, 2 minutes (the rest are fine)
Change-Id: I55c50857740fc1210c45e9b7fc8905ec2266ed8c
2010-12-17 15:42:21 -08:00
Gilles Debunne
cbcb345ccd Made text selectable even when autolinks are activated.
Refactor for canSelectText.

Moved test from onCreate to startTextSelection.

Restored setFocusableInTouchMode needed to start a selection in touch mode.

Bug 3296490

Change-Id: I5c0c31dbebed79fd1f9d80f930cba1019d74f710
2010-12-17 15:31:02 -08:00
Adam Cohen
5eb40a85fb Merge "Addressing issues associated RemoteViewsAdapter's service crashes / disconnects" 2010-12-17 12:19:46 -08:00
Adam Cohen
fb60386b46 Addressing issues associated RemoteViewsAdapter's service crashes / disconnects
-See issue: 3052667

Change-Id: I95f1cac3defeadc38ac75453d9d59cd1b3cbcc83
2010-12-17 12:09:50 -08:00
Gilles Debunne
73d032eea9 Merge "Removed focusableInTouchMode flag for selectable text." 2010-12-17 11:31:00 -08:00
Chet Haase
d4bbcbd2dd Merge "Fix for TimePicker not redrawing itself." 2010-12-17 11:30:17 -08:00
Costin Manolache
2785c7f6e5 Merge "Add a new attribute to auth descriptors to indicate custom handling of permission and token caching" 2010-12-17 11:28:26 -08:00
Fred Quintana
b23a82cc03 Merge "fix the TooManyDeletes to show up again" 2010-12-17 11:27:03 -08:00
Costin Manolache
a40c6304de Add a new attribute to auth descriptors to indicate custom handling of permission and token caching
Change-Id: Icf6bd0e7bf265db9ef8bf368e8f3d8e91182f834
2010-12-17 11:26:34 -08:00
Gilles Debunne
e12f99984e Removed focusableInTouchMode flag for selectable text.
Change-Id: I7aaa08328cc22d6cd920b3bc2661de79c5fb1402
2010-12-17 11:04:55 -08:00
Iain Merrick
c96235deb9 Deprecate CacheManager.
This class gives fairly low-level access to the HTTP cache, which
as far as we can tell was only exposed for the benefit of Gears.

BUG=3270236

Change-Id: Ibce10ecf8b524d3f472affa2a37fe4de15efd2ed
2010-12-17 16:43:01 +00:00
Kristian Monsen
1c602b3ee1 Merge "Add methods to send messages to the WebViewCore whithout having a reference" 2010-12-17 08:11:14 -08:00
Leon Scroggins
8a4fd2f8e7 Do not allow text selection if there is no ActionBar.
Bug:3276538
Change-Id: I060f14471e26e4bc1bf9773b847e0dbac9228426
2010-12-17 11:04:14 -05:00
Chet Haase
c75ec3324e Fix for TimePicker not redrawing itself.
The problem was that NumberPicker override View.draw(), but did not
call the superclass version of the method in some situations. This
resulted in the DIRTY flag for the view not getting cleared properly,
and future invalidations not propagating correctly.

The fix was to call super.draw() from NumberPicker.draw().

Change-Id: Ic17215dea86d54b77375494ada124dd6970e3ad6
2010-12-17 07:44:30 -08:00
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
Fred Quintana
b19e62add0 fix the TooManyDeletes to show up again
It was moved so it was no longer in the location that
SyncManager expected. I fixed it by (a) moving it to the
SyncManager directory and by (b) changing the SyncManager to
refer to it by class rather than by class name, which means
it will now check for it at compile time, not run time.
Bug: 3289922

Change-Id: I24f8bac371a16c62c2a38ed1024702c6d0913b93
2010-12-16 15:19:37 -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
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
Eric Laurent
051c751569 Merge "Fix error in HDMI and digital dock intent strings" 2010-12-16 10:28:05 -08:00
Kristian Monsen
d4819a722b Add methods to send messages to the WebViewCore whithout having a reference
Change-Id: I8543e862e7a93651c3e3fa9bcefc8ea5f857a152
2010-12-16 18:14:46 +00: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
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
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
Gilles Debunne
33a8cfb0af Show keyboard when user starts a text selection.
Bug 3266297

Change-Id: I1985ab52ae867c4a6c92279986cd6d0654614118
2010-12-15 16:52:51 -08:00