OSDN Git Service

android-x86/frameworks-base.git
13 years agoMerge "Improved conversion accuracy of exif geotag data"
Conley Owens [Fri, 29 Apr 2011 16:48:10 +0000 (09:48 -0700)]
Merge "Improved conversion accuracy of exif geotag data"

13 years agoMerge "Fixes broken image link in "Tools -> Traceview" documentation page."
Conley Owens [Fri, 29 Apr 2011 16:48:04 +0000 (09:48 -0700)]
Merge "Fixes broken image link in "Tools -> Traceview" documentation page."

13 years agoMerge "Added null check on return value for getKeyDispatcherState()"
Conley Owens [Thu, 28 Apr 2011 22:07:00 +0000 (15:07 -0700)]
Merge "Added null check on return value for getKeyDispatcherState()"

13 years agoMerge "Eliminating dead logic - bitmap state simply cannot be null here."
Conley Owens [Thu, 28 Apr 2011 21:57:14 +0000 (14:57 -0700)]
Merge "Eliminating dead logic - bitmap state simply cannot be null here."

13 years agoMerge "Removing unnecessary computation."
Conley Owens [Thu, 28 Apr 2011 21:57:11 +0000 (14:57 -0700)]
Merge "Removing unnecessary computation."

13 years agoMerge "Using robust equality check."
Conley Owens [Thu, 28 Apr 2011 21:57:08 +0000 (14:57 -0700)]
Merge "Using robust equality check."

13 years agoMerge "We don't need these local references."
Conley Owens [Thu, 28 Apr 2011 21:56:59 +0000 (14:56 -0700)]
Merge "We don't need these local references."

13 years agoMerge "Eliminating dead code with no other effect than consuming battery life."
Conley Owens [Thu, 28 Apr 2011 21:56:55 +0000 (14:56 -0700)]
Merge "Eliminating dead code with no other effect than consuming battery life."

13 years agoam 8fff7805: Merge "Remove duplicate \'=\' in exception message"
Conley Owens [Thu, 28 Apr 2011 18:57:48 +0000 (11:57 -0700)]
am 8fff7805: Merge "Remove duplicate \'=\' in exception message"

* commit '8fff7805ab1ccde8321697116ed3dd2fae5340ed':
  Remove duplicate '=' in exception message

13 years agoMerge "Remove duplicate '=' in exception message"
Conley Owens [Thu, 28 Apr 2011 18:46:39 +0000 (11:46 -0700)]
Merge "Remove duplicate '=' in exception message"

13 years agoRemove duplicate '=' in exception message
Bernhard Reutner-Fischer [Thu, 28 Apr 2011 18:06:44 +0000 (20:06 +0200)]
Remove duplicate '=' in exception message

Remove duplicate '=' in IllegalArgumentException of MyAdapter::getItem()

Change-Id: I151a1432a9f54c8d42bae295f3967b0be2223026

13 years agoAdded null check on return value for getKeyDispatcherState()
Per Andersson [Mon, 17 Jan 2011 10:16:23 +0000 (11:16 +0100)]
Added null check on return value for getKeyDispatcherState()

The result from getKeyDispatcherState() was used without
checking if it returned null, which resulted in a NullPointerException.

Change-Id: I4b55ad44d5c08b7f729dbbdbcaed0e978a430258

13 years agoam 13b21e60: Merge "Auto hide virtual keyboard"
Conley Owens [Wed, 27 Apr 2011 20:53:46 +0000 (13:53 -0700)]
am 13b21e60: Merge "Auto hide virtual keyboard"

* commit '13b21e608e47382cb94a0aeac13b24ac97f355d2':
  Auto hide virtual keyboard

13 years agoam a538b4a2: Merge "onDetachedFromWindow is called before onAttachedToWindow"
Conley Owens [Wed, 27 Apr 2011 20:53:37 +0000 (13:53 -0700)]
am a538b4a2: Merge "onDetachedFromWindow is called before onAttachedToWindow"

* commit 'a538b4a206c54ef763dab4da00990a8991425e77':
  onDetachedFromWindow is called before onAttachedToWindow

13 years agoam 4a4d96e7: Merge changes I0ab47e2f,Ib8016996
Conley Owens [Wed, 27 Apr 2011 20:48:45 +0000 (13:48 -0700)]
am 4a4d96e7: Merge changes I0ab47e2f,Ib8016996

* commit '4a4d96e7ee682167861434cba05531f04642bf97':
  Remove errant tag terminator
  Normalize output of XMLtree content

13 years agoMerge "Auto hide virtual keyboard"
Conley Owens [Wed, 27 Apr 2011 20:20:16 +0000 (13:20 -0700)]
Merge "Auto hide virtual keyboard"

