12591 Commits

Author SHA1 Message Date
Brian Carlstrom
87ad930037 Correctly parse cookies with spaces after = in attributes
Bug: 3167208
Change-Id: I8adebf9f9e92967a3250e61ccfbb45e02bbee3f9
2010-11-09 22:03:17 -08:00
Brian Carlstrom
d57c14f95e Merge "Add custom CloseGuard.Reporter for StrictMode" 2010-11-08 11:10:44 -08:00
Brad Fitzpatrick
5b59e02eb5 Merge "StrictMode: now in more system server threads." 2010-11-08 11:01:41 -08:00
Joe Onorato
51387974f0 Merge "Move the volume, media, call, camera and search key handling from PhoneWindow to a new PhoneFallbackEventHandler class that is used for all windows, not just ones with decors." 2010-11-08 10:59:27 -08:00
Brian Carlstrom
4b9b7c38e8 Add custom CloseGuard.Reporter for StrictMode
StrictMode now replaces the default CloseGuard.Reporter with one that
calls onVmPolicyViolation, which is a renamed version of
onSqliteObjectLeaked.

Change-Id: Iea980662e2ee91939960c83b8768a8172379617a
2010-11-08 10:58:20 -08:00
Dianne Hackborn
bc4119a390 Merge "Fixe some stuff." 2010-11-08 10:52:37 -08:00
Dianne Hackborn
ab36acb399 Fixe some stuff.
Addresses these bugs:

3061847 - With no headers, PreferenceActivity crashes
2888426 - minor typo in DevicePolicyManagerService.ActiveAdmin.writeToXml()
3159155 - IllegalStateException:"Can not perform this action after
    onSaveInstanceState" while dismissing a DialogFragment
3155995 - PopupWindow.showAtLocation does not respect LayoutParams

Also tweak the new fragment APIs to use abstract classes instead of
interfaces as base classes.

Change-Id: I9c0b4337fe0e304b737b5f7c2762762372bb3020
2010-11-08 10:46:19 -08:00
Brad Fitzpatrick
ec062f63a2 StrictMode: now in more system server threads.
Who knew there were so many Loopers in the system server?

This adds dropbox logging for the activity manager thread, policy
thread, and window manager thread.

The goal's to catch more stuttering.

Change-Id: I999a6ff4a955f0ef549b12a38796b843ade5fe66
2010-11-08 10:39:05 -08:00
Brian Carlstrom
ee8dd6baf8 Delete used import
Change-Id: Ic950e50565aadafd2575561eb03c8e1e2ff45593
2010-11-08 10:37:19 -08:00
Tom O'Neill
0f2d6c69f3 Merge "Remove inappropriate conversion of IOException to AssertionError" 2010-11-08 08:02:44 -08:00
Leon Scroggins
7f7bd52568 Disallow scroll intercepts while changing text selection.
Bug:3107564
Change-Id: I81d173b3d7b6fdbe335ef351917402fc01a4c52e
2010-11-08 09:36:54 -05:00
Ben Murdoch
01b04e10df Fix potential NPE in WebView
New up and initialise the data structure for tracking autofillable
form fields properly. We should not wait for the first autofill
message from WebCore as we have some special state values we need
to set.

Change-Id: Ic30b9ac69436f784d65e50dcabe6af1ef3326ff4
2010-11-08 10:49:16 +00:00
Amith Yamasani
8da3529069 Added assets for preference panel and adjusted layout margins for new spec. 2010-11-07 16:46:24 -08:00
Jason Chen
f5d847e8b2 Merge "resolved conflicts from merge of c3b112ba to master" 2010-11-05 20:25:05 -07:00
Jason Chen
db87c0df6f resolved conflicts from merge of c3b112ba to master
Change-Id: I76a5f88849ab617af3316d63378bf3296256e8e1
2010-11-05 20:21:29 -07:00
Adam Powell
ba8e26b7c7 Merge "Fix bug 3067895 - Popup menus clip to container windows" 2010-11-05 20:17:01 -07:00
Adam Powell
5de7b22a60 Merge "Fixed several dialog theming issues" 2010-11-05 20:16:05 -07:00
Adam Powell
56c2d337e0 Fix bug 3067895 - Popup menus clip to container windows
ListPopupWindows will now move to fit within the screen, but will not
be constrained by their parent windows.

