24445 Commits

Author SHA1 Message Date
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
Daniel Lehmann
b93ce4ae86 Merge "Several API changes as requested by ES:" 2011-08-14 16:01:59 -07:00
Daniel Lehmann
f188dfda30 Several API changes as requested by ES:
- Switch from resource ids to names to prevent breakage on package upgrade
   Bug:5135277
 - Add SYNC1...SYNC4 columns to StreamItems and StreamItemPhotos
   Bug:5119385
 - Remove ACTION, ACTION_URI from Groups, StreamItems and StreamItemPhotos
   (this reduces db size and prevents click intercepting)
   Bug:5135808
 - Add some raw-contact fields to the StreamItem query
   Bug:5134081

Doing those changes in one block to prevent too many db upgrade steps

Change-Id: I5618e210206e0315b91f5883e6b6b386dccb5881
2011-08-14 15:39:22 -07:00
Elliott Hughes
be414332a1 Fix android.text.format.Time to use GetBooleanField on its boolean field.
Bug: 5162851
Change-Id: I49b1429e86ffa91fbfb8b4c9d1a0c6d30c72621e
2011-08-14 13:31:03 -07:00
Amith Yamasani
b724c346e1 Revert "Use a weakreference to prevent the static variable from holding an Activity."
Bug was fixed in a different way.

This reverts commit 352c01e2133b71918fa1cb2783a0a10e56117775.
2011-08-13 07:43:07 -07:00
Adam Powell
99f09c27a4 Merge "Fix bug 5078498 - Icons jump around on split action bar" 2011-08-12 23:36:20 -07:00
Adam Powell
14b7e2c168 Fix bug 5078498 - Icons jump around on split action bar
Revise measurement and layout code for the lower menu on a split
action bar.

Fix some metrics in the action mode close button and in button bars.

Change-Id: I76215e28ae3b0199162dedd32794b25c9e38a346
2011-08-12 23:34:47 -07:00
Wink Saville
a91f2703ae Merge "Update sim_removed_message string." 2011-08-12 23:22:08 -07:00
Romain Guy
3a5f2e6f09 Merge "<blink/> is not an acceptable default behavior. Bug #5156334" 2011-08-12 19:39:20 -07:00
Amith Yamasani
167d69ac41 Voice search icon replaced by X on typing.
Also, adjust width measurements to work for 32dip icons in actionbar.

Bug: 5160466
Change-Id: I7197d710de16f92af8ea797ac504a3a73ee090d9
2011-08-12 19:28:37 -07:00
Dianne Hackborn
9beeb95c80 Merge "Turn off hinting by default for higher density displays." 2011-08-12 19:17:09 -07:00
Dianne Hackborn
f43fa5746e Turn off hinting by default for higher density displays.
Also adds an API for apps to control whether hinting is used.

Change-Id: I1a06b06255fbb8d0f02a8ce48c2cd60019088ed3
2011-08-12 18:59:39 -07:00
Amith Yamasani
f9ef0db88f Merge "Use a weakreference to prevent the static variable from holding an Activity." 2011-08-12 18:35:50 -07:00
Jeff Brown
0a0ab128a6 Use PARCELABLE_WIRTE_RETURN_VALUE flag in InputChannel.
Bug: 5161290

Replace mDisposeAfterWriteToParcel with code that takes advantage
of the standard Parcel API support for releasing resources after
writing a Binder reply.

This change makes it less likely that InputChannels will leak
accidentally when passed across a Binder.

Change-Id: Id37706e7b88d074e8e4ac687c88f0db8963200f2
2011-08-12 18:08:08 -07:00