13 years agoMerge "onDetachedFromWindow is called before onAttachedToWindow"
Conley Owens [Wed, 27 Apr 2011 20:14:57 +0000 (13:14 -0700)]
Merge "onDetachedFromWindow is called before onAttachedToWindow"

13 years agoMerge changes I0ab47e2f,Ib8016996
Conley Owens [Wed, 27 Apr 2011 20:06:46 +0000 (13:06 -0700)]
Merge changes I0ab47e2f,Ib8016996

* changes:
  Remove errant tag terminator
  Normalize output of XMLtree content

13 years agoam 86d1d747: Merge "Add lock before calling initEglImage"
Conley Owens [Wed, 27 Apr 2011 19:43:19 +0000 (12:43 -0700)]
am 86d1d747: Merge "Add lock before calling initEglImage"

* commit '86d1d74762e65b6f64c2d4758aa5fd4af6275696':
  Add lock before calling initEglImage

13 years agoMerge "Add lock before calling initEglImage"
Conley Owens [Wed, 27 Apr 2011 19:28:05 +0000 (12:28 -0700)]
Merge "Add lock before calling initEglImage"

13 years agoIgnore fix for startup NPE as file is deleted.
Conley Owens [Wed, 27 Apr 2011 19:09:31 +0000 (12:09 -0700)]
Ignore fix for startup NPE as file is deleted.

Change-Id: Ifcedb4cc14b7079b03f585218c8c29b8f5d96d20

13 years agoMerge "Fix for startup NPE."
Conley Owens [Wed, 27 Apr 2011 18:40:46 +0000 (11:40 -0700)]
Merge "Fix for startup NPE."

13 years agoam 17ba30b5: Merge "Load mnc/mcc configuration value from SIM (KDDI-CDMA)"
Conley Owens [Tue, 26 Apr 2011 22:46:32 +0000 (15:46 -0700)]
am 17ba30b5: Merge "Load mnc/mcc configuration value from SIM (KDDI-CDMA)"

* commit '17ba30b549a847f3aab854173a9484851f694453':
  Load mnc/mcc configuration value from SIM (KDDI-CDMA)

13 years agoMerge "Load mnc/mcc configuration value from SIM (KDDI-CDMA)"
Conley Owens [Tue, 26 Apr 2011 21:36:48 +0000 (14:36 -0700)]
Merge "Load mnc/mcc configuration value from SIM (KDDI-CDMA)"

13 years agoam 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"
Kenny Root [Tue, 26 Apr 2011 18:32:22 +0000 (11:32 -0700)]
am 13ce221e: Merge "libutils: Fix an improper const-cast in RefBase"

* commit '13ce221e4316f7956ba072e774a7b97646e5d99b':
  libutils: Fix an improper const-cast in RefBase

13 years agoMerge "libutils: Fix an improper const-cast in RefBase"
Kenny Root [Tue, 26 Apr 2011 18:26:33 +0000 (11:26 -0700)]
Merge "libutils: Fix an improper const-cast in RefBase"

13 years agoam 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized...
Jean-Baptiste Queru [Tue, 26 Apr 2011 07:39:44 +0000 (00:39 -0700)]
am 4b72eec3: Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."

* commit '4b72eec34c983abb7a3afcbadd74d3bd807c4765':
  Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.

13 years agoMerge "Re-assingning local variable if mStringBlocks was initialized here. NPE is...
Jean-Baptiste Queru [Mon, 25 Apr 2011 20:33:37 +0000 (13:33 -0700)]
Merge "Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise."

13 years agolibutils: Fix an improper const-cast in RefBase
Josh Stone [Fri, 22 Apr 2011 18:13:35 +0000 (11:13 -0700)]
libutils: Fix an improper const-cast in RefBase

Under Fedora 15 Beta, gcc 4.6.0 warns:

  frameworks/base/libs/utils/RefBase.cpp: In member function
    ‘void android::RefBase::weakref_type::trackMe(bool, bool)’:
  frameworks/base/libs/utils/RefBase.cpp:483:67: error: passing
    ‘const android::RefBase::weakref_impl’ as ‘this’ argument of
    ‘void android::RefBase::weakref_impl::trackMe(bool, bool)’
    discards qualifiers [-fpermissive]

trackMe is not a const function, so don't use const in the static_cast
to a weakref_impl pointer.

Change-Id: I3c9ba73eb127985f5f54197ffecf2939c50f632c

13 years agoam c34c88b9: am ec1a8f7a: Merge "Unable to push files to Windows 7"
Jaikumar Ganesh [Tue, 19 Apr 2011 22:57:24 +0000 (15:57 -0700)]
am c34c88b9: am ec1a8f7a: Merge "Unable to push files to Windows 7"

* commit 'c34c88b948cb60c057bd2145df9f1b2091f3c894':
  Unable to push files to Windows 7

