OSDN Git Service

android-x86/frameworks-base.git
13 years agoDO NOT MERGE. I like'd ctate's change so much I'm doin it myself!
Dianne Hackborn [Fri, 10 Sep 2010 06:10:38 +0000 (23:10 -0700)]
DO NOT MERGE.  I like'd ctate's change so much I'm doin it myself!

Change-Id: If571d3ff5e73252a0653c30ec40178ec1591ddd9

13 years agoMerge "Add toast when an app intercepts the launch of another app." into gingerbread
Dianne Hackborn [Fri, 10 Sep 2010 04:31:34 +0000 (21:31 -0700)]
Merge "Add toast when an app intercepts the launch of another app." into gingerbread

13 years agoMerge "Fix doc of fullScreenIntent." into gingerbread
Dianne Hackborn [Fri, 10 Sep 2010 04:31:08 +0000 (21:31 -0700)]
Merge "Fix doc of fullScreenIntent." into gingerbread

13 years agoMerge "Small fixes to battery stats." into gingerbread
Dianne Hackborn [Fri, 10 Sep 2010 04:30:52 +0000 (21:30 -0700)]
Merge "Small fixes to battery stats." into gingerbread

13 years agoAdd toast when an app intercepts the launch of another app.
Dianne Hackborn [Fri, 10 Sep 2010 04:25:35 +0000 (21:25 -0700)]
Add toast when an app intercepts the launch of another app.

The activity manager looks for cases where one app launches immediately
after another.  If this happens, a brief toast is shown telling the user
when app is actually running and what was originally starting.

Change-Id: If94cf5bd393dd0bc0f09789dae044fde1386c481

13 years agoam 74a74d3c: Doc change: Fixes for toggle image and adt release date.
Dirk Dougherty [Fri, 10 Sep 2010 01:53:36 +0000 (18:53 -0700)]
am 74a74d3c: Doc change: Fixes for toggle image and adt release date.

Merge commit '74a74d3c355ec4bfa09bf32d6dd877233af09d48' into gingerbread

* commit '74a74d3c355ec4bfa09bf32d6dd877233af09d48':
  Doc change: Fixes for toggle image and adt release date.

13 years agoDoc change: Fixes for toggle image and adt release date.
Dirk Dougherty [Fri, 10 Sep 2010 01:40:13 +0000 (18:40 -0700)]
Doc change: Fixes for toggle image and adt release date.

Change-Id: I2e76a42650c3ab54e597340cd96e4f7b23fe5116

13 years agoSmall fixes to battery stats.
Dianne Hackborn [Thu, 9 Sep 2010 23:45:15 +0000 (16:45 -0700)]
Small fixes to battery stats.

Change-Id: Ibbf7c548a8e787a046de3659094cea64908e3deb

13 years agoFix doc of fullScreenIntent.
Dianne Hackborn [Thu, 9 Sep 2010 23:44:01 +0000 (16:44 -0700)]
Fix doc of fullScreenIntent.

Change-Id: Ieb21bb92b4ebf95f831231f2871839fec8a97a86

13 years agoMerge "Remove the use of FileInputStream.available()" into gingerbread
Rich Cannings [Thu, 9 Sep 2010 23:41:29 +0000 (16:41 -0700)]
Merge "Remove the use of FileInputStream.available()" into gingerbread

13 years agoMerge "TimedEventQueue now explicitly sets its scheduling policy to foreground as...
Andreas Huber [Thu, 9 Sep 2010 23:39:09 +0000 (16:39 -0700)]
Merge "TimedEventQueue now explicitly sets its scheduling policy to foreground as it should." into gingerbread

13 years agoRemove the use of FileInputStream.available()
Rich Cannings [Thu, 9 Sep 2010 22:12:40 +0000 (15:12 -0700)]
Remove the use of FileInputStream.available()

Bug: 2976294
Change-Id: I34b13cedbf1d2338163ef74454817c318a3a24f5

13 years agoTimedEventQueue now explicitly sets its scheduling policy to foreground as it should.
Andreas Huber [Thu, 9 Sep 2010 23:12:31 +0000 (16:12 -0700)]
TimedEventQueue now explicitly sets its scheduling policy to foreground as it should.

Change-Id: I630c9fb51686d87a4075f01a6d7f6f9139ddcb4b
related-to-bug: 2944452

