OSDN Git Service
Jim Miller [Fri, 26 Mar 2010 01:24:02 +0000 (18:24 -0700)]
Fix
2535700: Add support for enforcing password quality
In addition, this change removes old lockpattern constants which were set
to DevicePolicyManager constants anyway.
Change-Id: I05f7f50ca099f4bd87a2d8e1d6dd2bc6f3a2b139
Patrick Scott [Thu, 25 Mar 2010 20:27:57 +0000 (13:27 -0700)]
Merge "Add .3gpp as the preferred extension for video/3gpp."
Daniel Sandler [Thu, 25 Mar 2010 20:26:36 +0000 (13:26 -0700)]
Merge "Use a more benign icon for ADB notifications."
Brad Fitzpatrick [Thu, 25 Mar 2010 20:22:15 +0000 (13:22 -0700)]
Merge "Better fix for gettid() sim-eng breakage from last night."
Daniel Sandler [Thu, 25 Mar 2010 20:02:33 +0000 (16:02 -0400)]
Use a more benign icon for ADB notifications.
Also suppress vibe & noise for ADB notifications.
Bug:
2544480
Bug:
2545486
Change-Id: I955a7271f47601f9b35f0d3fcd48363370ebd252
Patrick Scott [Thu, 25 Mar 2010 20:18:05 +0000 (16:18 -0400)]
Add .3gpp as the preferred extension for video/3gpp.
As it appears earlier in the list, .3gpp will be used as the extension for
video/3gpp mime types.
Bug:
2542939
Change-Id: I7d9188b460774af7bc29f4e8f1ebada43bf2ed10
Jean-Baptiste Queru [Thu, 25 Mar 2010 20:09:03 +0000 (13:09 -0700)]
Revert "Hide download manager."
This reverts commit
aaaf1232177ca008818ddac13f5f98405b789ff2.
Brad Fitzpatrick [Thu, 25 Mar 2010 19:43:56 +0000 (12:43 -0700)]
Better fix for gettid() sim-eng breakage from last night.
Change-Id: I2e8762d43b3c224a2e102ff82fc79072a85bb4c6
Jean-Baptiste Queru [Thu, 25 Mar 2010 19:35:22 +0000 (12:35 -0700)]
Merge "Hide download manager."
Dianne Hackborn [Thu, 25 Mar 2010 19:32:12 +0000 (12:32 -0700)]
Merge "Dumb late-night typo."
Joe Onorato [Thu, 25 Mar 2010 18:54:12 +0000 (11:54 -0700)]
Merge "Add window flags and window types to hierarchyviewer."
Jack Palevich [Thu, 25 Mar 2010 18:54:10 +0000 (11:54 -0700)]
Merge "Turn off thread logging (too many messages.)"
Jack Palevich [Thu, 25 Mar 2010 18:53:27 +0000 (11:53 -0700)]
Turn off thread logging (too many messages.)
Leave some other logging on for the monkey test.
Joe Onorato [Thu, 25 Mar 2010 18:45:28 +0000 (11:45 -0700)]
Add window flags and window types to hierarchyviewer.
For debugging http://b/issue?id=
2544870
Change-Id: I4b7775e6fd275bb7a9041bf5736e076122bfb5f1
Dianne Hackborn [Thu, 25 Mar 2010 18:48:43 +0000 (11:48 -0700)]
Dumb late-night typo.
Change-Id: If5e5d8c3728ffc06d686c793ed94a7e18328e5ab
Steve Block [Thu, 25 Mar 2010 15:38:04 +0000 (15:38 +0000)]
Provides ability to store HTTP authentication credentials supplied to an XHR from JavaScript
This change forwards to the WebViewClient HTTP authentication credentials that
are supplied to an XHR from JavaScript. This allows the client to store these
credentials for use with later requests.
Currently, the browser only stores credentials that have been entered manually
by the user through the authentication dialog.
Bug:
2544330
Change-Id: I913e35d80b7ad41ff75586092408b86ea9f543d8
Neal Nguyen [Thu, 25 Mar 2010 18:09:38 +0000 (11:09 -0700)]
Merge "Refactoring PackageManagerHostTests helper functions into a utility class for easier sharing with future stress tests."
Mike Reed [Thu, 25 Mar 2010 18:04:02 +0000 (11:04 -0700)]
Merge "update dox that we ignore the exact parameter on computeBounds"
Mike Reed [Thu, 25 Mar 2010 18:02:40 +0000 (14:02 -0400)]
update dox that we ignore the exact parameter on computeBounds
Change-Id: I6051210ea2a73b4d1c6cd631a285209ab130b4e5
Jack Palevich [Thu, 25 Mar 2010 17:53:10 +0000 (10:53 -0700)]
Merge "Add logging of GLSurfaceView pause/resume calls."
Jack Palevich [Thu, 25 Mar 2010 17:50:21 +0000 (10:50 -0700)]
Add logging of GLSurfaceView pause/resume calls.
Turn on GLSurfaceView logging, so we can get better
information in the monkey tests.
Change-Id: Ifec0101f8a00ab09037dc9f7a1496fa1a374cc08
Grace Kloba [Thu, 25 Mar 2010 17:32:22 +0000 (10:32 -0700)]
Merge "Turn on plugin signature checking."
Grace Kloba [Thu, 25 Mar 2010 17:25:59 +0000 (10:25 -0700)]
Turn on plugin signature checking.
Fix http://b/issue?id=
2465450
San Mehat [Thu, 25 Mar 2010 17:20:44 +0000 (10:20 -0700)]
Merge "MountService: Switch all Log -> Slog"
Chih-Chung Chang [Thu, 25 Mar 2010 17:05:58 +0000 (10:05 -0700)]
Merge "Call unlinkToDeath() when we disconnect the Camera, so we don't hold the (weak) reference to it, which caused (small) memory leaks."
San Mehat [Thu, 25 Mar 2010 16:36:54 +0000 (09:36 -0700)]
MountService: Switch all Log -> Slog
Change-Id: Id33c76497e9d963f295ef6e99d850223ca59b6cd
Signed-off-by: San Mehat <san@google.com>
Nick Pelly [Thu, 25 Mar 2010 17:01:21 +0000 (10:01 -0700)]
Merge "Fix Phone App crash due to binary data in HSP/HFP stream."
Nick Pelly [Thu, 25 Mar 2010 01:41:13 +0000 (18:41 -0700)]
Fix Phone App crash due to binary data in HSP/HFP stream.
The BMW 2005 E46 sends binary data amongst the AT commands. Log below.
There were a couple of problems when this happened.
o Off by one error causing overflow of read buffer.
o No validation that input can be parsed by NewStringUTF()
This commit fixes the off-by-one, and validates that the input is ASCII.
I also increased the read buffer size to 256 to make it less likely we split
commands across buffers. We will lose the command when this happens.
2010-03-24 16:00:29.934185 > ACL data: handle 1 flags 0x02 dlen 17
L2CAP(d): cid 0x0040 len 13 [psm 0]
0000: 29 ef 13 41 54 2b 43 49 4e 44 3f 0d 6a )ï.AT+CIND?.j
2010-03-24 16:00:29.940502 < ACL data: handle 1 flags 0x00 dlen 38
0000: 22 00 40 00 2b ef 3d 0d 0a 2b 43 49 4e 44 3a 20 ".@.+ï=..+CIND:
0010: 31 2c 30 2c 30 2c 30 2c 34 2c 30 2c 35 0d 0a 0d 1,0,0,0,4,0,5...
0020: 0a 4f 4b 0d 0a b0 .OK..°
2010-03-24 16:00:29.949657 > HCI Event: Number of Completed Packets (0x13) plen 5
handle 1 packets 1
2010-03-24 16:00:30.004284 > ACL data: handle 1 flags 0x02 dlen 9
L2CAP(d): cid 0x0040 len 5 [psm 0]
0000: 29 ff 01 01 76 )ÿ..v
2010-03-24 16:00:30.137218 > ACL data: handle 1 flags 0x02 dlen 144
L2CAP(d): cid 0x0040 len 140 [psm 0]
0000: 29 ef 0e 01 02 a9 03 58 02 a9 03 64 02 a9 03 98 )ï...©.X.©.d.©..
0010: 02 a9 03 98 02 a9 03 98 02 a9 03 98 02 a9 03 98 .©...©...©...©..
0020: 02 a9 03 98 02 a9 03 98 02 a9 03 98 02 a9 03 98 .©...©...©...©..
0030: 02 a9 04 d8 02 a9 03 a4 02 a9 03 b0 02 a9 03 bc .©.Ø.©.¤.©.°.©.¼
0040: 02 a9 03 c8 02 a9 03 fc 02 a9 04 38 02 a9 04 44 .©.È.©.ü.©.8.©.D
0050: 02 a9 04 50 02 a9 04 84 02 a9 04 90 02 a9 04 9c .©.P.©...©...©..
0060: 02 a9 04 a8 02 a9 04 b4 02 a9 04 c0 02 a9 04 d8 .©.¨.©.´.©.À.©.Ø
0070: 02 a9 04 d8 02 a9 04 cc 02 a9 10 7c 02 a9 10 d8 .©.Ø.©.Ì.©.|.©.Ø
0080: 02 a9 10 e4 02 a9 10 f4 02 a9 11 6a .©.ä.©.ô.©.j
Change-Id: I7ccff70bc95a7945d8ff03527764fd8f4da04d24
Bug:
2539053
Jean-Baptiste Queru [Thu, 25 Mar 2010 16:48:50 +0000 (09:48 -0700)]
Hide download manager.
Not ready for public consumption yet.
Bug:
2544512
Change-Id: I8be1a4aa24581c6d272b087439f3e22ef1fc29d2
Patrick Scott [Thu, 25 Mar 2010 15:18:59 +0000 (11:18 -0400)]
Use ViewRoot.addConfigCallback instead of a BroadcastReceiver.
Store a list of Handlers in a global ComponentCallbacks instance. Use
WeakReference to avoid leaking BrowserFrame objects.
Bug:
2542935
Change-Id: I67b102288f47f9fa6e855ba6558f2b1d611e8427
Grace Kloba [Thu, 25 Mar 2010 00:13:29 +0000 (17:13 -0700)]
Draw a hairline border in the overscroll mode.
Fix http://b/issue?id=
2542449
Dave Sparks [Thu, 25 Mar 2010 15:24:24 +0000 (08:24 -0700)]
Merge "New lock/unlock sounds."
Leon Clarke [Thu, 25 Mar 2010 14:38:22 +0000 (07:38 -0700)]
Merge "b/issue?id=
2516676 Correctly scale the play button and youtube logo when embedded youtube videos are displayed at smaller than the suggested size."
Bjorn Bringert [Thu, 25 Mar 2010 14:36:46 +0000 (07:36 -0700)]
Merge "Use a secure setting for default browser geolocation permissions"
Leon Clarke [Wed, 24 Mar 2010 17:30:32 +0000 (17:30 +0000)]
http://b/issue?id=
2516676
Correctly scale the play button and youtube logo when embedded
youtube videos are displayed at smaller than the suggested size.
Bjorn Bringert [Wed, 24 Mar 2010 10:59:48 +0000 (10:59 +0000)]
Use a secure setting for default browser geolocation permissions
Partly reverts I6308b476ad18b1d71d7438b936c592a45365c9f0
Bug: http://b/issue?id=
2535598
Change-Id: Ib488c6d4f10a87b714ecb78eef6fe58f572907c6
Wu-cheng Li [Thu, 25 Mar 2010 10:52:00 +0000 (03:52 -0700)]
Merge "Fix testCameraPreviewMemoryUsage test."
Wu-cheng Li [Thu, 25 Mar 2010 09:27:29 +0000 (17:27 +0800)]
Fix testCameraPreviewMemoryUsage test.
Looper.quit() is asynchronous. The looper may still has some
preview callbacks in the queue after quit is called. The preview
callback still uses the camera object (setHasPreviewCallback).
After camera is released, RuntimeException will be thrown from
the method. So we need to join the looper thread here.
This change also fixes a potential race condition.
bug:
2521202
Change-Id: If69bbb3125d1d30192563559579b87c20fa5aac8
Brad Fitzpatrick [Thu, 25 Mar 2010 09:05:31 +0000 (02:05 -0700)]
Merge "Hopefully fix the sim-eng build, part 2."
Brad Fitzpatrick [Thu, 25 Mar 2010 09:01:32 +0000 (02:01 -0700)]
Hopefully fix the sim-eng build, part 2.
This is kinda gross, but I can't find a good way to check for the
existence of gettid(), except by finding its syscall number. Then
might as well just use it rather than hope gettid's around, as it's
not in sim-eng.
Change-Id: Ieb7b39426dec08bd715b6fe1a9ab5b2801bdf775
Dianne Hackborn [Thu, 25 Mar 2010 08:02:32 +0000 (01:02 -0700)]
Merge "Fix issue #
2543231: chat invitation dialog does show all the time"
Dianne Hackborn [Thu, 25 Mar 2010 07:47:24 +0000 (00:47 -0700)]
Fix issue #
2543231: chat invitation dialog does show all the time
We were forgetting to re-assign layers after re-ordering windows
after an app token transaction.
Change-Id: I448c0b9da644e027c3edff3ae8a4afa79da292d1
Brad Fitzpatrick [Thu, 25 Mar 2010 07:25:37 +0000 (00:25 -0700)]
Try to fix sim build. Looks like gettid() is in unistd.h.
Change-Id: Ib1ecea86246ad75b2553b0ccc8ce03a53ffdf218
Brad Fitzpatrick [Wed, 24 Mar 2010 23:14:09 +0000 (16:14 -0700)]
Log blocking Binder calls to the EventLog.
This mimics what we do already for SQLiteDatabase's db_operation and
ContentProvider's content_query_operation and
content_update_operation: over a threshold things are always logged,
and under which they're sub-sampled.
Change-Id: Ia0280b9b07b336ee88b17be2a31a7af0fd7c5770
Amith Yamasani [Thu, 25 Mar 2010 05:26:10 +0000 (22:26 -0700)]
Merge "Fix
2242164 Soft keyboard keeps getting enabled even if I disable it"
Amith Yamasani [Thu, 25 Mar 2010 04:39:27 +0000 (21:39 -0700)]
Fix
2242164 Soft keyboard keeps getting enabled even if I disable it
On keyboardful devices, it is possible to disable the system soft input
method. Something changed in eclair that caused the ime to be re-enabled
on every package manager update (packages added/deleted).
Now keep track of disabled system imes in the settings db and search
in that list before enabling a system IME on package changes.
Every time the user goes to settings to enable/disable imes, the list
is re-created.
Any new system IMEs that may be added via an OTA will get enabled if
they have a different package name.
Jeff Brown [Thu, 25 Mar 2010 03:06:41 +0000 (20:06 -0700)]
Merge "Ensure Binder finalizer handles partially initialized instances."
Jeff Brown [Thu, 25 Mar 2010 01:56:57 +0000 (18:56 -0700)]
Ensure Binder finalizer handles partially initialized instances.
If the Binder is allocated but its constructor does not run for some
reason, then Binder.init() will not be called. Since the object was
allocated, it is still eligible for finalization. Eventually when
the finalizer runs and calls Binder.destroy(), it will have a NULL
binder holder pointer. Previously this would cause Binder.destroy()
to attempt to decrement a reference count on a NULL pointer.
Now we check and ignore the binder if it does not have a valid
holder pointer.
Bug: b/
2533956
Change-Id: Ifc2729b2f2abe8bceea5a0645ae0a4c1575b7846
Neal Nguyen [Thu, 25 Mar 2010 02:15:31 +0000 (19:15 -0700)]
Refactoring PackageManagerHostTests helper functions into a utility class for easier sharing with future stress tests.
Change-Id: I4ec77b005e2f480687b13c92676c5f62962c2e66
Dave Sparks [Thu, 25 Mar 2010 02:02:29 +0000 (19:02 -0700)]
New lock/unlock sounds.
Change-Id: I464498b56d623d960e8a2de1f53bd5d4fcd3d69c
Grace Kloba [Thu, 25 Mar 2010 01:27:18 +0000 (18:27 -0700)]
Merge "There are two computeHorizontalScrollRange() got missed in the last conversion."
Dan Egnor [Thu, 25 Mar 2010 01:13:41 +0000 (18:13 -0700)]
Merge "Limit DropBox storage to 1000 files (by default)."
Grace Kloba [Thu, 25 Mar 2010 01:05:37 +0000 (18:05 -0700)]
There are two computeHorizontalScrollRange() got
missed in the last conversion.
Fix http://b/issue?id=
2542555
Irfan Sheriff [Wed, 24 Mar 2010 19:11:00 +0000 (12:11 -0700)]
Disallow tethering disable by Wifi
Disallow Tethering being disabled by Wifi
and vice versa. We now need to explicitly
disable tethering to enable Wifi.
Bug:
2539071
Change-Id: Id34a5335e70cb7234367b4709882937a4b8cc526
Irfan Sheriff [Thu, 25 Mar 2010 01:00:15 +0000 (18:00 -0700)]
Merge "Fix WakeLock issue for driver stop"
Irfan Sheriff [Tue, 23 Mar 2010 19:24:33 +0000 (12:24 -0700)]
Fix WakeLock issue for driver stop
Due to message removal, wakelock could be held forever.
Do a timer only based wakelock release until we do this
more cleanly in ConnectivityService for later release.
Also, add an optimization to prevent use of wakelocks when driver is
already stopped.
Bug:
2529883
Change-Id: Ia1c2ddd44213ef3aa609855613bf155945bef8e4
Dan Egnor [Thu, 25 Mar 2010 00:48:20 +0000 (17:48 -0700)]
Limit DropBox storage to 1000 files (by default).
Also does trimming asynchronously (not directly in the broadcast receiver).
Bug:
2541253
Change-Id: I7daf8bc618e2dce68a98571f5f7fbce4df1d6a76
Scott Main [Thu, 25 Mar 2010 00:18:01 +0000 (17:18 -0700)]
docs: clean docs to use consistent "sidebox" classes (eliminate sidebox-inner)
Change-Id: I8a2a343257b055b5447bca03a98e48ad4387ff42
Chih-Chung Chang [Wed, 24 Mar 2010 23:38:02 +0000 (16:38 -0700)]
Call unlinkToDeath() when we disconnect the Camera,
so we don't hold the (weak) reference to it, which caused
(small) memory leaks.
Change-Id: If7d58a354fd38c8bc380946bf227b52988ac5118
Ben Cheng [Wed, 24 Mar 2010 23:15:43 +0000 (16:15 -0700)]
Update a stale JIT option name.
Change-Id: I4b2f2c215a0258adf52861bac025e32df7f40b14
Gilles Debunne [Tue, 23 Mar 2010 23:44:48 +0000 (16:44 -0700)]
null header and footer allowed in HeaderViewListAdapter.
The view infos should never be null since they are created by ListView, which is
the natural and only use of this class.
However, some tests in CTS pass null pointers. Replace null by a static empty list.
http://b/issue?id=
2527753
Change-Id: I9b92fa018c89007f12be899285f75130b2c8ac40
Adam Powell [Wed, 24 Mar 2010 22:11:45 +0000 (15:11 -0700)]
Merge "Fix some bugs/edge cases in ScrollView/HorizontalScrollView"
Gilles Debunne [Wed, 24 Mar 2010 21:47:28 +0000 (14:47 -0700)]
Fixes for HeaderViewListAdapter.
Null header and footer, as used by CTS tests, were no longer supported.
Added a static empty list to avoid repetitive null tests in that case.
Fixed getItem/getItemId/getView to handle corner cases.
Changed ListAdapter isEnabled documentation for invalid positions.
http://b/issue?id=
2527753
Change-Id: I55e5bf21cb0673d906caa7c669987a6ae869d90f
Adam Powell [Wed, 24 Mar 2010 21:23:43 +0000 (14:23 -0700)]
Fix some bugs/edge cases in ScrollView/HorizontalScrollView
Handle ACTION_CANCEL, fix edge cases related to grabbing content and
beginning a new scroll during overfling/springback. Will prevent
some cases where a view could get stuck overscrolled.
Change-Id: I7e89d9de9b7dc685d2ea278e6b2bd2c794364204
Adam Powell [Wed, 24 Mar 2010 21:05:55 +0000 (14:05 -0700)]
Merge "Fix for bug
2502886 - stupid monkeys."
Andreas Huber [Wed, 24 Mar 2010 20:53:28 +0000 (13:53 -0700)]
Merge "QueryCodecs now returns the names of the software codecs (non-OpenMax) as well."
Jack Palevich [Wed, 24 Mar 2010 20:50:33 +0000 (13:50 -0700)]
Merge "Improve our EGL management when pausing / resuming."
Andreas Huber [Wed, 24 Mar 2010 20:49:20 +0000 (13:49 -0700)]
QueryCodecs now returns the names of the software codecs (non-OpenMax) as well.
Change-Id: Ic4cd61f4dd722fb0dda544ffaa5615e87e3a4d40
related-to-bug:
2541647
Jack Palevich [Wed, 24 Mar 2010 20:46:15 +0000 (13:46 -0700)]
Improve our EGL management when pausing / resuming.
We now release the EGL context when pausing. This
is required to reduce the chance of running out of
contexts on devices which support a limited number
of active EGL contexts.
Someday we may implement a global EGL context
manager that will allow us to let EGL contexts
persist until another activity needs an EGL
context. But for now, without such a manager,
we take the conservative approach.
Separately, we now terminate EGL when
pausing on Sapphire. This is a requirement of the
Sapphire OpenGL driver.
Adam Powell [Wed, 24 Mar 2010 20:42:51 +0000 (13:42 -0700)]
Fix for bug
2502886 - stupid monkeys.
Plugged a possible edge case with ScrollView/HorizontalScrollView that
could cause this error.
Change-Id: I509004189b9f5e536d6213c9fdfff598d9f958ca
Dmitri Plotnikov [Wed, 24 Mar 2010 17:20:46 +0000 (10:20 -0700)]
Forcing query execution in SQLiteDatabase.query
The issue is that our code often "executes" a query
on a background thread but iterates over the cursor
on the UI thread. Since we actually do the fetch
on moveToFirst or moveToNext, the query is in reality
often run on the UI thread and causes an ANR.
Change-Id: Ia561135e974a44ad3e3774ecb23c6a3d0fc38176
Dianne Hackborn [Wed, 24 Mar 2010 20:22:20 +0000 (13:22 -0700)]
Merge "Fix issue #
2540920: connectivity issues with tripit/pandora"
Kenny Root [Wed, 24 Mar 2010 20:20:21 +0000 (13:20 -0700)]
Merge "Use correct API version for UTF-8 checking"
Dianne Hackborn [Wed, 24 Mar 2010 20:11:55 +0000 (13:11 -0700)]
Merge "Fix issue #
2537384: Default keyboard input method switched on Eclaire to FRE77D upgrade"
Scott Main [Wed, 24 Mar 2010 20:10:54 +0000 (13:10 -0700)]
Merge "docs: fix several instances of the 'sidebox' class"
Patrick Scott [Wed, 24 Mar 2010 19:47:17 +0000 (15:47 -0400)]
Use the Display orientation rather than the accelerometer.
Register to receive configuration changes and query the Display rotation as that
will reflect both device orientation and an open keyboard.
Bug:
2219138
Change-Id: Ibd6119ae0c7d473e1a9ede3af24bb4b584c9db71
Dianne Hackborn [Wed, 24 Mar 2010 06:03:25 +0000 (23:03 -0700)]
Fix issue #
2537384: Default keyboard input method switched
on Eclaire to FRE77D upgrade
We want to prefer system IMEs when our current IME disappears.
Change-Id: Ief7332bc4f029991cd833ce0968d75bde987b594
Dianne Hackborn [Wed, 24 Mar 2010 19:59:52 +0000 (12:59 -0700)]
Fix issue #
2540920: connectivity issues with tripit/pandora
Need to be sure to compute gids when SD card is mounted, since we
need the package info for that. Note that this is not re-granting
permissions (and in the future we could optimize this to just pass
through the mounted apps).
Change-Id: I51e1c23d17a6429642132902ef75c65a307fc33a
Amith Yamasani [Wed, 24 Mar 2010 19:43:28 +0000 (12:43 -0700)]
Merge "Asset update for key feedback bubble - removes edge artifact."
Amith Yamasani [Wed, 24 Mar 2010 19:40:19 +0000 (12:40 -0700)]
Asset update for key feedback bubble - removes edge artifact.
Bug:
2511111
Leon Scroggins [Wed, 24 Mar 2010 18:44:04 +0000 (14:44 -0400)]
Do not provide a way to use an AsyncTask from a non main thread.
Fix for http://b/issue?id=
2539948
This public API can be called from any thread, so do not use an
AsyncTask. In a separate changelist, the caller now uses an
AsyncTask instead.
Change-Id: I646950964323f8c749f9aa2176226561c6f2b21f
Dianne Hackborn [Wed, 24 Mar 2010 19:10:31 +0000 (12:10 -0700)]
Merge "Maybe fix #
2422586: Native crash in android_os_Parcel_closeFileDescriptor() killed the phone process"
Kenny Root [Wed, 24 Mar 2010 18:55:16 +0000 (11:55 -0700)]
Use correct API version for UTF-8 checking
Use the constant for checking the API version in aapt instead of a bare
number.
Bug:
2541326
Change-Id: Ice7af7b393363a00f1832dd84753b8138d057fb4
Patrick Scott [Wed, 24 Mar 2010 18:20:18 +0000 (14:20 -0400)]
Remove old asset.
Change-Id: I5b4bdb6b038bba3eb2f03c6f53541d99fab0bad5
Steve Block [Wed, 24 Mar 2010 16:24:25 +0000 (16:24 +0000)]
Fixes XHR requests to use the username and password supplied from JavaScript
Currently, the browser does not use the credentials supplied from JavaScript.
If a request returns a 401 Unauthorized, the browser always prompts the user.
This violates http://www.w3.org/TR/XMLHttpRequest/#the-send-method
Bug:
2533522
Change-Id: I8e72c1a0be187d193c4ad6b2ca8a624c7ae06fa1
Steve Block [Wed, 24 Mar 2010 18:07:59 +0000 (11:07 -0700)]
Merge "Fixes synchronous XHR requests which require authentication to complete synchronously"
Andreas Huber [Wed, 24 Mar 2010 18:05:46 +0000 (11:05 -0700)]
Merge "Enable early termination of the prefetcher's preparation phase."
Steve Block [Wed, 24 Mar 2010 16:41:31 +0000 (16:41 +0000)]
Fixes synchronous XHR requests which require authentication to complete synchronously
Bug:
2540515
Change-Id: I58eebdf2db9388f66c75d86dc26b8055f513b038
Brad Fitzpatrick [Wed, 24 Mar 2010 05:22:16 +0000 (22:22 -0700)]
Log database lock contention as well (as seperate pseudo-queries).
This also makes the 500ms logging threshold (over which is always
logged, and under which is sub-sampled) configurable via a
SystemProperty, which is mostly useful for interactive debugging when
lock contention is suspected, but could also be useful in the future
as a quick way to adjust this threshold for dogfooders, without code
changes.
Change-Id: I769069d8d870331d89a4aa3239ba50db806fe4d4
Suchi Amalapurapu [Wed, 24 Mar 2010 17:43:59 +0000 (10:43 -0700)]
Merge "Clean up stale containers if needed at install time. This is needed when restoring applications installed on sdcard via Market after a data wipe. The stale containers need to be cleaned up before reinstalling again. Add a test case for installing when a stale container exists."
Fred Quintana [Wed, 24 Mar 2010 17:39:28 +0000 (10:39 -0700)]
Merge "fix bug where sync settings set lost upon upgrade from donut and eclair to froyo"
Fred Quintana [Wed, 24 Mar 2010 00:57:03 +0000 (17:57 -0700)]
fix bug where sync settings set lost upon upgrade from donut and eclair
to froyo
- intepret a missing syncavble attribute from donut as "unsynced"
rather than the traditional "true"
- copy the sync settings from the authorities "contacts" and "calendar"
to "com.android.contacts" and "com.android.calendar" if the latter
don't already have settings
- delay the database cleanup until after boot completed, which will give
the GoogleLoginService accounts migration code a chance to run; this
was causing all the settings to get removed upon a donut to froyo upgrade
Change-Id: I8795e97ba0c9b930d1a50784229ca9ab15dff9d2
http://b/issue?id=
2531359
Suchi Amalapurapu [Wed, 24 Mar 2010 16:27:19 +0000 (09:27 -0700)]
Clean up stale containers if needed at install time.
This is needed when restoring applications installed on sdcard
via Market after a data wipe. The stale containers need to be cleaned up before
reinstalling again.
Add a test case for installing when a stale container exists.
Change-Id: I20c30b3003e85fb31531dd3cf9cb59962fe8fe5f
Vasu Nori [Wed, 24 Mar 2010 17:11:19 +0000 (10:11 -0700)]
Merge "when corruption occurs, log a warning before closing db"
Mike Lockwood [Wed, 24 Mar 2010 16:53:03 +0000 (09:53 -0700)]
Merge "Wait until GpsLocationProvider is fully initialized before returning from the constructor."
Mike Reed [Wed, 24 Mar 2010 16:45:58 +0000 (09:45 -0700)]
Merge "If we detect a 9patch chunk, force the config chooser to avoid 565, with its pre-dithering madness"
Andreas Huber [Wed, 24 Mar 2010 16:24:40 +0000 (09:24 -0700)]
Enable early termination of the prefetcher's preparation phase.
Change-Id: I929ac9b0fd0b6ebd98c1bc56be18ac8f8378d48c
related-to-bug:
2537407
Mike Lockwood [Wed, 24 Mar 2010 14:14:55 +0000 (10:14 -0400)]
Wait until GpsLocationProvider is fully initialized before returning from the constructor.
Otherwise we are left with a race condition that might result in the provider
being called before it is ready.
BUG:
2539392
Change-Id: I05f4a2501c43d5fa95c0e68f5a963015cf9c6e8f
Signed-off-by: Mike Lockwood <lockwood@android.com>
Suchi Amalapurapu [Wed, 24 Mar 2010 15:34:31 +0000 (08:34 -0700)]
Merge "Add new activity manager method to get list of running applications installed on sdcard. Use new method in UsbStorageActivity. Fix moving dex files. moveDex should be suffixed with LI since it uses Installer"
Leon Scroggins [Tue, 23 Mar 2010 19:39:46 +0000 (15:39 -0400)]
If failUrl(now historyUrl) is null, use "about:blank" instead of "".
This prevents a crash that is caused by calling
WebView.loadDataWithBaseUrl with a null failUrl (which I have renamed
to historyUrl). Also update the docs to be more accurate.
Fixes the general case of bug
2522457
Change-Id: I832351ce1e0016b00e924a2f9b0097ae15fba34a