13 years agoam ec1a8f7a: Merge "Unable to push files to Windows 7"
Jaikumar Ganesh [Tue, 19 Apr 2011 22:28:26 +0000 (15:28 -0700)]
am ec1a8f7a: Merge "Unable to push files to Windows 7"

* commit 'ec1a8f7aa7e71e292ef813b1e886a9e26e3635af':
  Unable to push files to Windows 7

13 years agoMerge "Unable to push files to Windows 7"
Jaikumar Ganesh [Tue, 19 Apr 2011 21:48:08 +0000 (14:48 -0700)]
Merge "Unable to push files to Windows 7"

13 years agoEliminating dead logic - bitmap state simply cannot be null here.
Jozef BABJAK [Tue, 19 Apr 2011 11:24:37 +0000 (13:24 +0200)]
Eliminating dead logic - bitmap state simply cannot be null here.

Change-Id: I33fdf650b06242efa22ca30b3f7252f6854b42f6

13 years agoRe-assingning local variable if mStringBlocks was initialized here. NPE is thrown...
Jozef BABJAK [Tue, 19 Apr 2011 10:28:22 +0000 (12:28 +0200)]
Re-assingning local variable if mStringBlocks was initialized here. NPE is thrown otherwise.

Change-Id: Ic8648aa5ae6a61348803171243c1c217feb058ec

13 years agoFix for startup NPE.
Jozef BABJAK [Tue, 19 Apr 2011 09:27:30 +0000 (11:27 +0200)]
Fix for startup NPE.

Change-Id: I6928939d235faf544a85bb84bba2fa135ddc8e45

13 years agoam f0f1ceeb: DO NOT MERGE: Make sure we restart the prefetcher immediately when tryin...
Andreas Huber [Mon, 18 Apr 2011 22:39:09 +0000 (15:39 -0700)]
am f0f1ceeb: DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.

* commit 'f0f1ceeb517ff226532a407da6d55602f195e5b5':
  DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.

13 years agoAdd lock before calling initEglImage
Kobi Cohen Arazi [Fri, 15 Apr 2011 17:38:33 +0000 (10:38 -0700)]
Add lock before calling initEglImage

Without that lock, there is a chance of race condition
where while composing a specific index, requestBuf with
the same index can be executed and touch the
same data that is being used in initEglImage.
(e.g. dirty flag in texture)

13 years agoDO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy...
Andreas Huber [Thu, 14 Apr 2011 17:01:41 +0000 (10:01 -0700)]
DO NOT MERGE: Make sure we restart the prefetcher immediately when trying to satisfy a read.

Change-Id: I27c2b5d20ae577e71936d32522f70f6ba08cc247
related-to-bug: 4286618

13 years agoAuto hide virtual keyboard
Mattias Petersson [Wed, 13 Apr 2011 13:09:16 +0000 (15:09 +0200)]
Auto hide virtual keyboard

Sometimes the virtual keyboard was not hidden when switching between
applications. An example of this was when launching the browser from
the Google Search widget:
1) Tap the Google Search widget and enter some text, e.g. "google"
2) Select one search items, e.g. "google maps"
3) Browser opens. Press back button.
4) Select an item again, e.g. "google maps" - Keyboard does not
   close.

When switching application, the virtual keyboard needs to find a new
Z position (window index) among the other windows. Normally it is
placed on top of the first window that is visible and can get focus
(canBeImeTarget()).

With a new application being launched, there is
an exception: a special "starting window" is placed on top of the
Activity window while the application is starting up. Since this
window should not get input, we need to look below that window.
When doing this, the previous implementation assumed that the
first window below always was focusable. If it wasn't, the
input method was placed above the "starting window", which
caused confusion that led to the keyboard not being closed
automatically.

In the case of the Browser, it sometimes has a "fake TitleBar"
window that can not get focus and that is placed above the
Activity window.

With this fix, we now keep looking through the windows below
the "starting window" until we find a window that can receive
input.

Change-Id: I1117846eb0f57603e64329bd955e28182f98f226

13 years agoonDetachedFromWindow is called before onAttachedToWindow
Martin Wallgren [Wed, 13 Apr 2011 13:03:35 +0000 (15:03 +0200)]
onDetachedFromWindow is called before onAttachedToWindow

Multiple threads are adding messages about the current
state of the views to the main looper. This can cause
onDetachedFromWindow to be posted on the looper before
onAttachedToWindow. This change will make sure to only
dispatch onDetachedFromWindow if we have previously
dispatched onAttachToWindow.

Change-Id: Ibc7cbcafb098bc000d2ef5480d2110d3fff4d55a

13 years agoam 71a556f2: Import revised translations. DO NOT MERGE
Eric Fischer [Tue, 12 Apr 2011 20:02:15 +0000 (13:02 -0700)]
am 71a556f2: Import revised translations.  DO NOT MERGE