13 years agoMerge "DO NOT MERGE: Remove Device Bluez-Dbus interface watch." into gingerbread
Jaikumar Ganesh [Thu, 9 Sep 2010 22:18:36 +0000 (15:18 -0700)]
Merge "DO NOT MERGE: Remove Device Bluez-Dbus interface watch." into gingerbread

13 years agoDO NOT MERGE: Remove Device Bluez-Dbus interface watch.
Jaikumar Ganesh [Thu, 9 Sep 2010 22:15:42 +0000 (15:15 -0700)]
DO NOT MERGE: Remove Device Bluez-Dbus interface watch.

Change-Id: I6bc04efd1292784bae5fc4786949d9da79e4aa22

13 years agoMerge "Only pulse notification light if a new notification has been received since...
Mike Lockwood [Thu, 9 Sep 2010 21:02:19 +0000 (14:02 -0700)]
Merge "Only pulse notification light if a new notification has been received since the screen was last turned off" into gingerbread

13 years agoFix for an IndentOutOfBounds in TextField.
Gilles Debunne [Wed, 8 Sep 2010 01:50:07 +0000 (18:50 -0700)]
Fix for an IndentOutOfBounds in TextField.

Bug http://b/issue?id=2971995

Change-Id: Id6a40e81b26e14c1e5f06ed1bd70ee419c501c69

13 years agoMerge "Made context menu appear when tapping inside selection." into gingerbread
Gilles Debunne [Thu, 9 Sep 2010 18:56:28 +0000 (11:56 -0700)]
Merge "Made context menu appear when tapping inside selection." into gingerbread

13 years agoMerge "option to enable multisampling" into gingerbread
Mathias Agopian [Thu, 9 Sep 2010 18:55:00 +0000 (11:55 -0700)]
Merge "option to enable multisampling" into gingerbread

13 years agooption to enable multisampling
Mathias Agopian [Thu, 9 Sep 2010 18:53:17 +0000 (11:53 -0700)]
option to enable multisampling

multisampling can be enabled by specifying the number of
samples desired on the command line.

Change-Id: I5f93c93ae7ada54bcd646c1065e07890d0cb9808

13 years agoMerge "Hidden API to control sorting of download manager queries." into gingerbread
Steve Howard [Thu, 9 Sep 2010 18:22:38 +0000 (11:22 -0700)]
Merge "Hidden API to control sorting of download manager queries." into gingerbread

13 years agoMerge "Fix a few typos in EGL wrapper" into gingerbread
Mathias Agopian [Thu, 9 Sep 2010 18:20:02 +0000 (11:20 -0700)]
Merge "Fix a few typos in EGL wrapper" into gingerbread

13 years agoHidden API to control sorting of download manager queries.
Steve Howard [Thu, 2 Sep 2010 01:26:26 +0000 (18:26 -0700)]
Hidden API to control sorting of download manager queries.

This change adds a hidden API to sort download manager queries by size
rather than by time last modified.  This is necessary for the system
download manager UI but, in the interest of keeping the new public API
as minimal as possible for now, I'm leaving @hide on this method.

This change also changes the DownloadManager.COLUMN_ID column to be
identical to BaseColumns._ID, since some code relies on this (such as
CursorAdapter).

Change-Id: Ib89b614d63e988974d4486b122b39365b35b5269

13 years agoFix a few typos in EGL wrapper
Mathias Agopian [Thu, 9 Sep 2010 18:12:54 +0000 (11:12 -0700)]
Fix a few typos in EGL wrapper

Change-Id: I3b815ca6ec334ca12088f9721eece33df42b2e46

13 years agoMade context menu appear when tapping inside selection.
Gilles Debunne [Thu, 9 Sep 2010 17:40:22 +0000 (10:40 -0700)]
Made context menu appear when tapping inside selection.

Change-Id: I7ca274b007f4daea7d37a3d6b10b9504874b3c49

13 years agoMerge "Fix to get A2DP to connect after unpairing" into gingerbread
Jaikumar Ganesh [Thu, 9 Sep 2010 17:23:55 +0000 (10:23 -0700)]
Merge "Fix to get A2DP to connect after unpairing" into gingerbread

13 years agoFix to get A2DP to connect after unpairing
Henrik Backlund [Mon, 30 Aug 2010 09:59:42 +0000 (11:59 +0200)]
Fix to get A2DP to connect after unpairing

