56760 Commits

Author SHA1 Message Date
Amith Yamasani
055cf36319 Merge "Accessibility strings for search view components." 2011-08-16 10:40:02 -07:00
Chia-chi Yeh
0c074e6843 VPN: reset legacy VPN when resetting IPv4 addresses.
Currently legacy VPN only works on IPv4, and it should always
turn down when the addresses are changed. It assumed that the
interface will be brought down and up, so the event can be
detected via interfaceStatusChanged(). However, the assumption
was incorrect and the event is actually driver-dependent. To
fix this issue, ConnectivityService now tells VPN that the
interface is down when resetting IPv4 addresses.

Change-Id: I76d15e56552d86635c5b274ca980be5da905a6fb
2011-08-16 10:08:33 -07:00
James Dong
92d6ea3e83 Don't time out prematurely for video encoding waiting for output buffers
o For timelapse video encoding, the timelapse between two neighoring
  input frames could be very long

Change-Id: I2b6f9c392f2237deae71c894efc7fc3692431796
related-to-bug: 5160548
2011-08-16 10:02:17 -07:00
Robert Greenwalt
8e99d18334 Merge "Flush central DNS cache when things change." 2011-08-16 09:41:54 -07:00
Robert Ly
7a9effebcf Merge "docs: cherrypick from hc-mr2 Change-Id: I42d2befab1c848dc0b9aa5b4c5ac25ee50bd9a7b" 2011-08-16 09:17:35 -07:00
Kristian Monsen
9a1b3c9c99 Fix for bug 3429537 Google voice (web version) does not play messages on HC
Sending cookies to the MediaPlayer

Depends on external/webkit CL: https://android-git.corp.google.com/g/#/c/128457/

Change-Id: Ic4929a73eb6eb857a21fe7e745ae15e92420d3d8
2011-08-16 16:53:16 +01:00
Kenny Root
46d2545db4 Merge "Infrastructure to support package verifier" 2011-08-16 08:35:53 -07:00
Kenny Root
bcc2d40a11 Merge "Throw exception on odd length Signatures" 2011-08-16 08:34:22 -07:00
Kristian Monsen
b921608325 Testing for bug 5122864 libwebcore related libraries increased by 3MB in ICS vs HCMR2
Reenabling chromium as a shread lib

Change-Id: I5f7abe61624d812c5781c4a453f587e744bc082d
2011-08-16 16:31:05 +01:00
Josiah Gaskin
b711f3f7ee Change generated dependency file names
This changes the name of the generated dependency files to R.java.d
and <ApkName>.ap_.d respectively.

Change-Id: I17e18770fc0d0a5d31c7b37b40ac1949f45ef13a
2011-08-16 08:14:51 -07:00
Justin Ho
d15ab6dce8 Merge "Updated frameworks/base/core assets Bug: 5076695" 2011-08-16 07:33:43 -07:00
Albert Mojir
f4c6404f50 Bluetooth event loop dispatches dbus data on wakeup
On some occasions when the event loop thread and a binder thread are
both waiting for a message from dbus, both threads are not woken up
when a message is received. This causes applications not receiving
responses or events. This happens because both threads are listening
to same socket and both threads are not guaranteed to wake up when
there is data to read. To fix this we subscribe to callback to wake
the eventloop when an message is added to incoming queue.

To reproduce the issue:
1. Activate BT
2. Make phone Discoverable
3. Clock is ticking down from 120s
4. At 20s tap the setting again
5. Crash due to keyDispatchingTimedOut
6. Not possible to scan for other devices or making your phone discoverable again
7. Restart necessary

Tell tale sign:
07-25 16:37:12.240 E/ActivityManager( 262): ANR in com.android.settings
    (com.android.settings/.bluetooth.BluetoothSettings)
07-25 16:37:12.240 E/ActivityManager( 262): Reason: keyDispatchingTimedOut

Test case to verify this patch:
android.bluetooth.BluetoothStressTest#testDiscoverable

Change-Id: I7696b5722805e85cd0204ce2597e91594cbe6789
2011-08-16 12:26:13 +02:00
Ben Murdoch
4d830071fa No need to pass an AssetManager to native when creating a WebView
See external/webkit change:
Ia6c17634f535ed75b2a0757ac4d53f1a0befb78a