* commit '71a556f24e2b8d489bf81b22fab6fe5e99a9eae0':
  Import revised translations.  DO NOT MERGE

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 12 Apr 2011 19:08:59 +0000 (12:08 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: Idd866750d0c53ae0665ef2dd6b64230182d185ae

13 years agoLoad mnc/mcc configuration value from SIM (KDDI-CDMA)
Masanori Ogino [Tue, 12 Apr 2011 11:42:49 +0000 (20:42 +0900)]
Load mnc/mcc configuration value from SIM (KDDI-CDMA)

Now support to load mnc/mcc value from IMSI on KDDI-CDMA.

Change-Id: I6f1d137ecf2e3130ca8f1a782dccec13b51f9933

13 years agoam 08d9d9a4: Merge "Runtime resource overlay, iteration 1."
Kenny Root [Mon, 11 Apr 2011 22:33:19 +0000 (15:33 -0700)]
am 08d9d9a4: Merge "Runtime resource overlay, iteration 1."

* commit '08d9d9a46250c4fad66e9b637e8898a3524c4286':
  Runtime resource overlay, iteration 1.

13 years agoMerge "Runtime resource overlay, iteration 1."
Kenny Root [Mon, 11 Apr 2011 17:07:15 +0000 (10:07 -0700)]
Merge "Runtime resource overlay, iteration 1."

13 years agoRemove errant tag terminator
Shachar Shemesh [Mon, 11 Apr 2011 10:48:35 +0000 (13:48 +0300)]
Remove errant tag terminator

Element android.widget.QuickContactBadge had two closing markers.

Change-Id: I0ab47e2fc999b4cf09fa10a7f5df58090816e315

13 years agoNormalize output of XMLtree content
Shachar Shemesh [Mon, 11 Apr 2011 10:32:19 +0000 (13:32 +0300)]
Normalize output of XMLtree content

Make the output from aapt dump xmltree normalized, so that it is unambigously
displayed regardless of the content of the strings. Previous patch left out
handling of XML element content.

Change-Id: Ib8016996c769f3dde7a87f7ecbdf850333f2426a

13 years agoam ca7ad44a: Merge "audioflinger: Enable ARMv5TE optimized resampler"
Brad Fitzpatrick [Thu, 7 Apr 2011 16:08:58 +0000 (09:08 -0700)]
am ca7ad44a: Merge "audioflinger: Enable ARMv5TE optimized resampler"

* commit 'ca7ad44a8b6764b5935143bfe55700cbddb0d990':
  audioflinger: Enable ARMv5TE optimized resampler

13 years agoMerge "audioflinger: Enable ARMv5TE optimized resampler"
Brad Fitzpatrick [Thu, 7 Apr 2011 15:57:00 +0000 (08:57 -0700)]
Merge "audioflinger: Enable ARMv5TE optimized resampler"

13 years agoaudioflinger: Enable ARMv5TE optimized resampler
Jim Huang [Wed, 6 Apr 2011 06:19:29 +0000 (14:19 +0800)]
audioflinger: Enable ARMv5TE optimized resampler

Previously, the optimized asm option is only enabled when
__ARM_ARCH_5E__ is defined, which is assigned in armv5te.mk
rather than armv7-a series targets.  This patch checks the ARM CPU
feature about half-word multiply instructions to enable ARMv5TE
resampler optimization routines properly.

Change-Id: I4c5a5d8c932416f23bedb0b389db958349f21ea4

13 years agoam 59aad78e: LayoutLib: don\'t render when shader\'s local matrix is set to 0 scale.
Xavier Ducrohet [Thu, 7 Apr 2011 02:08:11 +0000 (19:08 -0700)]
am 59aad78e: LayoutLib: don\'t render when shader\'s local matrix is set to 0 scale.

* commit '59aad78eae14939c169876b2f632d005f382cf7d':
  LayoutLib: don't render when shader's local matrix is set to 0 scale.

13 years agoam 8a18dba4: Merge c5aeac7f from honeycomb.
Xavier Ducrohet [Thu, 7 Apr 2011 02:08:02 +0000 (19:08 -0700)]
am 8a18dba4: Merge c5aeac7f from honeycomb.

* commit '8a18dba48c354fc47056b07ddec8a32fda266b6a':
  Merge c5aeac7f from honeycomb.

13 years agoLayoutLib: don't render when shader's local matrix is set to 0 scale.
Xavier Ducrohet [Thu, 7 Apr 2011 00:03:31 +0000 (17:03 -0700)]
LayoutLib: don't render when shader's local matrix is set to 0 scale.

Change-Id: I7726d87f3dd0475ac662f535a08c6435b8b9ed1f

13 years agoMerge c5aeac7f from honeycomb.
Xavier Ducrohet [Wed, 6 Apr 2011 03:19:17 +0000 (20:19 -0700)]
Merge c5aeac7f from honeycomb.

LayoutLib: Fix issue with rendering mode.

When the layout content is embedded inside a decor layout
to emulate system bar (top or bottom) and title bar (or action bar)
then the code computing the full required size based on the RenderingMode
would fail because the decor layout would prevents the content layout to
take as much room as possible.
There is also an issue with the way we know render dialogs as the
dialogs usually as a frame with some padding and the previous measurements
would not take into account the dialog padding when increasing the
screen size.

This fix makes the code measure the size of the content layout in the
normal rendering, and then separately from the root layout with the proper
MeasureSpec to let the content grown. The difference in size is then added
to the screen size.

Bug: http://code.google.com/p/android/issues/detail?id=15892

Change-Id: Ie9a6c5e254b16785f817dcb9fae755d4936880aa

13 years agoam 43707a83: UsbManager: minor Javadoc tweak
Mike Lockwood [Mon, 4 Apr 2011 21:43:06 +0000 (14:43 -0700)]
am 43707a83: UsbManager: minor Javadoc tweak

* commit '43707a83ec12957fb84a406276a38fbaf4e23fd3':
  UsbManager: minor Javadoc tweak

13 years agoam 78a9766b: Merge "Implement teardown script." into gingerbread
Jason parks [Mon, 4 Apr 2011 21:42:54 +0000 (14:42 -0700)]
am 78a9766b: Merge "Implement teardown script." into gingerbread

* commit '78a9766be2a08e1f6a448bdb336f2afeff71a52b':
  Implement teardown script.

13 years agoam 84d34078: Make the NFC UID forward compatible.
Jeff Hamilton [Mon, 4 Apr 2011 21:42:44 +0000 (14:42 -0700)]
am 84d34078: Make the NFC UID forward compatible.

* commit '84d340781b1e148ead9fb4790755737c9dcc1cde':
  Make the NFC UID forward compatible.

13 years agoam ea5d2c58: Merge "When read() from AudioRecord returns 0 or negative value, report...
James Dong [Mon, 4 Apr 2011 21:42:05 +0000 (14:42 -0700)]
am ea5d2c58: Merge "When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE." into gingerbread

* commit 'ea5d2c584490424be6bbc27dec58b4f9868d631e':
  When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE.

13 years agoam a482d83c: Merge "Issue 4157048: mic gain for VoIP/SIP calls." into gingerbread
Eric Laurent [Mon, 4 Apr 2011 19:25:37 +0000 (12:25 -0700)]
am a482d83c: Merge "Issue 4157048: mic gain for VoIP/SIP calls." into gingerbread

* commit 'a482d83ccf35ccd6cc29a9e1ace3d77b5f28d013':
  Issue 4157048: mic gain for VoIP/SIP calls.

13 years agoam a8731e1e: Merge "DO NOT MERGE: UsbService: Make USB disconnect handling for access...
Mike Lockwood [Mon, 4 Apr 2011 19:25:33 +0000 (12:25 -0700)]
am a8731e1e: Merge "DO NOT MERGE: UsbService: Make USB disconnect handling for accessory mode more robust" into gingerbread

* commit 'a8731e1e922512e5c22485e48059f33b61ab93ea':
  DO NOT MERGE: UsbService: Make USB disconnect handling for accessory mode more robust

13 years agoam cafbe87d: Merge "Fixing line in Market IAB docs that explains how to bind to the...
Trevor Johns [Mon, 4 Apr 2011 19:25:29 +0000 (12:25 -0700)]
am cafbe87d: Merge "Fixing line in Market IAB docs that explains how to bind to the MarketService." into gingerbread

* commit 'cafbe87d5b6108d71e85950796b587f95d00cfac':
  Fixing line in Market IAB docs that explains how to bind to the MarketService.

13 years agoam ec944728: Merge "DO NOT MERGE Disable WiMAX when "Data Enabled" is off" into ginge...
Simon Wilson [Mon, 4 Apr 2011 19:25:25 +0000 (12:25 -0700)]
am ec944728: Merge "DO NOT MERGE Disable WiMAX when "Data Enabled" is off" into gingerbread

* commit 'ec94472835787b66e1799110411d5077d0ef37cd':
  DO NOT MERGE Disable WiMAX when "Data Enabled" is off

13 years agoam 8b312c6c: Merge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Mon, 4 Apr 2011 19:20:38 +0000 (12:20 -0700)]
am 8b312c6c: Merge "Import revised translations.  DO NOT MERGE" into gingerbread

