39140 Commits

Author SHA1 Message Date
Chia-chi Yeh
4bf82df2f0 Do not set back to AudioManager.MODE_NORMAL in SipAudioCall.
Change-Id: I8f68e01e5f8c73bb8afd44312cbfadb55aab4330
2011-01-06 15:51:45 +08:00
Adam Powell
e4a04989e2 Merge "Fix a bug that could cause padded lists to draw dividers incorrectly" 2011-01-05 23:32:31 -08:00
Adam Powell
9456655f93 Fix a bug that could cause padded lists to draw dividers incorrectly
Change-Id: I6483848c55567f901ac8b1628991de3343bd3f3d
2011-01-05 23:25:33 -08:00
Dianne Hackborn
abfc847b67 am c042eb77: am 3769240b: Merge "Clear reference to the IIntentReceiver in order to avoid memory leak"
* commit 'c042eb77a5e4c3cb4f2a886d61cff17e1c9b5aed':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 22:48:10 -08:00
Johannes Carlsson
d3f36dfdea am 73fef3c7: am b5a8654d: Clear reference to the IIntentReceiver in order to avoid memory leak
* commit '73fef3c7c0986468d75e3ef09d2255c3509a80c9':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 22:48:05 -08:00
Dianne Hackborn
d541f0cbdc am 4302886f: am c91f9fe5: Merge "Avoiding cyclic references when unbinding from a service" into gingerbread
* commit '4302886f8f77c3f53cdc094069f3550dd56bc812':
  Avoiding cyclic references when unbinding from a service
2011-01-05 22:48:00 -08:00
Adam Powell
1470f9c24e Merge "Fix bug 3326380 - ListView motion scrolling stops too early when list is padded" 2011-01-05 22:38:35 -08:00
Adam Powell
a13fc67b81 Fix bug 3326380 - ListView motion scrolling stops too early when list
is padded

Change-Id: Iaca31e030aefc87f115d5022c2a42aefd73b88ea
2011-01-05 22:37:33 -08:00
Brian Carlstrom
33a385bcc4 Merge "Import libcore_to_document definition from libcore/Docs.mk" 2011-01-05 21:53:32 -08:00
Dianne Hackborn
1122566613 Merge "Implement issue #3326435: Battery stats improvements" 2011-01-05 21:35:56 -08:00
Adam Powell
fde439751a Merge "Fix bug 3242965 - Unreadable text in context menus using legacy theme" 2011-01-05 21:10:16 -08:00
Adam Powell
cfff00ef7f Fix bug 3242965 - Unreadable text in context menus using legacy theme
Change-Id: I716a93cdea36d7870601e3cdf43522240c2d1111
2011-01-05 21:06:26 -08:00
Dianne Hackborn
c1b40e361c Implement issue #3326435: Battery stats improvements
Keep track of discharge while screen is on vs. off.

Checkin looks like:

5,0,u,dc,1,1,1,0

The last four numbers are, from left:

- Maximum battery drain over time period.
- Minimum battery drain over time period.
- Battery drain while screen was on.
- Battery drain while screen was off.

Change-Id: Ie4026a7cc8aabb2a6d47d03d2e278aa51c2d5ddf
2011-01-05 21:02:01 -08:00
Joe Onorato
f4e4b2753d Merge "Make the volume keys adjust the media volume by default if the device is not "voice capable."" 2011-01-05 20:53:14 -08:00
Joe Onorato
7998559032 Merge "Fix the 3G icon shows as G." 2011-01-05 20:53:05 -08:00
Dianne Hackborn
c042eb77a5 am 3769240b: Merge "Clear reference to the IIntentReceiver in order to avoid memory leak"
* commit '3769240b7976bfa50bb7bf235747b7f6bb7be08e':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 19:28:33 -08:00
Johannes Carlsson
73fef3c7c0 am b5a8654d: Clear reference to the IIntentReceiver in order to avoid memory leak
* commit 'b5a8654dea9ea8443b41f8ff3668ae4074e13a07':
  Clear reference to the IIntentReceiver in order to avoid memory leak
