56521 Commits

Author SHA1 Message Date
Jeff Sharkey
ce4a193ea8 Preferences padding and scrollbars to match spec.
Adjust preferences ListView to use direct padding instead of applying
to outer parent.  Also display scrollbars outsideOverlay on small
screens.

Change-Id: I750c53d2452d8842d487a091075c32f009f2c2fc
2011-08-17 16:31:24 -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
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
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
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
Jean-Michel Trivi
fcd693a21d Bug 5045498 javadoc for the remote control client API
Change-Id: I2a8aeffd94c4f9e93a1be459be8e45d595438f38
2011-08-15 16:05:44 -07:00
Eric Laurent
152abefccb Merge "Deprecate use of some audio effects on output mix." 2011-08-15 15:49:55 -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
Mathias Agopian
79996f5b60 Merge changes I4d4580e8,I47b21293,I0767ac2a
* changes:
  fix test-opengl-swapinterval
  revert last change to EGLUtils::selectConfigForPixelFormat
  boot animation doesn't use EGLUtils anymore
2011-08-15 15:44:33 -07:00
Mathias Agopian
e98013b888 fix test-opengl-swapinterval
EGLConfig selection should now work on any device

Change-Id: I4d4580e891d1faf817fa853838406fb49d12e50a
2011-08-15 15:25:40 -07:00
Mathias Agopian
47b2129350 revert last change to EGLUtils::selectConfigForPixelFormat
EGLUtils::selectConfigForPixelFormat is only used by
command line tests and it simply selects a config
based on the EGL_NATIVE_VISUAL_ID.
2011-08-15 15:25:39 -07:00
Mathias Agopian
1b253b702a boot animation doesn't use EGLUtils anymore
Change-Id: I0767ac2a5ab814382b41c85bd5b0786c7a025255
2011-08-15 15:25:39 -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
Jean-Michel Trivi
0a9faa8cf9 Bug 5045498 Send media button event receiver to remote control
When notifying the remote controls of an update, also pass the
 associated media button event receiver.

Change-Id: I9125378653ce21e3bd672b936df638c0c6154edb
2011-08-15 14:41:38 -07:00
Eric Fischer
dd7bc9f457 Merge "Import revised translations." 2011-08-15 13:22:31 -07:00
Kenny Root
c75d152127 Merge "Fix external size calculations" 2011-08-15 13:20:34 -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
Jeff Brown
b2a85b69ce Merge "Fix blocked event handling in InputDispatcher. Bug: 5161854" 2011-08-15 13:09:08 -07:00
Jeff Brown
abb4d446a1 Fix blocked event handling in InputDispatcher.
Bug: 5161854

The InputDispatcher contains code to recover from ANRs more quickly
when the user touches a different application.  When triggered,
it sets mNextUnblockedEvent to the next event it should dispatch
(to the next application).  All prior events are dropped.

This change fixes a bug where mNextUnblockedEvent could potentially
never be reset back to NULL if the inbound queue was drained
for some reason.

Change-Id: I21be2f02c9fc770bd260ea414db8bb184df89ada
2011-08-15 12:55:32 -07:00
Kenny Root
61942c579d Fix external size calculations
Unfortunately fixed internal size calculations for HC, but never the
external size calculations.

Bug: 5113898
Change-Id: Idfe8af0ba74a20aa767eb9abac431ee1c74dcf8e
2011-08-15 12:46:35 -07:00
Robert Ly
154aa355f0 Merge "docs: fix for bug 5057581" 2011-08-15 12:16:41 -07:00
Matthew Xie
269cf1b214 Merge "Implement switchConnectable with Powered property setting instead of scan modes" 2011-08-15 11:49:31 -07:00
Bart Sears
643c7dccbc Merge "Fix xml coding style (turn tabs to spaces)" 2011-08-15 11:43:40 -07:00
Daniel Lehmann
5cf1f1b26b Merge "Renaming com.google.i18n.phonenumbers to com.android.i18n.phonenumbers to avoid name collision." 2011-08-15 11:39:58 -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
Eric Laurent
62f3617f2f Deprecate use of some audio effects on output mix.
The possibility for applications to apply insert audio effects
(Equalizer, BassBoost, Virtualizer) on global output mix has brought up
a number of issue.

This change updates the java doc for audio effects indicating that
application should not apply insert effects globaly anymore as this behavior
will soon be deprecated.

The audio framework will still allow global insert effects during an interim
period but will give the priority to effects inserted on particular player by
disabling global effects when both are present.

============

Change-Id: If87f1944a0409d45d8d2eee66ff331f95965ca89
2011-08-15 11:11:13 -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