In this fix, A2DP profile will be connected when pairing with a
previously paired headset. The reason for this error was that the
connection of the A2DP profile was sent before the callback
onCreatePairedDeviceResult was receied in BluetoothEventLoop.java.
By not going to the state BOND_BONDED until after this callback has been
received, the problem is fixed. However the use case is different if the
pairing is initiated by the remote device. In these cases state
BOND_BONDED will be set when onDevicePropertyChanged instead.

Change-Id: I5dedca87d0a6872705ff3a933a99cce6eb37618a

13 years agoMerge "Instead of asserting return a runtime error if the maximum sample size cannot...
Andreas Huber [Thu, 9 Sep 2010 17:13:26 +0000 (10:13 -0700)]
Merge "Instead of asserting return a runtime error if the maximum sample size cannot be determined." into gingerbread

13 years agoMerge "When 32-bit offset is used, if the requested max file size is greater than...
James Dong [Thu, 9 Sep 2010 17:13:08 +0000 (10:13 -0700)]
Merge "When 32-bit offset is used, if the requested max file size is greater than the 32-bit offset limit, set the limit to the max 32-bit offset limit." into gingerbread

13 years agoInstead of asserting return a runtime error if the maximum sample size cannot be...
Andreas Huber [Thu, 9 Sep 2010 17:10:15 +0000 (10:10 -0700)]
Instead of asserting return a runtime error if the maximum sample size cannot be determined.

Change-Id: Icf17ed04323f5415e0f9f1e4fd9f19ca60ce15ac
related-to-bug: 2602446

13 years agoMerge "Fix for text selection in horizontally scrolled TextViews." into gingerbread
Gilles Debunne [Thu, 9 Sep 2010 17:02:05 +0000 (10:02 -0700)]
Merge "Fix for text selection in horizontally scrolled TextViews." into gingerbread

13 years agoMerge "Instead of asserting, publish no tracks if an MP3Extractor is used on non...
Andreas Huber [Thu, 9 Sep 2010 16:59:03 +0000 (09:59 -0700)]
Merge "Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content." into gingerbread

13 years agoInstead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content.
Andreas Huber [Thu, 9 Sep 2010 16:48:41 +0000 (09:48 -0700)]
Instead of asserting, publish no tracks if an MP3Extractor is used on non-mp3 content.

Change-Id: I26db4524c5306bf2346438d2bd359c5cfb95cead
related-to-bug: 2900419

13 years agoMerge "Add network condition reporting." into gingerbread
Robert Greenwalt [Thu, 9 Sep 2010 16:41:05 +0000 (09:41 -0700)]
Merge "Add network condition reporting." into gingerbread

13 years agoAdd network condition reporting.
Robert Greenwalt [Wed, 8 Sep 2010 22:24:47 +0000 (15:24 -0700)]
Add network condition reporting.

Apps can report if they like their connection to the nets
and we display either not-really-connected or fully-connected
icons.  Final icons TBD.

bug:2978624
Change-Id: I28be52085edfe54571c0d4559aba0df883548654

13 years agoOnly pulse notification light if a new notification has been received since the scree...
Mike Lockwood [Thu, 9 Sep 2010 13:48:08 +0000 (09:48 -0400)]
Only pulse notification light if a new notification has been received since the screen was last turned off

BUG: 2980248

Change-Id: I4dca527a191fae4ad87eeff8ad32594fd6aeb417
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "RTP: prevent buffer overflow in AudioRecord." into gingerbread
Chia-chi Yeh [Thu, 9 Sep 2010 09:37:07 +0000 (02:37 -0700)]
Merge "RTP: prevent buffer overflow in AudioRecord." into gingerbread

13 years agoChange the keep-alive interval to 10 seconds.
Chung-yih Wang [Thu, 9 Sep 2010 05:27:10 +0000 (13:27 +0800)]
Change the keep-alive interval to 10 seconds.

Change-Id: I216cee622f57ee18533de3960d4da1a41e01f1ae

13 years agoFix for text selection in horizontally scrolled TextViews.
Gilles Debunne [Thu, 9 Sep 2010 02:33:20 +0000 (19:33 -0700)]
Fix for text selection in horizontally scrolled TextViews.

A left padding and scroll was not taken into account in cursor position.

Bug http://b/issue?id=2970142

Change-Id: Ie76e8d97f3dd5fe3a750aa82cd4b97c98892cb48