2011-01-05 19:13:29 -08:00
Dianne Hackborn
3769240b79 Merge "Clear reference to the IIntentReceiver in order to avoid memory leak" 2011-01-05 19:10:15 -08:00
Johannes Carlsson
b5a8654dea Clear reference to the IIntentReceiver in order to avoid memory leak
When using sendOrderedBroadcast(..) with a BroadcastReceiver the
BroadcastReceiver instance was not released. The reason for this was that
the resultTo field in the BroadcastRecord kept a reference until it was pushed
out of the mBroadcastHistory. This reference in turn kept a reference to the
process side IIntentReceiver (implemented in ReceiverDispatcher$InnerReceiver).
This in turn had a strong reference (through mStrongRef) to the Context.

In order to keep the debug output the resultTo is also kept as a String in the
new resultToString variable.

Change-Id: I4382a22a541c27b3694fb2b78a04ee820b235f8f
2011-01-05 18:59:07 -08:00
Dianne Hackborn
4302886f8f am c91f9fe5: Merge "Avoiding cyclic references when unbinding from a service" into gingerbread
* commit 'c91f9fe542fd1ca9d6da432faeba60d35c4d5c49':
  Avoiding cyclic references when unbinding from a service
2011-01-05 18:55:57 -08:00
Dianne Hackborn
c91f9fe542 Merge "Avoiding cyclic references when unbinding from a service" into gingerbread 2011-01-05 18:54:19 -08:00
Vasu Nori
6a904bc65e Revert "treat 'can't open database file error' as 'database corruption error'"
This reverts commit c7fe777d6348bd740d3f2554e9308176a0c462ed.

Change-Id: I9992d404394917537d5c22470efbd970605976ed
2011-01-05 18:38:15 -08:00
James Dong
6c30cfb0c5 am a8ce7736: am 35e8dcb9: Merge "Suppress the recording sound in the recorded video" into gingerbread
* commit 'a8ce773607c26dd4336f57856afce507fb98a279':
  Suppress the recording sound in the recorded video
2011-01-05 17:57:55 -08:00
James Dong
a8ce773607 am 35e8dcb9: Merge "Suppress the recording sound in the recorded video" into gingerbread
* commit '35e8dcb9df8c3d77ede120e3f1aaf842b2928639':
  Suppress the recording sound in the recorded video
2011-01-05 17:55:27 -08:00
James Dong
35e8dcb9df Merge "Suppress the recording sound in the recorded video" into gingerbread 2011-01-05 17:53:18 -08:00
Brian Carlstrom
cf9a013774 Import libcore_to_document definition from libcore/Docs.mk
Change-Id: I5f4ac355c6dadefce5762e0096dcc7379e5bf31d
2011-01-05 17:52:36 -08:00
Justin Ho
93fde2109e Merge "Updated HDPI assets from Gingerbread" 2011-01-05 17:50:26 -08:00
Robert Greenwalt
0d2631a34d Merge "Allow bumpDns() to execute correctly before boot has completed" 2011-01-05 17:47:18 -08:00
Jean-Michel Trivi
32cef98de8 Merge "Add support in TTS for volume and panning control of the synth output" 2011-01-05 17:36:46 -08:00
Justin Ho
8b56c50386 Updated HDPI assets from Gingerbread
Change-Id: I02fea9d2c9cb81bb28bba3519381cbe3187bca0d
2011-01-05 17:33:41 -08:00
Justin Ho
e893d1d5d5 Merge "Updated presence icons and new emergency icon" 2011-01-05 17:27:04 -08:00
Michael Jurka
dab559a24f exposing isDirty() method on View
- needed in Launcher2 for implementation of caching views to bitmaps

Change-Id: I1dc1e8e4328106f88e1aa8e55ccb17b08fc9756b
2011-01-05 17:14:24 -08:00
Stan Chesnutt
3d1db8672a Allow bumpDns() to execute correctly before boot has completed
Change-Id: I5c2cf023e555f49d7e29592f9d1439b3ac367e3d
2011-01-05 17:14:03 -08:00
Adam Powell
fb9bcdb139 Merge "Fix Holo Spinners" 2011-01-05 17:10:56 -08:00
Adam Powell
a39b987bb7 Fix Holo Spinners
Fix bug 3321329 - Spinner dropdown does not match widget width

Fix a bug in ListPopupWindow where setContentWidth was misbehaving

Add gravity setting to Spinner. This controls the positioning of the
selected item view within the widget. Holo default is left, legacy
default is center.