Bug: 5084146
Change-Id: I5a2e87d03d73fa74ebb00c33567783225ed97d3a
2011-08-16 11:10:00 +01:00
Ben Murdoch
2fd1f816cd Merge "Add a function to query the available memory on the device." 2011-08-16 02:11:45 -07:00
Chih-Chung Chang
1f5de3833d Display thumbnails one by one and cache them.
Change-Id: I10808f5bca475aea924817bf532dc5916438563a
2011-08-16 16:48:43 +08:00
Mathias Agopian
93d75ec371 as a debug option SrufaceFlinger can now connect to DDMS
this is disabled by default. To enable:
  setprop debug.sf.ddms 1

this debug option requires to restart SurfaceFlinger

Change-Id: Ic2f8050b29911b55bcd21721648b6978700c277d
2011-08-15 20:44:40 -07:00
Dianne Hackborn
0a2f966473 Merge "Fix build." 2011-08-15 19:22:25 -07:00
Dianne Hackborn
02e935a79b Fix build.
Change-Id: I266ad683d12c6effc70351c6151482a7e886d94d
2011-08-15 19:21:24 -07:00
Adam Powell
64414d14a2 Merge "Fix bug 5167078 - Show a 'cheat sheet' popup for icon-only action buttons" 2011-08-15 19:06:54 -07:00
Adam Powell
7b5e9e6c1c Fix bug 5167078 - Show a 'cheat sheet' popup for icon-only action buttons
Action buttons: now less confusing!

Change-Id: I5c96effa64a2cdde22b71523b99ab489869fc245
2011-08-15 19:05:01 -07:00
Dianne Hackborn
34c788096f Merge "Add new am option to profile the launching of an activity." 2011-08-15 18:57:57 -07:00
Daniel Sandler
612cb6eeed Merge "Fix the crazy RSSI icons." 2011-08-15 18:51:04 -07:00
Jeff Sharkey
b51645ee2c Merge "Foreground/background network stats using sets." 2011-08-15 18:44:15 -07:00
Jeff Sharkey
a06cb34283 Merge "Add NativeDaemonConnector users to watchdog." 2011-08-15 18:43:54 -07:00
Fabrice Di Meglio
3365275aa2 Merge "Fix bug #3388534 Long file names are improperly displayed when played" 2011-08-15 18:40:34 -07:00
Jeff Brown
0be5d7d333 Merge "Find next focus id from inside-out. Bug: 5165543" 2011-08-15 18:21:54 -07:00
Jeff Sharkey
360abf32cc Merge "Adjust holo tabs to match spec." 2011-08-15 18:17:43 -07:00
Romain Guy
5fa3e1446a Merge "Fix synchronization issue in ArrayAdapter External bug #19235" 2011-08-15 18:15:22 -07:00
Adam Powell
6be4d4539e Merge "Fix bug 5049406 - ActionBar UP with no home icon, tap highlight looks broken" 2011-08-15 18:09:47 -07:00
Justin Ho
37d7b16772 Updated frameworks/base/core assets
Bug: 5076695

Change-Id: I097da30284ddcac1dcad72b8471ce2a0c97b8f69
2011-08-15 18:06:35 -07:00
Matthew Xie
116f7ee276 Merge "Change prepare bluetooth timeout from 7 seconds to 10 seconds" 2011-08-15 18:01:57 -07:00
Eric Laurent
931e739463 Merge "Fix issue 5131056: key beeps when screen is locked" 2011-08-15 18:01:37 -07:00
Eric Laurent
96f218e0b9 Fix issue 5131056: key beeps when screen is locked
Clear AudioManager.FLAG_PLAY_SOUND in AudioService adjustSuggestedStreamVolume()
if keyguard is locked.

Change-Id: I2effb9cab8d946845e948b28899b17d7f24c1282
2011-08-15 17:57:05 -07:00
Dianne Hackborn
62f20ecf49 Add new am option to profile the launching of an activity.
Change-Id: Ie71a8043eafe41f53a0b3dbb5170276d87acbc9b
2011-08-15 17:55:57 -07:00
Matthew Xie
25c4e2a803 Change prepare bluetooth timeout from 7 seconds to 10 seconds
It was observed that the preparing bluetooth could take up to 8 seconds before
the SD loaded event came in.