13 years agoMerge "add a fps counter to sanangeles demo" into gingerbread
Mathias Agopian [Thu, 9 Sep 2010 01:57:42 +0000 (18:57 -0700)]
Merge "add a fps counter to sanangeles demo" into gingerbread

13 years agoadd a fps counter to sanangeles demo
Mathias Agopian [Thu, 9 Sep 2010 01:55:42 +0000 (18:55 -0700)]
add a fps counter to sanangeles demo

Change-Id: I9a9473ce213301cc7661fddfb1ef5a6ffcb346d4

13 years agoam 3eb07ea4: Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo
Dirk Dougherty [Thu, 9 Sep 2010 01:05:58 +0000 (18:05 -0700)]
am 3eb07ea4: Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo

Merge commit '3eb07ea483225974484c018d7d5affbf4815ceb2' into gingerbread

* commit '3eb07ea483225974484c018d7d5affbf4815ceb2':
  Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.

13 years agoWhen 32-bit offset is used,
James Dong [Wed, 8 Sep 2010 22:13:36 +0000 (15:13 -0700)]
When 32-bit offset is used,
if the requested max file size is greater than the 32-bit offset limit,
set the limit to the max 32-bit offset limit.

Change-Id: Ie74cbed98469721d4280a0b87491e888948f0046

13 years agoMerge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo
Dirk Dougherty [Thu, 9 Sep 2010 00:52:45 +0000 (17:52 -0700)]
Merge "Doc change: Add notes for SDK Tools r7 and ADT 0.9.8." into froyo

13 years agoMerge "HW audio encoder expects timestamp via kKeyTime from each input buffer" into...
James Dong [Thu, 9 Sep 2010 00:51:59 +0000 (17:51 -0700)]
Merge "HW audio encoder expects timestamp via kKeyTime from each input buffer" into gingerbread

13 years agoMerge "Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended search...
Mike LeBeau [Thu, 9 Sep 2010 00:43:15 +0000 (17:43 -0700)]
Merge "Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended search and play of music. This is used, for instance, by Google's new "listen to" Voice Action." into gingerbread

13 years agoAdd MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended
Mike LeBeau [Wed, 8 Sep 2010 23:10:17 +0000 (19:10 -0400)]
Add MediaStore.ACTION_MEDIA_PLAY_FROM_SEARCH intent for open-ended
search and play of music. This is used, for instance, by Google's
new "listen to" Voice Action.

Change-Id: Ibbc81701cc2412ffd57402d34f22d9764e9df7c2

13 years agoHW audio encoder expects timestamp via kKeyTime from each input buffer
James Dong [Wed, 8 Sep 2010 22:07:21 +0000 (15:07 -0700)]
HW audio encoder expects timestamp via kKeyTime from each input buffer

- This fixes media server crashes on droid

Change-Id: I7191cadc5275107425ec3ee3d437b2c5295858dc

13 years agoMerge "Modify type of some environmental reverb parameters" into gingerbread
Eric Laurent [Thu, 9 Sep 2010 00:17:38 +0000 (17:17 -0700)]
Merge "Modify type of some environmental reverb parameters" into gingerbread

13 years agoMerge "Force wallpaper surface to 565." into gingerbread
Mathias Agopian [Wed, 8 Sep 2010 23:43:42 +0000 (16:43 -0700)]
Merge "Force wallpaper surface to 565." into gingerbread

13 years agoForce wallpaper surface to 565.
Mathias Agopian [Wed, 8 Sep 2010 23:32:27 +0000 (16:32 -0700)]
Force wallpaper surface to 565.

This is to maintain backward compatibility with badly programmed
GL wallpapers. Wallpapers can call SurfaceHolder.setFormat() to
request a different format.

Change-Id: Ib42b0cf6c7040d1300cad239c3acfd5c4c6cd326

13 years agoModify type of some environmental reverb parameters
Eric Laurent [Wed, 8 Sep 2010 23:06:18 +0000 (16:06 -0700)]
Modify type of some environmental reverb parameters

Changed type of decay time, reverb delay and reflections delay parameters
from signed to unsigned int to match OpenSL ES interface definition.

Also fixed some type casts in lvm reverb wrapper.

Change-Id: I5ca5e76a87c2590f01f031f3168355586ef22556

13 years agoDoc change: Add notes for SDK Tools r7 and ADT 0.9.8.
Dirk Dougherty [Sat, 31 Jul 2010 02:24:17 +0000 (19:24 -0700)]
Doc change: Add notes for SDK Tools r7 and ADT 0.9.8.