In dropdown mode, Spinners now WRAP_CONTENT width based on a limited
set of dropdown content. This means the dropdown can display a
reasonable amount of its content without clipping, while matching
width with the Spinner widget itself.

Change-Id: Ia17fd5f71526548408f4ad3b16bde536b0d3b207
2011-01-05 17:08:33 -08:00
Justin Ho
80fa7d7b6c Merge "Updated assets from gingerbread" 2011-01-05 17:00:26 -08:00
Justin Ho
aa0225b0c3 Updated presence icons and new emergency icon
Change-Id: I14dd139bf781f34226ea559dc77d9c2cd20eecaa
2011-01-05 16:56:33 -08:00
Joe Onorato
c7fcba4b7b Make the volume keys adjust the media volume by default if the device is not "voice capable."
Change-Id: Ide396f8940a075c0b00b7c983c1769c1cc0f17bf
2011-01-05 16:53:11 -08:00
Andreas Huber
b7df8ec4db Merge "Some more fixes regarding HTTP live in NuPlayer." 2011-01-05 16:34:06 -08:00
Jean-Michel Trivi
9d2d26af2e Add support in TTS for volume and panning control of the synth output
Add two new parameters that are used when synthesizing text and
 playing it back directly to control the volume and left-right
 panning of the output.
Panning is applied using a balance law, which is not energy-preserving
 but which doesn't lower the volume when not panning / panning to
 center (legacy behavior).

Reduced amount of logs, and removed spoken text.

In TextToSpeech.java: added convenience method to handle the setting
 of the cached synthesis parameters.

Change-Id: I235d3d3193283ccc1891e2065d43787e3f63304d
2011-01-05 16:24:30 -08:00
Andreas Huber
847551cff3 Some more fixes regarding HTTP live in NuPlayer.
Change-Id: I9e29615fa8ee6c7bd4189373a75c20caef3fd2b1
2011-01-05 16:24:27 -08:00
Joe Onorato
933464dd02 Fix the 3G icon shows as G.
The connectivity services does not seem to return meaningful network types.  That's ok because we
get good ones from the telephony service anyway.

Also adds a ton of stuff for adb shell dumpsys activity service SystemUI TabletStatusBar

Bug: 3255953
Change-Id: If4bf413a628a8ffc338c83a9c33bfd367d6d2796
2011-01-05 15:53:36 -08:00
Justin Ho
039a59da59 Updated assets from gingerbread
Change-Id: I4fad5d9bc72528558fa4cca117537b7e7863dddf
2011-01-05 15:37:31 -08:00
Mattias Petersson
3996b41610 Avoiding cyclic references when unbinding from a service
Cyclic references can occur between a Service object held by an
application and a ServiceRecord object held by the system server.
A part of the problem is that binders are leaked and since many binders
are implemented by inner classes of services these services are also leaked.
This causes low memory problems. The solution is: When a Service is beeing
destroyed, go through the ServiceRecord's all IntentBindRecord and set its
binder references to null. This allows the binder and the service object to
be garbage collected.

Change-Id: I5a257521964851f34c08ffb3908feaad96b1bafe
2011-01-05 15:34:11 -08:00
Romain Guy
325a0f969c The font cache should respect the fake bold flag.
Change-Id: Ie4edc9ba46610edde831b55e769944e9a19bdcb5
2011-01-05 15:33:37 -08:00
Brian Muramatsu
b03ba34b76 Merge "Add MipmapDrawableTest" 2011-01-05 15:19:38 -08:00
Amith Yamasani
50c5785b4f Merge "Use an opaque background for the search bar in legacy SearchDialog." 2011-01-05 15:17:50 -08:00
Chet Haase
9e90a9953b Reuse display lists at the java level.
Objects are invalidated and reset instead of being nulled out
and recreated. This avoids creating small amounts of garbage for
the display list and canvas objects.

Change-Id: I464fac7ea8944c19ad6d03f13a95d9017e3f4262
2011-01-05 15:13:16 -08:00
Amith Yamasani
38ecb1ea85 Use an opaque background for the search bar in legacy SearchDialog.
Bug: 3325966
2011-01-05 14:59:30 -08:00
Jeff Brown
a74c22b7ef Merge "Add dispatch key shortcut window callback." 2011-01-05 14:52:07 -08:00