Change-Id: I2a19ef474926f328466db32874db4191beebf626
2010-11-05 20:12:56 -07:00
Adam Powell
3320dcd049 Fixed several dialog theming issues
Change-Id: I8e83e5a35acaae63a70bef48f543e3fd82ced354
2010-11-05 20:06:02 -07:00
Joe Onorato
86f6786032 Move the volume, media, call, camera and search key handling from
PhoneWindow to a new PhoneFallbackEventHandler class that is used
for all windows, not just ones with decors.

Bug: 3155146
Change-Id: Ib070fa3e523e3564b225bca576c08012fef4f416
2010-11-05 18:58:29 -07:00
Jeff Brown
a79cd0b7fa Merge "Rename the locked meta key constants for clarity." 2010-11-05 15:01:43 -07:00
Vasu Nori
eb0699bacd Merge "fix broken build" 2010-11-05 14:49:37 -07:00
Vasu Nori
b642518e54 fix broken build
Change-Id: If1e5639f48d5155e141bce4bf5deef9de5668c27
2010-11-05 14:47:59 -07:00
Gilles Debunne
f95449dc38 Revert "Rationalized the single/multiple line initialization in TextViews."
This reverts commit 10644106b819acad4f88c3882d5688638951728c.

Conflicts:

	core/java/android/widget/TextView.java

Change-Id: I597314363f6ee06dbc475583ffe5dcc7eb543f88
2010-11-05 13:54:25 -07:00
Jeff Brown
51e7fe7545 Rename the locked meta key constants for clarity.
Also added some tests for LED setting.

Change-Id: I3fd86322afd07ae8de52d1ccbc2fae2c6d586641
2010-11-05 13:27:35 -07:00
Jim Miller
ec6ac82a29 Fix 3165868: Fix stall in state machine logic in WaveView
It was possible for the state machine to get stuck when
user interaction and animations both completed before success
was detected.  This fixes the problem by explicitly advancing
the state machine when an up event is detected.

Change-Id: I802e3f1bb35aeab7a0d6f64e85acaa6980b9d65a
2010-11-05 13:05:27 -07:00
Vasu Nori
1a33a09ec2 Merge "Let cachefull-warning be under SQLiteDebug.DEBUG_SQL_CACHE flag" 2010-11-05 12:11:57 -07:00
Adam Powell
fe4782393e Merge "Fix bug 3167945 - list selection mode should persist across rotations" 2010-11-05 19:03:24 +00:00
Romain Guy
8160345205 Merge "Fix documentation HTML." 2010-11-05 18:58:21 +00:00
Vasu Nori
7301a23fb2 Let cachefull-warning be under SQLiteDebug.DEBUG_SQL_CACHE flag
This warning doesn't really matter much. If a developer wants to
debug the cache usage, it can be done by turning on this flag.
adb bugreport also displays cachestats - which can be used as a debugging tool.

Change-Id: Ied173714d535c271133247ee4768f86d3be359cf
2010-11-05 11:55:57 -07:00
Adam Powell
a0eeeac820 Fix bug 3167945 - list selection mode should persist across rotations
Modal multi-choice mode action modes will now be restarted when
restoring instance state provided that the application has set a
multi-choice mode callback before instance state is restored. This
matches other list state restoration behavior with adapters.

Change-Id: I8e96e079faa3a086d3d4480d65b8c53a60f4c0ea
2010-11-05 11:55:05 -07:00
Romain Guy
f989944c90 Fix documentation HTML.
Change-Id: Ic5380867a4d77d0b4724ca3bde091ddea89fb20d
2010-11-05 11:45:53 -07:00
Cary Clark
4debfcb3d4 Don't draw the selection pointer on long press.
bug:3169375
Change-Id: I76cedf0951213c1ee869ccbaa97938f0c6385942
2010-11-05 14:43:10 -04:00
Vasu Nori
1cde3fbf8f address couple of review comments
by reviewers on previous CLs

