Robert Greenwalt
b012e15441
Merge "Fix Tethering of multiple downstream ifaces."
2010-03-25 15:50:25 -07:00
Robert Greenwalt
b37f0c6513
Fix Tethering of multiple downstream ifaces.
...
We weren't notifying the second tethered iface of it's upstream iface name so its traffic
was not getting routed correctly.
We also weren't clearing out our connected iface name when we untethered, so the route rules
weren't getting flushed when the last tether came down.
Change-Id: I34e5d672ea882c89c8f582d69d6dc421cb52d4b4
2010-03-25 15:29:57 -07:00
Irfan Sheriff
a3bd409a0a
settings variable for wifi saved state
...
We add a variable for saving wifi state
to restore after tethering.
Bring up wifi on boot up if the state indicates so.
Bug: 2537983
Change-Id: I9c6548b93df6fcbc0cec1e6b857f7224dc6d1b2c
2010-03-25 15:10:34 -07:00
Robert Greenwalt
bfb7bfa538
Update Framework to support multiple dhpc ranges
...
Previously we only supported a single range - this was inadequate for
multiple interfaces. Adding a second range so we can support
both usb and wifi tethering.
Also moving out of the zero-conf range as our dhcp client won't
accept ip addrs in that range (no nexus to nexus wifi action).
bug: 2537963
bug: 2533491
bug: 2538303
Change-Id: I600b421343c28c2f9839ed2076122ae3d0ff5d3d
2010-03-25 14:46:13 -07:00
Fred Quintana
838bfef915
Merge "check for nulls"
2010-03-25 14:39:15 -07:00
Mathias Agopian
dc5ce9c548
fix [2545826] calling into gralloc with external lock held
...
Change-Id: I2d0e017382404c684c768a0dd0423d574213f10a
2010-03-25 14:34:49 -07:00
Fred Quintana
382601fc8b
check for nulls
...
Change-Id: Ie02749db1dceb4288a70e5b28040459d669904c1
http://b/issue?id=2527346
2010-03-25 13:55:02 -07:00
Patrick Scott
661a19765b
Merge "Add .3gpp as the preferred extension for video/3gpp."
2010-03-25 13:27:57 -07:00
Daniel Sandler
c68b5b7e5b
Merge "Use a more benign icon for ADB notifications."
2010-03-25 13:26:36 -07:00
Brad Fitzpatrick
b80d49d338
Merge "Better fix for gettid() sim-eng breakage from last night."
2010-03-25 13:22:15 -07:00
Daniel Sandler
39576c8df3
Use a more benign icon for ADB notifications.
...
Also suppress vibe & noise for ADB notifications.
Bug: 2544480
Bug: 2545486
Change-Id: I955a7271f47601f9b35f0d3fcd48363370ebd252
2010-03-25 16:19:53 -04:00
Patrick Scott
c9048a683d
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
2010-03-25 16:18:05 -04:00
Jean-Baptiste Queru
3435485164
Revert "Hide download manager."
...
This reverts commit aaaf1232177ca008818ddac13f5f98405b789ff2.
2010-03-25 13:09:03 -07:00
Brad Fitzpatrick
5348c01412
Better fix for gettid() sim-eng breakage from last night.
...
Change-Id: I2e8762d43b3c224a2e102ff82fc79072a85bb4c6
2010-03-25 12:43:56 -07:00
Jean-Baptiste Queru
292c361cfd
Merge "Hide download manager."
2010-03-25 12:35:22 -07:00
Dianne Hackborn
0f5b3c89dc
Merge "Dumb late-night typo."
2010-03-25 12:32:12 -07:00
Joe Onorato
0a936a07bc
Merge "Add window flags and window types to hierarchyviewer."
2010-03-25 11:54:12 -07:00
Jack Palevich
a0e11ba203
Merge "Turn off thread logging (too many messages.)"
2010-03-25 11:54:10 -07:00
Jack Palevich
57c6a46bd0
Turn off thread logging (too many messages.)
...
Leave some other logging on for the monkey test.
2010-03-25 11:53:27 -07:00
Joe Onorato
8f2bd4328a
Add window flags and window types to hierarchyviewer.
...
For debugging http://b/issue?id=2544870
Change-Id: I4b7775e6fd275bb7a9041bf5736e076122bfb5f1
2010-03-25 11:52:06 -07:00
Dianne Hackborn
529bef6925
Dumb late-night typo.
...
Change-Id: If5e5d8c3728ffc06d686c793ed94a7e18328e5ab
2010-03-25 11:48:43 -07:00
Steve Block
c6a90a59b3
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
2010-03-25 18:18:36 +00:00
Neal Nguyen
6108af2599
Merge "Refactoring PackageManagerHostTests helper functions into a utility class for easier sharing with future stress tests."
2010-03-25 11:09:38 -07:00
Mike Reed
cd06ff13c9
Merge "update dox that we ignore the exact parameter on computeBounds"
2010-03-25 11:04:02 -07:00
Mike Reed
54900e8c05
update dox that we ignore the exact parameter on computeBounds
...
Change-Id: I6051210ea2a73b4d1c6cd631a285209ab130b4e5
2010-03-25 14:02:40 -04:00
Jack Palevich
2a5641454d
Merge "Add logging of GLSurfaceView pause/resume calls."
2010-03-25 10:53:10 -07:00
Jack Palevich
e6c9448eb3
Add logging of GLSurfaceView pause/resume calls.
...
Turn on GLSurfaceView logging, so we can get better
information in the monkey tests.
Change-Id: Ifec0101f8a00ab09037dc9f7a1496fa1a374cc08
2010-03-25 10:50:21 -07:00
Grace Kloba
6f5decf3e9
Merge "Turn on plugin signature checking."
2010-03-25 10:32:22 -07:00
Grace Kloba
26f1faa122
Turn on plugin signature checking.
...
Fix http://b/issue?id=2465450
2010-03-25 10:25:59 -07:00
San Mehat
4d2d90a3da
Merge "MountService: Switch all Log -> Slog"
2010-03-25 10:20:44 -07:00
Chih-Chung Chang
5202eaaa5f
Merge "Call unlinkToDeath() when we disconnect the Camera, so we don't hold the (weak) reference to it, which caused (small) memory leaks."
2010-03-25 10:05:58 -07:00
San Mehat
a507859797
MountService: Switch all Log -> Slog
...
Change-Id: Id33c76497e9d963f295ef6e99d850223ca59b6cd
Signed-off-by: San Mehat <san@google.com>
2010-03-25 10:03:39 -07:00
Nick Pelly
f4264011c0
Merge "Fix Phone App crash due to binary data in HSP/HFP stream."
2010-03-25 10:01:21 -07:00
Nick Pelly
8457b0f0c6
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
2010-03-25 09:56:01 -07:00
Jean-Baptiste Queru
aaaf123217
Hide download manager.
...
Not ready for public consumption yet.
Bug: 2544512
Change-Id: I8be1a4aa24581c6d272b087439f3e22ef1fc29d2
2010-03-25 09:48:50 -07:00
Patrick Scott
11f5738424
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
2010-03-25 11:51:37 -04:00
Grace Kloba
9c4750a676
Draw a hairline border in the overscroll mode.
...
Fix http://b/issue?id=2542449
2010-03-25 08:32:22 -07:00
Dave Sparks
8c997b03ad
Merge "New lock/unlock sounds."
2010-03-25 08:24:24 -07:00
Leon Clarke
a652e4ffdd
Merge " 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."
2010-03-25 07:38:22 -07:00
Bjorn Bringert
852888cb71
Merge "Use a secure setting for default browser geolocation permissions"
2010-03-25 07:36:46 -07:00
Leon Clarke
6fad943d19
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.
2010-03-25 14:19:06 +00:00
Bjorn Bringert
98bfa39596
Use a secure setting for default browser geolocation permissions
...
Partly reverts I6308b476ad18b1d71d7438b936c592a45365c9f0
Bug: http://b/issue?id=2535598
Change-Id: Ib488c6d4f10a87b714ecb78eef6fe58f572907c6
2010-03-25 14:04:45 +00:00
viral.vkm
1be46d7920
setCornerRadii should be called when either of corners radius is specified
...
as 0dp and thus while checking for condition, it should be ORed and not ANDed.
It solves Android Issue: 939
http://code.google.com/p/android/issues/detail?id=939
Change-Id: Ic18fae769480972f763f634e7462c6ed3853220b
2010-03-25 17:50:57 +05:30
Wu-cheng Li
bb961a05d7
Merge "Fix testCameraPreviewMemoryUsage test."
2010-03-25 03:52:00 -07:00
Wu-cheng Li
59411b3373
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
2010-03-25 18:26:42 +08:00
Brad Fitzpatrick
0ef0b361c4
Merge "Hopefully fix the sim-eng build, part 2."
2010-03-25 02:05:31 -07:00
Brad Fitzpatrick
ad8fd282dd
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
2010-03-25 02:01:32 -07:00
Dianne Hackborn
2e13d2331e
Merge "Fix issue #2543231 : chat invitation dialog does show all the time"
2010-03-25 01:02:32 -07:00
Dianne Hackborn
16064f9f18
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
2010-03-25 01:00:03 -07:00
Brad Fitzpatrick
8f26b323d8
Try to fix sim build. Looks like gettid() is in unistd.h.
...
Change-Id: Ib1ecea86246ad75b2553b0ccc8ce03a53ffdf218
2010-03-25 00:25:37 -07:00