24508 Commits

Author SHA1 Message Date
Amith Yamasani
055cf36319 Merge "Accessibility strings for search view components." 2011-08-16 10:40:02 -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
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
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
Jeff Sharkey
b51645ee2c Merge "Foreground/background network stats using sets." 2011-08-15 18:44:15 -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
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
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
Adam Powell
6a23d09066 Merge "Fix bug 5165223 Fix Holo Spinner item/dropdown alignment." 2011-08-15 17:05:42 -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
Amith Yamasani
616365e04c Accessibility strings for search view components.
Bug: 5128699
Change-Id: I5177a672aa68edd25d7aeb8be9dc030a9f6c60c9
2011-08-15 16:19:49 -07:00
Jeff Sharkey
11f4a48c54 Adjust holo tabs to match spec.
Change-Id: I8653ab10cd45bed3c38b15362e80af6c3319f763
2011-08-15 15:49:48 -07:00
Romain Guy
95a78c3837 Fix synchronization issue in ArrayAdapter
External bug #19235

Change-Id: I57d28a48ee1e4216e042e7f9d4b198b713f05b93
2011-08-15 15:48:17 -07:00
Jeff Brown
4dfbec2665 Find next focus id from inside-out.
Bug: 5165543

This change fixes some problems when the view hierarchy contains
duplicate ids, such as when ListViews contain nested custom views.
If the custom views contain next focused id hints, then the system
should prefer the other views within the ListView item over any
other views outside of the ListView item.

Change-Id: I5653ff6bac0bf9f08bd6ecbe5a3bb22ea47ab566
2011-08-15 14:55:37 -07:00
Eric Fischer
dd7bc9f457 Merge "Import revised translations." 2011-08-15 13:22:31 -07:00
Eric Fischer
23018767d2 Import revised translations.
Change-Id: Ic1a72dc93b5450b90bcc46365746e61d7d9ca3e6
2011-08-15 13:19:15 -07:00
Fabrice Di Meglio
8059e0903e Fix bug #3388534 Long file names are improperly displayed when played
- force ellipsising when there are more lines found than maxLines
- do not care about lines when we have reached maxLines
- also fix relayouting when changing maxLines thru setMaxLines()
- do not allow START / MIDDLE ellipsis when there are multiple lines
(and print a log accordingly)

Change-Id: I90f5a7f5200a220aceee01fb7300bec2c4c3a075
2011-08-15 13:18:34 -07:00
Matthew Xie
269cf1b214 Merge "Implement switchConnectable with Powered property setting instead of scan modes" 2011-08-15 11:49:31 -07:00
Matthew Xie
14e48e91f6 Implement switchConnectable with Powered property setting instead of scan modes
Bluez powered property setting is more apropriate for what this method intend to
achieve and it fixes a bug that incoming connection request wake up the stack in
The pairable events are replaced by power and discoverable events
HotOff state
bug 5080232

Change-Id: I43b44cb2f5203bd99bf764d5a1696e8ff52a31db
2011-08-15 11:31:54 -07:00
Amith Yamasani
7d8fc3c911 Merge "Revert "Use a weakreference to prevent the static variable from holding an Activity." Bug was fixed in a different way." 2011-08-15 11:14:19 -07:00
Tom Taylor
8f8dae158b Merge "Add private permission for sending SMS via Messaging app" 2011-08-15 10:59:30 -07:00
Adam Powell
e21f89c802 Merge "Fix bug 5159596 - Slider grabs touch point when trying to scroll a list" 2011-08-15 10:29:10 -07:00
Tom Taylor
b0381688b8 Add private permission for sending SMS via Messaging app
When the phone dialer sends an sms, it will use the Messaging app.
That way the sent messages will end up in the messaging provider db
and sending will be more reliable. Currently, the phone dialer
uses the SmsManager directly. For now, the feature is only
available to system apps and the permission is private. Bug 4563486

Change-Id: I10f7e1042683164ee61d01a2aaf738d19084da72
2011-08-15 10:27:53 -07:00
Claudia de Veaux
d53944b7e6 Merge "Edit to APN read/write APN Settings permissions. Bug: 5145868" 2011-08-15 10:24:19 -07:00
Gilles Debunne
186c1683ce Merge "Text suggestions are enabled for a subset of input types" 2011-08-15 10:07:59 -07:00
Jeff Sharkey
f2452b997c Merge "Change Preferences padding to match UI spec." 2011-08-14 21:18:02 -07:00
Jeff Brown
8b65c902ee Merge "Use PARCELABLE_WIRTE_RETURN_VALUE flag in InputChannel. Bug: 5161290" 2011-08-14 20:13:19 -07:00
Adam Powell
1029866a12 Fix bug 5159596 - Slider grabs touch point when trying to scroll a list
SeekBar widgets were not good citizens when placed in scrolling containers.
Detect when a SeekBar being touched is in a scrolling container and fall
back to a touch slop-based method for beginning a drag. Taps along the
seek bar itself will still change the value on touch up, even if the touch
slop never initiated a proper drag.

Factor out the code used to determine scrolling container status in View
into something that can be reused elsewhere in the framework; leave it
@hidden for now.

Change-Id: I59a21e8ab2c3b0092fafedbcd6ae1ee15f45971c
2011-08-14 18:29:23 -07:00
Adam Powell
37d81ac316 Merge "Fix bug 4981687 - WiFi connection dialog should dismiss when tapped outside." 2011-08-14 17:38:27 -07:00
Adam Powell
d42bc52030 Fix bug 4981687 - WiFi connection dialog should dismiss when tapped outside.
Be more forceful in how we allow touch outside to dismiss in
non-fullscreen situations. Dialogs will be canceled. Activities will
be finished.

Change-Id: I041a60501319829a2214f9249d154d5513049a0f
2011-08-14 17:16:37 -07:00
Adam Powell
32ab095751 Merge "Fix bug 5159736 - Make DeviceDefault the default" 2011-08-14 16:57:45 -07:00
Adam Powell
6e90a362bc Fix bug 5159736 - Make DeviceDefault the default
Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.

Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
2011-08-14 16:49:22 -07:00