Change-Id: I7cc8301e0160acd0adb3efbd20c6515ed985684f

13 years agoAdd hangupForegroundResumeBackground().
John Wang [Fri, 3 Sep 2010 18:38:31 +0000 (11:38 -0700)]
Add hangupForegroundResumeBackground().

To fix bug 2968310.

Handle the operation of hangupForegroundResumeBackground while foreground call and background call come from different phones.

Change-Id: Id83ca1b75031a8391c95c7f8b2be40e9067dd4cd

13 years agoMerge "Don't block in the BackupManagerService.dataChanged() Binder call." into ginge...
Brad Fitzpatrick [Wed, 8 Sep 2010 22:20:20 +0000 (15:20 -0700)]
Merge "Don't block in the BackupManagerService.dataChanged() Binder call." into gingerbread

13 years agoMerge "Fix for a memory leak in TextKeyListener." into gingerbread
Gilles Debunne [Wed, 8 Sep 2010 21:58:23 +0000 (14:58 -0700)]
Merge "Fix for a memory leak in TextKeyListener." into gingerbread

13 years agoMerge "People holding partial wake locks now get blamed for CPU usage." into gingerbread
Dianne Hackborn [Wed, 8 Sep 2010 21:15:35 +0000 (14:15 -0700)]
Merge "People holding partial wake locks now get blamed for CPU usage." into gingerbread

13 years agoMerge "Allow incoming SMS until internal storage is almost full." into gingerbread
Jake Hamby [Wed, 8 Sep 2010 19:49:27 +0000 (12:49 -0700)]
Merge "Allow incoming SMS until internal storage is almost full." into gingerbread

13 years agoPeople holding partial wake locks now get blamed for CPU usage.
Dianne Hackborn [Wed, 8 Sep 2010 06:51:03 +0000 (23:51 -0700)]
People holding partial wake locks now get blamed for CPU usage.

For the duration of the wake lock, 50% of all CPU usage is now
accounted against the app(s) holding partial wake locks, evenly
distributed between them.  This is only while the device is on
battery and screen off.

Change-Id: I3e5c978b792b6ef17bf8540705bfe8343dadd464

13 years agoAllow incoming SMS until internal storage is almost full.
Jake Hamby [Tue, 24 Aug 2010 01:16:48 +0000 (18:16 -0700)]
Allow incoming SMS until internal storage is almost full.

Fix for bug 2382830: new incoming SMS should not be rejected when
running low on internal phone storage.

Testing revealed that the /data partition should have at least 256 KiB
available in order to prevent random app crashes (including system apps)
due to SQLite transaction failures. With 256 KiB free, the device should
safely boot without storage full errors. This takes into account the
36-40 KiB that the YAFFS2 filesystem reports as available even after
the partition has been completely filled. I've set the default full
threshold to 1 MiB to provide a generous safety margin.

For this bug, I changed the DeviceStorageMonitorService demon to send
two new hidden notifications for device storage "full" and "not full",
when the free space falls below the full threshold (default 1 MiB,
but configurable as a system setting), in addition to the existing
storage low/okay notifications sent when the storage crosses the threshold
of 90% full (also configurable).

The SMS code was changed to use these new notifications so that it can
accept messages until the data partition has been filled to the maximum
safe capacity rather than stopping when it hits 90% full. There should
be no negative impact on battery life because the additional check in
the storage polling service should be offset by an optimization to cache
the free threshold values which were previously being computed every time
through the loop.

While testing this change, I discovered that SMSDispatcher was being
instantiated twice, the first time in GSMPhone/CDMAPhone, and the second
time in SimSmsInterfaceManager / RuimSmsInterfaceManager. Changed the code
to pass the original SMSDispatcher to the Sim/RuimSmsInterfaceManager
constructor.

Change-Id: Ie0c6d05294778ab6ee42e0fa01313af96d824c77

13 years agoFix key repeat delay.
Jeff Brown [Tue, 7 Sep 2010 17:44:57 +0000 (10:44 -0700)]
Fix key repeat delay.

Change-Id: I6216e082324ee29bf50e37acc673350ca5417c4d

13 years agoUpdate current.xml for touch filtering feature.
Jeff Brown [Wed, 8 Sep 2010 19:25:23 +0000 (12:25 -0700)]
Update current.xml for touch filtering feature.

Change-Id: I4a6f971ad84e13ed8f81e7b00c727e94eb2d8765