* commit '8b312c6ca1c3f6dc4bec0c7d45bc9509afef4984':
  Import revised translations.  DO NOT MERGE

13 years agoam cca2f2f9: Merge "Send out a broadcast that the system is being factory reset....
Jason parks [Mon, 4 Apr 2011 19:20:33 +0000 (12:20 -0700)]
am cca2f2f9: Merge "Send out a broadcast that the system is being factory reset." into gingerbread

* commit 'cca2f2f987ab772a4bae3176df7259f59d6502ce':
  Send out a broadcast that the system is being factory reset.

13 years agoam 87805ca3: Updated CDMA roaming icons
Justin Ho [Mon, 4 Apr 2011 19:19:39 +0000 (12:19 -0700)]
am 87805ca3: Updated CDMA roaming icons

* commit '87805ca3a477e165891baa18efe5239a70d11bc9':
  Updated CDMA roaming icons

13 years agoam bef31431: No-op - reconcile with open-source gingerbread
Jean-Baptiste Queru [Mon, 4 Apr 2011 19:19:26 +0000 (12:19 -0700)]
am bef31431: No-op - reconcile with open-source gingerbread

* commit 'bef31431cafe100e382a3caf7ea7dce343832d68':

13 years agoam 27725e8c: Only leave one default network up at a time.
Robert Greenwalt [Mon, 4 Apr 2011 19:18:58 +0000 (12:18 -0700)]
am 27725e8c: Only leave one default network up at a time.