Change-Id: I722f94ed9cbd12bdd033ca405838366139c61383
2011-08-15 17:52:29 -07:00
Adam Powell
9e58df5d40 Fix bug 5049406 - ActionBar UP with no home icon, tap highlight looks broken
Measure the action bar title layout to consume the full height of the bar.

Change-Id: Iaf0521c5c80b5bd7ceb7f756e50248f6a27fc1fc
2011-08-15 17:48:37 -07:00
Jaikumar Ganesh
0f2da17a95 Merge "Add utility functions for pause and tonewait pause." 2011-08-15 17:33:21 -07:00
Jaikumar Ganesh
a3fed51f2e Merge "Fix stuck in pairing when BT is turned off." 2011-08-15 17:33:12 -07:00
Jeff Sharkey
b5d55e302d Foreground/background network stats using sets.
Teach NetworkStats about "counter sets" coming from kernel, and use
them to track usage in foreground/background.  Add AID_NET_BW_ACCT to
system_server so it can control counter sets.

Move to composite key of NetworkIdentitySet, UID, set, and tag when
recording historical usage.  Persisting still clusters by identity,
since that is heaviest object.

Request async stats poll during systemReady() to bootstrap later
delta calculations. Reset kernel counters when UID removed. Update
various tests.

Bug: 5105592, 5146067
Change-Id: Idabec9e3ffcaf212879821515602ecde0a03de8c
2011-08-15 17:30:25 -07:00
Kenny Root
5ab2157bf1 Infrastructure to support package verifier
Allow a package verifier to approve or disapprove of a package being
installed.

Change-Id: Ibfea0f2b1aaa4ab1589a4e59f96144702b9bf94b
2011-08-15 17:26:31 -07:00
James Dong
c9b9cbc76e Use camcorder profiles for MediaRecorderStressTest
related-to-bug: 5167351

Change-Id: Ia21ca39a404484b2dda25c6101780d2ff11c4623
2011-08-15 17:23:00 -07:00
Jean-Michel Trivi
59df720668 Merge "Bug 5045498 javadoc for the remote control client API" 2011-08-15 17:14:04 -07:00
Jean-Michel Trivi
837da7153f Merge "Bug 5045498 Send media button event receiver to remote control" 2011-08-15 17:12:33 -07:00
Mathias Agopian
994a74747b Merge "have the sensorsevice test print the delay of the first received event" 2011-08-15 17:11:49 -07:00
Mathias Agopian
88b14c5d6d have the sensorsevice test print the delay of the first received event
Change-Id: I89d63122574c3f8790f00512c76d59b463acf18f
2011-08-15 17:10:23 -07:00
Adam Powell
6a23d09066 Merge "Fix bug 5165223 Fix Holo Spinner item/dropdown alignment." 2011-08-15 17:05:42 -07:00
inshik
4eb45cc98b Add utility functions for pause and tonewait pause.
Add a function that converts a string with RFC3601 defintion
of pause and wait into android representation.

Change-Id: Id8a17c3a166422d62247acb227506549990ace12
2011-08-15 17:05:25 -07:00
Adam Powell
62e2bdecc2 Fix bug 5165223 Fix Holo Spinner item/dropdown alignment.
Fix bug 5117565 Spinner popup extends out of screen bounds.

Change-Id: I7fef7bbe98aa26611c498d1fe875e84db57dcda0
2011-08-15 16:54:40 -07:00
Jaikumar Ganesh
89d55ad781 Fix stuck in pairing when BT is turned off.
When pairing is stuck, on turning BT off, we were
not setting the outgoing parining variable to null in
setBondState because of the extra check for isEnabled.

isEnabled check was added to prevent the proxy crash in
setProfilePriorities function. Proxies should never be null.
Add a safety check and also some extra logs to debug the problem.

Change-Id: I694dfeb8fa9426b3916775ca868c2313fa9c22ee
2011-08-15 16:41:08 -07:00
Scott Main
4c70eb49cc cherrypick Change-Id: I245fcc37495196b46d1930f74bdb7632fc106af2
docs: update ndk requirements
issue 5157542

Change-Id: I444775e1d392eb2e33c421b47b4335b62da8977e
2011-08-15 16:37:03 -07:00