Change-Id: Ifc4529b367651f68fbb4117e449c70bfd9fae462
2010-11-05 11:02:52 -07:00
Tom O'Neill
28e3f10170 Remove inappropriate conversion of IOException to AssertionError
An IOException is a recoverable condition, and AssertionError should be
used for non-recoverable conditions.

Fixes b/3169361

Change-Id: Ie71a537293e01ffb49c5f535412e2631e27c84c8
2010-11-05 10:14:24 -07:00
Jean-Baptiste Queru
c3b112ba20 Merge db2403ff from open-source master
Change-Id: I90dfa2f37db901b62690b6becbf5d0d91468672c
2010-11-05 07:53:24 -07:00
Patrick Scott
f3e5fcc917 Fix the build and scrollable layers gesture.
Change-Id: I06f7c379f187df982ac82c9a52cc643358987085
2010-11-05 10:42:06 -04:00
Ben Murdoch
db8d19c9cb Display the AutoFill preview string in the drop down box.
Native code now provides us with a preview string as well as
an autofill query id. Display the preview string in the
drop down box.

Requires a change in external/webkit:
https://android-git.corp.google.com/g/#change,77132

Change-Id: Ia5e26b98546cda1090142f1720f6a7836be6595c
2010-11-05 12:33:29 +00:00
Ben Murdoch
202a2c974e Merge "Work around race condition in CallBackProxy." 2010-11-05 10:12:21 +00:00
satok
9ef0283bdc Change API for getting InputMethodSubtype's mode from resource id to String
Change-Id: I00aa99f8ab9901d40806a6bb336ab718eb857e8b
2010-11-05 11:40:56 +09:00
Vasu Nori
63cf0279d7 Merge "add API to return Uri for the given downloaded file id & get mimetype" 2010-11-04 18:51:03 -07:00
Shimeng (Simon) Wang
3b48f350e5 Merge "Use minPrefWidth instead of viewsize.x." 2010-11-04 18:22:28 -07:00
Adam Powell
2614c6c1f9 Fix bug 3167099 and bug 3009490 - GridView choice modes and
getCheckedItemCount after orientation change

Remove the restriction on choice modes for GridView - this is handled
by common code in AbsListView. Persist the checked item count in saved
instance state.

Change-Id: Iebb964bb3c43779c082a458ea3f2754ab694b69d
2010-11-04 18:16:38 -07:00
Shimeng (Simon) Wang
619ded23ce Use minPrefWidth instead of viewsize.x.
This is to fix a bug I introduced in one of my last CLs, which is tested
under hw accerlation, and the problem was not there.

issue:3161799
Change-Id: Ic7e7c186d1830c3cbd9359af0e283afbbdfbbac1
2010-11-04 17:58:17 -07:00
Vasu Nori
5be894e636 add API to return Uri for the given downloaded file id & get mimetype
Change-Id: I1f5dd734e394db0056579a3a0c26862fee27981e
2010-11-04 17:57:24 -07:00
Elliott Hughes
7899b0e076 Merge "Use InetAddress.isNumeric." 2010-11-04 17:50:15 -07:00
Robert Greenwalt
1678246710 Merge "Tell each VM to flush their DNS cache." 2010-11-04 17:02:44 -07:00
Elliott Hughes
6b7af6055f Use InetAddress.isNumeric.
This code is trying to detect anything equivalent to localhost, but without
accidentally causing a DNS lookup.

Bug: 3073384
Change-Id: Ib611c8ca46059e00b07fc4b94d4af777217da1fb
2010-11-04 16:46:00 -07:00
Andrew Stadler
f034f87da8 Merge "Avoid NPE when reloading headers in single-pane mode" 2010-11-04 16:19:05 -07:00
Elliott Hughes
e84c00f4a7 Merge "Remove NetworkUtils.isIpAddress." 2010-11-04 16:09:04 -07:00