* commit '27725e8cd1e2eb3b88186ae8d43e437f130b1f84':
  Only leave one default network up at a time.

13 years agoMerge "resolved conflicts for merge of 7544b23e to gingerbread-plus-aosp" into ginger...
Robert Greenwalt [Mon, 4 Apr 2011 18:23:51 +0000 (11:23 -0700)]
Merge "resolved conflicts for merge of 7544b23e to gingerbread-plus-aosp" into gingerbread-plus-aosp

13 years agoresolved conflicts for merge of 7544b23e to gingerbread-plus-aosp
Robert Greenwalt [Mon, 4 Apr 2011 18:21:23 +0000 (11:21 -0700)]
resolved conflicts for merge of 7544b23e to gingerbread-plus-aosp

Change-Id: I28cf91f473eb9e3e758129b2f4d89827e73049dd

13 years agoam 9907d161: Merge "Fix data corruption when writing to Bluetooth socket"
Brad Fitzpatrick [Mon, 4 Apr 2011 18:03:03 +0000 (11:03 -0700)]
am 9907d161: Merge "Fix data corruption when writing to Bluetooth socket"

* commit '9907d161584415c81de1099678f160da172fd1a6':
  Fix data corruption when writing to Bluetooth socket

13 years agoMerge "Fix data corruption when writing to Bluetooth socket"
Brad Fitzpatrick [Mon, 4 Apr 2011 17:49:05 +0000 (10:49 -0700)]
Merge "Fix data corruption when writing to Bluetooth socket"

13 years agoam 2ed72048: Merge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()"
Brad Fitzpatrick [Mon, 4 Apr 2011 17:17:43 +0000 (10:17 -0700)]
am 2ed72048: Merge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()"

* commit '2ed72048828cf9f617da971e5d2b8a062de08e5b':
  Always return a valid index from Rfc822Tokenizer.findTokenEnd()

13 years agoam e558a000: Merge "Avoid crash in system server when mounting container"
Brad Fitzpatrick [Mon, 4 Apr 2011 17:17:35 +0000 (10:17 -0700)]
am e558a000: Merge "Avoid crash in system server when mounting container"

* commit 'e558a0000389a2523b8d3d3a787db6b4579d2bdc':
  Avoid crash in system server when mounting container

13 years agoMerge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()"
Brad Fitzpatrick [Mon, 4 Apr 2011 16:41:10 +0000 (09:41 -0700)]
Merge "Always return a valid index from Rfc822Tokenizer.findTokenEnd()"

13 years agoMerge "Avoid crash in system server when mounting container"
Brad Fitzpatrick [Mon, 4 Apr 2011 16:38:16 +0000 (09:38 -0700)]
Merge "Avoid crash in system server when mounting container"

13 years agoAlways return a valid index from Rfc822Tokenizer.findTokenEnd()
Mattias Niklewski [Tue, 18 Jan 2011 13:27:23 +0000 (14:27 +0100)]
Always return a valid index from Rfc822Tokenizer.findTokenEnd()

If an invalid input string ends with a backslash inside a comment
or quoted string, the returned index would be past the end of the
string. In one case this would lead to a runtime exception being
thrown from MultiAutoCompleteTextView.performValidation.

Change-Id: If629372b429716c25cdc25764f088e95d4812d57