13 years agoAdd support for secure views.
Jeff Brown [Thu, 2 Sep 2010 00:01:00 +0000 (17:01 -0700)]
Add support for secure views.

Added the MotionEvent.FLAG_WINDOW_IS_OBSCURED flag which is set by the
input manager whenever another visible window is partly or wholly obscured
the target of a touch event so that applications can filter touches
accordingly.

Added a "filterTouchesWhenObscured" attribute to View which can be used to
enable filtering of touches when the view's window is obscured.

Change-Id: I936d9c85013fd2d77fb296a600528d30a29027d2

13 years agoFix for a memory leak in TextKeyListener.
Gilles Debunne [Wed, 8 Sep 2010 18:26:55 +0000 (11:26 -0700)]
Fix for a memory leak in TextKeyListener.

Open source contribution https://review.source.android.com/#change,16985

Change-Id: Iebf09e147dd26575ca1a3f02180a678583671a68

13 years agoMerge "Adds a time zone parameter to formatDateRange" into gingerbread
Erik [Wed, 8 Sep 2010 17:58:12 +0000 (10:58 -0700)]
Merge "Adds a time zone parameter to formatDateRange" into gingerbread

13 years agoAdds a time zone parameter to formatDateRange
Erik [Thu, 2 Sep 2010 00:24:53 +0000 (17:24 -0700)]
Adds a time zone parameter to formatDateRange

For a critical feature request in Calendar we need the ability
to format a date range in a time zone other than the local tz.
This adds a new method signature to formatDateRange to allow for
a tz to be specified and maintains the old behavior if the parameter
is not used. Also deprecates the FORMAT_UTC flag.

Change-Id: I16b3e939760ec86c954b51a318d01b7bbf86acc9

13 years agoText Selection: smart word detection. DO NOT MERGE.
Gilles Debunne [Fri, 27 Aug 2010 18:39:34 +0000 (11:39 -0700)]
Text Selection: smart word detection. DO NOT MERGE.

Selecting between words selects the spaces instead of the closest word, facilitating
paste insertion vs word replacement.

Pasting adds/removes space before and after if needed so that pasted text is not appended to
existing text.

Cut and copy not available when selection is empty.

Change-Id: I331413bdef341a4eceffe76fa2957f388d540b6e

13 years agoMerge "Remove dead code: NIOBuffer." into gingerbread
Elliott Hughes [Wed, 8 Sep 2010 16:30:41 +0000 (09:30 -0700)]
Merge "Remove dead code: NIOBuffer." into gingerbread

13 years agoMerge "Fix the dialing from contact for internet address." into gingerbread
Chung-yih Wang [Wed, 8 Sep 2010 10:32:01 +0000 (03:32 -0700)]
Merge "Fix the dialing from contact for internet address." into gingerbread

13 years agoFix the dialing from contact for internet address.
Chung-yih Wang [Wed, 8 Sep 2010 05:15:55 +0000 (13:15 +0800)]
Fix the dialing from contact for internet address.

the bug is http://b/issue?id=2982290

+Log outbound proxy address if exists for debugging.

13 years agoDon't block in the BackupManagerService.dataChanged() Binder call.
Brad Fitzpatrick [Wed, 8 Sep 2010 06:40:30 +0000 (23:40 -0700)]
Don't block in the BackupManagerService.dataChanged() Binder call.

This unnecessarily blocks callers.

Bug: 2977348
Change-Id: I5267e575cdd5eb2136379f9710126b62a1bd75ad

13 years agoLog outbound proxy address if exists for debugging.
Chung-yih Wang [Wed, 8 Sep 2010 05:15:55 +0000 (13:15 +0800)]
Log outbound proxy address if exists for debugging.

Change-Id: I2d2dffe3536e674b6956164c400e397c2f00f212

13 years agoMerge "Adding Download Manager Integration, stress, and hosts-based tests." into...
Neal Nguyen [Wed, 8 Sep 2010 03:55:22 +0000 (20:55 -0700)]
Merge "Adding Download Manager Integration, stress, and hosts-based tests." into gingerbread

13 years agoMerge "Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API...
Wei-Ta Chen [Wed, 8 Sep 2010 03:36:13 +0000 (20:36 -0700)]
Merge "Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."" into gingerbread

13 years agoupdate-api step missing from 64963.
Gilles Debunne [Wed, 8 Sep 2010 03:28:27 +0000 (20:28 -0700)]
update-api step missing from 64963.

Change-Id: I7e91aa9830c19bbb4115ae3a236345b220dc9eb0

13 years agoMerge "Fix a race between requesting/loading/writing SharedPreferences." into gingerbread
Brad Fitzpatrick [Wed, 8 Sep 2010 03:06:26 +0000 (20:06 -0700)]
Merge "Fix a race between requesting/loading/writing SharedPreferences." into gingerbread

13 years agoRevert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."
Wei-Ta Chen [Wed, 8 Sep 2010 02:44:21 +0000 (10:44 +0800)]
Revert "Rename LargeBitmap to BitmapRegionDecoder for having a better API."

This reverts commit 50ba3d2c09a9131f3578d271adf2bc8258ca1742.

13 years agoMerge "SipPhone: switch to its own phone type PHONE_TYPE_SIP." into gingerbread
Hung-ying Tyan [Wed, 8 Sep 2010 02:37:33 +0000 (19:37 -0700)]
Merge "SipPhone: switch to its own phone type PHONE_TYPE_SIP." into gingerbread

13 years agoRevert "Free created FileMap when uncompressing files"
Kenny Root [Wed, 8 Sep 2010 02:30:22 +0000 (19:30 -0700)]
Revert "Free created FileMap when uncompressing files"

This reverts commit 52b8235238fb4d8cf141020cc1ae33880929dc3f.

munmap() on a region that overlaps something else (e.g, the ZIP Central
Directory in this case) unmaps those other regions as well making the
ZipFileRO class unhappy. Revert this for now until we can have FileMap
deal with this craziness.

13 years agoRTP: prevent buffer overflow in AudioRecord.
Chia-chi Yeh [Wed, 8 Sep 2010 01:56:02 +0000 (09:56 +0800)]
RTP: prevent buffer overflow in AudioRecord.

This change simply reduces the receive timeout of DeviceSocket. It works
because AudioRecord will block us till there is enough data, which makes
AudioSocket overlap AudioRecord.

Change-Id: I4700224fb407e148ef359a9d99279e10240128d0

13 years agoMerge "Hide mCursorController field in ArrowKeyMovementMethod." into gingerbread
Gilles Debunne [Wed, 8 Sep 2010 01:53:55 +0000 (18:53 -0700)]
Merge "Hide mCursorController field in ArrowKeyMovementMethod." into gingerbread

13 years agoHide mCursorController field in ArrowKeyMovementMethod.
Gilles Debunne [Wed, 8 Sep 2010 01:32:28 +0000 (18:32 -0700)]
Hide mCursorController field in ArrowKeyMovementMethod.

Made the field private and added a description of its use.

Bug http://b/issue?id=2975284

Change-Id: Id8acf756218915cb2ae756789b62cfe7201a5c67

13 years agoMade text selection work in ExtractEditText. DO NOT MERGE
Gilles Debunne [Tue, 7 Sep 2010 22:21:14 +0000 (15:21 -0700)]
Made text selection work in ExtractEditText. DO NOT MERGE

Change insertion point on tap is no longer handled by the CommitSelectionReceiver
(as it is not called by ExtractEditText).

Fixed a bug to handle drawing positions when the internal TextView scroller is used.

Change-Id: I87398c7109c5527d21dee6abbdb925848244d594

13 years agoFix a race between requesting/loading/writing SharedPreferences.
Brad Fitzpatrick [Wed, 8 Sep 2010 01:00:33 +0000 (18:00 -0700)]
Fix a race between requesting/loading/writing SharedPreferences.

Part of the race existed before, but it was made much worse with
apply().

Corresponding CTS test is Icc6e638a6a

Change-Id: Ic5cfa467fb7f1859cb7b44d417412219c0621965

13 years agoMerge "Rename SETSUSPEND to SETSUSPENDOPT DO NOT MERGE" into gingerbread
Dmitry Shmidt [Wed, 8 Sep 2010 00:29:45 +0000 (17:29 -0700)]
Merge "Rename SETSUSPEND to SETSUSPENDOPT DO NOT MERGE" into gingerbread

13 years agoMerge "Rename LargeBitmap to BitmapRegionDecoder for having a better API." into ginge...
Wei-Ta Chen [Wed, 8 Sep 2010 00:01:57 +0000 (17:01 -0700)]
Merge "Rename LargeBitmap to BitmapRegionDecoder for having a better API." into gingerbread