13 years agoAvoid crash in system server when mounting container
Fredrik Helmer [Wed, 9 Feb 2011 15:16:10 +0000 (16:16 +0100)]
Avoid crash in system server when mounting container

A race condition when mounting a container in PackageHelper may cause
the system_server to crash (uncaught exception). Calling methods are
prepared to handle null, so return null instead.

Change-Id: I852ee21a2d847e37d81c1b900c27ddf94ef24fcb

13 years agoFix data corruption when writing to Bluetooth socket
Mike Playle [Fri, 22 Oct 2010 12:58:17 +0000 (13:58 +0100)]
Fix data corruption when writing to Bluetooth socket

Writes to Bluetooth sockets are handled by writeNative() in
android_bluetooth_BluetoothSocket.cpp. This calls asocket_write()
which is implemented in abort_socket.c.

This latter function sleeps until poll() indicates that the socket is
writeable, then calls write() once, returning the number of bytes
written. However writeNative() just returns this byte count to the
caller; it's eventually ignored in BluetoothOutputStream.java. This
doesn't match the semantics of a Java OutputStream, which is required
to block until all bytes have been written.

This fix adds a loop to writeNative() that repeatedly calls the lower
level write function until all the data has been written (or an error
occurred in which case we should exit the loop early). With this
change it is possible to write large amounts of data to a Bluetooth
socket without experiencing data loss.

Change-Id: I0b464382817e15adec32ba0e3cb37e7d1cccc730

13 years agoUsbManager: minor Javadoc tweak
Mike Lockwood [Fri, 1 Apr 2011 21:28:45 +0000 (17:28 -0400)]
UsbManager: minor Javadoc tweak

Change-Id: I44efc54cd2a0991465aabe0ecea1b8a3291014c2
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoFix bad merge.
Robert Greenwalt [Fri, 1 Apr 2011 21:11:30 +0000 (14:11 -0700)]
Fix bad merge.

Add host route for a default gateway before adding the default route.
Also fixing bug were "already active" condtion of APN failed to
propagate the default gateway info, resulting in a loss of that address.

bug:4175328
Change-Id: I38f9d108693382a43e6605d56ca3963adf4eb6f4

13 years agoMerge "Implement teardown script." into gingerbread
Jason parks [Fri, 1 Apr 2011 20:11:06 +0000 (13:11 -0700)]
Merge "Implement teardown script." into gingerbread

13 years agoImplement teardown script.
Jason parks [Thu, 31 Mar 2011 18:15:18 +0000 (13:15 -0500)]
Implement teardown script.

Change-Id: I1a3feda3b1007b08fcaa24c3f8dd21abf1efd885

13 years agoMake the NFC UID forward compatible.
Jeff Hamilton [Fri, 1 Apr 2011 18:43:28 +0000 (13:43 -0500)]
Make the NFC UID forward compatible.

Change-Id: I67316ee7906c29ba11ca7c8eb36ca1b736fe59b1

13 years agoRuntime resource overlay, iteration 1.
Mårten Kongstad [Thu, 17 Mar 2011 13:13:41 +0000 (14:13 +0100)]
Runtime resource overlay, iteration 1.

Runtime resource overlay allows unmodified applications to appear
as if they had been compiled with additional resources defined. See
libs/utils/README for more information.

This commit is the first iteration of runtime resource overlay. It
provides the actual overlay modifications and loading of trusted overlay
packages (ie residing in /vendor) targeting framework-res.apk.

This commit loads exactly one overlay package. The overlay,
if present, must target framework-res.apk and be located at
/vendor/overlay/framework/framework-res.apk.

Change-Id: If26ee7754813004a96c043dba37fbe99fa3919db

13 years agoam c6b22e27: Updated JBQ\'s original SurfaceTexture stubs to make webkit MR1 buildable
Russell Brenner [Fri, 1 Apr 2011 01:55:26 +0000 (18:55 -0700)]
am c6b22e27: Updated JBQ\'s original SurfaceTexture stubs to make webkit MR1 buildable

* commit 'c6b22e2727bd3730edd5ad72831a9bb4670d00f3':
  Updated JBQ's original SurfaceTexture stubs to make webkit MR1 buildable

13 years agoam 49b49f8f: Added include/private/hwui/DrawGlInfo.h
Russell Brenner [Fri, 1 Apr 2011 01:55:20 +0000 (18:55 -0700)]
am 49b49f8f: Added include/private/hwui/DrawGlInfo.h

* commit '49b49f8fb6d094768d4e093353b34271f2da1bfc':
  Added include/private/hwui/DrawGlInfo.h

13 years agoUpdated JBQ's original SurfaceTexture stubs to make webkit MR1 buildable
Russell Brenner [Fri, 1 Apr 2011 00:32:20 +0000 (17:32 -0700)]
Updated JBQ's original SurfaceTexture stubs to make webkit MR1 buildable