13 years agoRename SETSUSPEND to SETSUSPENDOPT DO NOT MERGE
Irfan Sheriff [Tue, 7 Sep 2010 22:28:25 +0000 (15:28 -0700)]
Rename SETSUSPEND to SETSUSPENDOPT DO NOT MERGE

Bug: 2973101
Change-Id: I874381eeb12bb796382717285750d700e9b181ce

13 years agoMerge "Modify native ALooper to take an explicit ident." into gingerbread
Dianne Hackborn [Tue, 7 Sep 2010 23:32:48 +0000 (16:32 -0700)]
Merge "Modify native ALooper to take an explicit ident." into gingerbread

13 years agoModify native ALooper to take an explicit ident.
Dianne Hackborn [Tue, 7 Sep 2010 22:28:30 +0000 (15:28 -0700)]
Modify native ALooper to take an explicit ident.

The ALooper API now uses an explicit "identifier" for the integer
that is returned rather than implicitly using the fd.  This allows
the APIs that had the fd to be a little more sane.

Change-Id: I8507f535ad484c0bdc4a1bd016d87bb09acd7ff0

13 years agoRemove dead code: NIOBuffer.
Elliott Hughes [Tue, 7 Sep 2010 22:42:23 +0000 (15:42 -0700)]
Remove dead code: NIOBuffer.

Working on speeding up our NIO implementation, I came across this suboptimal
code. Happily, it turns out to be unused.

Bug: 2935622
Change-Id: I07ae6e573d63e439f496d55af215b34598d8258a

13 years agoMerge "Allow installd to handle large partitions" into gingerbread
Kenny Root [Tue, 7 Sep 2010 22:38:31 +0000 (15:38 -0700)]
Merge "Allow installd to handle large partitions" into gingerbread

13 years agoMerge "Be brief." into gingerbread
Elliott Hughes [Tue, 7 Sep 2010 21:41:36 +0000 (14:41 -0700)]
Merge "Be brief." into gingerbread

13 years agoMerge "Expose the TextAppearance.StatusBar.* styles." into gingerbread
Joe Onorato [Tue, 7 Sep 2010 21:41:12 +0000 (14:41 -0700)]
Merge "Expose the TextAppearance.StatusBar.* styles." into gingerbread

13 years agoAllow installd to handle large partitions
Kenny Root [Tue, 7 Sep 2010 20:58:28 +0000 (13:58 -0700)]
Allow installd to handle large partitions

Use int64_t because we're RPCing over to Java which uses a Long to
represent the filesystem space.

Change-Id: I842b2cf9f2ff8f980ff5895c1c8eb9ebefa1ea31

13 years agoMerge "Don't fall through from TOKEN_EMAIL_LOOKUP" into gingerbread
Makoto Onuki [Tue, 7 Sep 2010 21:31:34 +0000 (14:31 -0700)]
Merge "Don't fall through from TOKEN_EMAIL_LOOKUP" into gingerbread

13 years agoAdding Download Manager Integration, stress, and hosts-based tests.
Neal Nguyen [Mon, 9 Aug 2010 21:08:26 +0000 (14:08 -0700)]
Adding Download Manager Integration, stress, and hosts-based tests.

Change-Id: If75021380f4aee9c650f6e34093779e85cc4e5d8

13 years agoExpose the TextAppearance.StatusBar.* styles.
Joe Onorato [Tue, 7 Sep 2010 21:12:10 +0000 (17:12 -0400)]
Expose the TextAppearance.StatusBar.* styles.

Change-Id: I6e1e68ab26495290d480f4fb75facedd6cd62908

13 years agoMerge "Fixes to battery stats debug output." into gingerbread
Dianne Hackborn [Tue, 7 Sep 2010 21:10:38 +0000 (14:10 -0700)]
Merge "Fixes to battery stats debug output." into gingerbread

13 years agoFixes to battery stats debug output.
Dianne Hackborn [Tue, 7 Sep 2010 19:13:55 +0000 (12:13 -0700)]
Fixes to battery stats debug output.

Change-Id: I32e7cad9633b8c517a74573069e426d9f835a83d

13 years agoHopefully fix the build.
Dianne Hackborn [Tue, 7 Sep 2010 19:32:19 +0000 (12:32 -0700)]
Hopefully fix the build.

Change-Id: Id8cd92c0895c9939e1386ef488bd1309a3be3568