Change-Id: If1c1610efcc0e0bc6de88c75712baed91624b1a7

13 years agoAdded include/private/hwui/DrawGlInfo.h
Russell Brenner [Thu, 31 Mar 2011 20:20:52 +0000 (13:20 -0700)]
Added include/private/hwui/DrawGlInfo.h

Change-Id: If50ccabb8761a994fa1f7aef4fbdb668c6160b0c

13 years agoMerge "When read() from AudioRecord returns 0 or negative value, report an error...
James Dong [Thu, 31 Mar 2011 18:20:40 +0000 (11:20 -0700)]
Merge "When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE." into gingerbread

13 years agoWhen read() from AudioRecord returns 0 or negative value, report an error to applicat...
James Dong [Wed, 30 Mar 2011 23:04:09 +0000 (16:04 -0700)]
When read() from AudioRecord returns 0 or negative value, report an error to application. DO NOT MERGE.

Change-Id: I3a66fd0ed3f6b90350d706a608a39d8b4a398e32
related-to-bug: 4195127

13 years agoMerge "Issue 4157048: mic gain for VoIP/SIP calls." into gingerbread
Eric Laurent [Wed, 30 Mar 2011 21:55:49 +0000 (14:55 -0700)]
Merge "Issue 4157048: mic gain for VoIP/SIP calls." into gingerbread

13 years agoMerge "DO NOT MERGE: UsbService: Make USB disconnect handling for accessory mode...
Mike Lockwood [Wed, 30 Mar 2011 21:15:51 +0000 (14:15 -0700)]
Merge "DO NOT MERGE: UsbService: Make USB disconnect handling for accessory mode more robust" into gingerbread

13 years agoMerge "Fixing line in Market IAB docs that explains how to bind to the MarketService...
Trevor Johns [Wed, 30 Mar 2011 20:50:40 +0000 (13:50 -0700)]
Merge "Fixing line in Market IAB docs that explains how to bind to the MarketService." into gingerbread

13 years agoMerge "DO NOT MERGE Disable WiMAX when "Data Enabled" is off" into gingerbread
Simon Wilson [Wed, 30 Mar 2011 20:26:45 +0000 (13:26 -0700)]
Merge "DO NOT MERGE Disable WiMAX when "Data Enabled" is off" into gingerbread

13 years agoDO NOT MERGE Disable WiMAX when "Data Enabled" is off
TK MUN [Wed, 30 Mar 2011 00:27:07 +0000 (09:27 +0900)]
DO NOT MERGE Disable WiMAX when "Data Enabled" is off

When user uncheck "Data Enabled" check box, WiMAX goes
into "disconnected" state.

Change-Id: I3b9bdbc16cc4ddbf7a1aac0c984cad8994c4e9f2
Signed-off-by: TK MUN <tk.mun@samsung.com>
13 years agoFixing line in Market IAB docs that explains how to bind to the
Trevor Johns [Wed, 30 Mar 2011 18:30:09 +0000 (11:30 -0700)]
Fixing line in Market IAB docs that explains how to bind to the
MarketService.

We use the IMarketBillingService, which is incorrect. It should be
"com.android.vending.billing.MarketBillingService.BIND".

Change-Id: Ie361e58cea8aca6d70bd48bce062ca8d062281ee

13 years agoMerge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Wed, 30 Mar 2011 17:41:05 +0000 (10:41 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into gingerbread

13 years agoam 96cf34d3: Merge "Make STOP_APP_SWITCHES signatureOrSystem." into gingerbread
Jeff Hamilton [Wed, 30 Mar 2011 16:30:40 +0000 (09:30 -0700)]
am 96cf34d3: Merge "Make STOP_APP_SWITCHES signatureOrSystem." into gingerbread

* commit '96cf34d362a1666683e813af915e4f6e0d1b38a0':
  Make STOP_APP_SWITCHES signatureOrSystem.

13 years agoam 05f14e2b: Merge "DO NOT MERGE Pick upstream intf with valid IP conf" into gingerbread
Irfan Sheriff [Wed, 30 Mar 2011 16:30:32 +0000 (09:30 -0700)]
am 05f14e2b: Merge "DO NOT MERGE Pick upstream intf with valid IP conf" into gingerbread

* commit '05f14e2bcf78be62b35e85902408ea66103a3881':
  DO NOT MERGE Pick upstream intf with valid IP conf

13 years agoam 568845a7: Merge "Fix some alt-network issues." into gingerbread
Robert Greenwalt [Wed, 30 Mar 2011 16:30:15 +0000 (09:30 -0700)]
am 568845a7: Merge "Fix some alt-network issues." into gingerbread

* commit '568845a766cddc4e4c222b4d9de064f8a48da990':
  Fix some alt-network issues.