OSDN Git Service

android-x86/frameworks-base.git
13 years agoam 3edba93f: am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"
Conley Owens [Mon, 18 Jul 2011 19:44:57 +0000 (12:44 -0700)]
am 3edba93f: am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit '3edba93fd9bff8e2b22486271e6e816e3b233ae9':
  stagefright aacenc/amrwbenc: Remove trailing whitespace

13 years agoam 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"
Conley Owens [Mon, 18 Jul 2011 19:42:42 +0000 (12:42 -0700)]
am 98fcc404: Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

* commit '98fcc4041d35831c7a65a6e2f0e61021e0fb37e2':
  stagefright aacenc/amrwbenc: Remove trailing whitespace

13 years agoMerge "stagefright aacenc/amrwbenc: Remove trailing whitespace"
Conley Owens [Mon, 18 Jul 2011 19:37:16 +0000 (12:37 -0700)]
Merge "stagefright aacenc/amrwbenc: Remove trailing whitespace"

13 years agoam 01588aca: Merge "Preserve invariant that sService is not null (although NfcAdapter...
Nick Pelly [Thu, 14 Jul 2011 05:38:44 +0000 (22:38 -0700)]
am 01588aca: Merge "Preserve invariant that sService is not null (although NfcAdapter.get() can return null)" into gingerbread

* commit '01588acaf87cfe9916239b7b26cc6810e0097138':
  Preserve invariant that sService is not null (although NfcAdapter.get() can return null)

13 years agoam 9ff89495: am 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"
Jaikumar Ganesh [Wed, 13 Jul 2011 17:25:27 +0000 (10:25 -0700)]
am 9ff89495: am 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"

* commit '9ff89495a4890191a0bc5dfddf28f23f79f23698':
  Bluetooth: correcting return value from cancelDiscovery

13 years agoam 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"
Jaikumar Ganesh [Wed, 13 Jul 2011 17:22:40 +0000 (10:22 -0700)]
am 53cf7858: Merge "Bluetooth: correcting return value from cancelDiscovery"

* commit '53cf7858c3fd36082302efdc4d848925bcc0001e':
  Bluetooth: correcting return value from cancelDiscovery

13 years agoMerge "Bluetooth: correcting return value from cancelDiscovery"
Jaikumar Ganesh [Wed, 13 Jul 2011 17:04:19 +0000 (10:04 -0700)]
Merge "Bluetooth: correcting return value from cancelDiscovery"

13 years agoresolved conflicts for merge of 7816eded to gingerbread-plus-aosp
David 'Digit' Turner [Mon, 11 Jul 2011 22:57:09 +0000 (00:57 +0200)]
resolved conflicts for merge of 7816eded to gingerbread-plus-aosp

Change-Id: I1f7d1f488f6a86774962d427aca472a8a444e0aa

13 years agoMerge "Preserve invariant that sService is not null (although NfcAdapter.get() can...
Nick Pelly [Mon, 11 Jul 2011 18:07:22 +0000 (11:07 -0700)]
Merge "Preserve invariant that sService is not null (although NfcAdapter.get() can return null)" into gingerbread

13 years agoPreserve invariant that sService is not null (although NfcAdapter.get() can return...
Robert Tsai [Sun, 10 Jul 2011 06:57:22 +0000 (23:57 -0700)]
Preserve invariant that sService is not null (although NfcAdapter.get() can return null)

Change-Id: I85fcbc5e79549835dac255ce614bd5d65d39fc25

13 years agomerge intel x86 patches into gingerbread branch
David 'Digit' Turner [Fri, 8 Jul 2011 16:19:01 +0000 (18:19 +0200)]
merge intel x86 patches into gingerbread branch

13 years agoNativeDaemonConnector: Fix SDCard mounting bug in the emulator.
David 'Digit' Turner [Thu, 16 Jun 2011 15:40:23 +0000 (17:40 +0200)]
NativeDaemonConnector: Fix SDCard mounting bug in the emulator.

This patch fixes a really annoying bug that prevented the emulator
from properly mounting the SD Card.

The issue was that mOutputStream was not initialized when the onDaemonConnected
callbacks are called, just after the daemon's socket connection is established.

In one specific case (MountService a.k.a. VoldConnector), the corresponding
callback function immediately tried to perform a doCommandList() call on the
connector object. The request failed because mOutputStream was still defined
as null when it happened.

By moving the initialization of the variable just before the callback is
invoked, we ensure that things work properly.

Change-Id: I46726a50ef69eaafe70081ff4eda1244b744beba

13 years agoFix missing NL
Bruce Beare [Fri, 25 Jun 2010 16:08:12 +0000 (09:08 -0700)]
Fix missing NL

Orig-Change-Id: I323f0c01d2e9ad4c9f07cad24bf6b63edc28ad62
Signed-off-by: Bruce Beare <brucex.j.beare@intel.com>
13 years agoam 2b62c4fb: am 38bb0123: Merge "Added methods to support dns cache per interface"
Robert Greenwalt [Wed, 6 Jul 2011 14:42:19 +0000 (07:42 -0700)]
am 2b62c4fb: am 38bb0123: Merge "Added methods to support dns cache per interface"

* commit '2b62c4fbfeb7df0988bf216c50cd4a24f05add9f':
  Added methods to support dns cache per interface

13 years agoam 38bb0123: Merge "Added methods to support dns cache per interface"
Robert Greenwalt [Wed, 6 Jul 2011 14:35:02 +0000 (07:35 -0700)]
am 38bb0123: Merge "Added methods to support dns cache per interface"

* commit '38bb0123b8b9857c3119fd359739daf872f619d6':
  Added methods to support dns cache per interface

13 years agoMerge "Added methods to support dns cache per interface"
Robert Greenwalt [Fri, 1 Jul 2011 16:26:50 +0000 (09:26 -0700)]
Merge "Added methods to support dns cache per interface"

13 years agoam 9f2cbf14: am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifica...
Conley Owens [Thu, 30 Jun 2011 15:22:10 +0000 (08:22 -0700)]
am 9f2cbf14: am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."

* commit '9f2cbf14f8d79e6ed48ff9d76f6aaede45185418':
  Add FLAG_AUTO_CANCEL flag for multiple supl notifications.

13 years agoam e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
Conley Owens [Thu, 30 Jun 2011 15:19:00 +0000 (08:19 -0700)]
am e06749e1: Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."

* commit 'e06749e14c1fb2d78540cba9548ee3b4b7b3b1d9':
  Add FLAG_AUTO_CANCEL flag for multiple supl notifications.

13 years agoMerge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."
Conley Owens [Thu, 30 Jun 2011 15:11:25 +0000 (08:11 -0700)]
Merge "Add FLAG_AUTO_CANCEL flag for multiple supl notifications."

13 years agoam 4d825e1f: Merge "Bring in more layout lib changes from hc-mr1." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:55:46 +0000 (18:55 -0700)]
am 4d825e1f: Merge "Bring in more layout lib changes from hc-mr1." into gingerbread

* commit '4d825e1f3bb6b52ecbea6f0c4aa2081b7f1edc89':
  Bring in more layout lib changes from hc-mr1.

13 years agoam 4753498d: Merge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:55:42 +0000 (18:55 -0700)]
am 4753498d: Merge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread

* commit '4753498d5c1ac3cf93b0730e77946a95b6913a82':
  CherryPick 06942bc4 from hc-mr1. do not merge.

13 years agoam 9918ffb0: Merge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:54 +0000 (18:53 -0700)]
am 9918ffb0: Merge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread

* commit '9918ffb07f47430e22f6e53576d59b599f5a3534':
  CherryPick 988eeeb5 from hc-mr1. do not merge.

13 years agoam 54146a63: Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:51 +0000 (18:53 -0700)]
am 54146a63: Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread

* commit '54146a634e0e66a5e4732ba1a80079a1e93bdd8a':
  DO NOT MERGE. may fix build on some version of gcc

13 years agoMerge "Bring in more layout lib changes from hc-mr1." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:15 +0000 (18:53 -0700)]
Merge "Bring in more layout lib changes from hc-mr1." into gingerbread

13 years agoMerge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:53:06 +0000 (18:53 -0700)]
Merge "CherryPick 06942bc4 from hc-mr1. do not merge." into gingerbread

13 years agoMerge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:52:59 +0000 (18:52 -0700)]
Merge "CherryPick 988eeeb5 from hc-mr1. do not merge." into gingerbread

13 years agoMerge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread
Xavier Ducrohet [Wed, 29 Jun 2011 01:52:43 +0000 (18:52 -0700)]
Merge "DO NOT MERGE. may fix build on some version of gcc" into gingerbread

13 years agoam 2f9ad8b4: Add intent actions for new firmware events.
mike wakerly [Wed, 29 Jun 2011 00:19:05 +0000 (17:19 -0700)]
am 2f9ad8b4: Add intent actions for new firmware events.

* commit '2f9ad8b499cb150d5cdfe84a9795992c5dd42cff':
  Add intent actions for new firmware events.

13 years agoAdd intent actions for new firmware events.
mike wakerly [Tue, 28 Jun 2011 00:29:30 +0000 (17:29 -0700)]
Add intent actions for new firmware events.

Change-Id: I8129b7812c0d551111f0c85eacc9535a441e5453

13 years agoam 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:33:46 +0000 (11:33 -0700)]
am 4fea5373: Merge "Add WEBP to the list of Image formats that support Compression."

* commit '4fea5373d350f5d855408ffaa41206b8fa743c55':
  Add WEBP to the list of Image formats that support Compression.

13 years agoam f458d5fd: Merge "Tweak for forward-compatibility"
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:28:30 +0000 (11:28 -0700)]
am f458d5fd: Merge "Tweak for forward-compatibility"

* commit 'f458d5fdb8a48747d6fdd5fd0d0a44a6a8ed89e9':
  Tweak for forward-compatibility

13 years agoMerge "Add WEBP to the list of Image formats that support Compression."
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:13:42 +0000 (11:13 -0700)]
Merge "Add WEBP to the list of Image formats that support Compression."

13 years agoMerge "Tweak for forward-compatibility"
Jean-Baptiste Queru [Fri, 24 Jun 2011 18:08:36 +0000 (11:08 -0700)]
Merge "Tweak for forward-compatibility"

13 years agoTweak for forward-compatibility
Jean-Baptiste Queru [Fri, 24 Jun 2011 17:49:18 +0000 (10:49 -0700)]
Tweak for forward-compatibility

Change-Id: Ic5e4d949c1c80a2ebdc2ec802c35b5d3d7f9661d

13 years agoAdd WEBP to the list of Image formats that support Compression.
Vikas Arora [Thu, 23 Jun 2011 07:41:13 +0000 (13:11 +0530)]
Add WEBP to the list of Image formats that support Compression.

Note: The integrator of this change to Android internal code-repo will
have to run one extra step 'make update-api' to update 'api/current.txt'
file corresponding to approved API. The AOSP branch didn't have this
file, hence I could not add the same to this change. The updated file
'api/current.txt' has to be submitted along with this change.

Change-Id: I29909e907a2e82d801e16654322190a808c5bda9

13 years agoam e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods."
Raphael Moll [Thu, 23 Jun 2011 00:44:29 +0000 (17:44 -0700)]
am e2b41b0d: Merge "Laoutlib_creator: keep original of delegate methods."

* commit 'e2b41b0d5c8db85a60cd190c7094052db61114b2':
  Laoutlib_creator: keep original of delegate methods.

13 years agoMerge "Laoutlib_creator: keep original of delegate methods."
Raphael Moll [Thu, 23 Jun 2011 00:11:27 +0000 (17:11 -0700)]
Merge "Laoutlib_creator: keep original of delegate methods."

13 years agoam b38fa2a0: Merge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog...
Jaikumar Ganesh [Tue, 21 Jun 2011 20:24:46 +0000 (13:24 -0700)]
am b38fa2a0: Merge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog." into gingerbread

* commit 'b38fa2a0ac2bde56504929de6a3dd61ac723958e':
  DO NOT MERGE Incoming Bluetooth Connection requests - dialog.

13 years agoMerge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog." into gingerbread
Jaikumar Ganesh [Tue, 21 Jun 2011 18:23:51 +0000 (11:23 -0700)]
Merge "DO NOT MERGE Incoming Bluetooth Connection requests - dialog." into gingerbread

13 years agoDO NOT MERGE Incoming Bluetooth Connection requests - dialog.
Jaikumar Ganesh [Fri, 17 Jun 2011 04:43:29 +0000 (21:43 -0700)]
DO NOT MERGE Incoming Bluetooth Connection requests - dialog.

This sends the intents to the Settings app to show
the dialogs for the incoming connection requests.

Change-Id: Ibe267f7cda28ce2a46c25800df2e8ac685b0b9e6

13 years agoam 17523abb: NFC Adapter Extras API update.
Nick Pelly [Mon, 20 Jun 2011 22:54:07 +0000 (15:54 -0700)]
am 17523abb: NFC Adapter Extras API update.

* commit '17523abb45b7f77f35af53e895d74be13f2314e0':
  NFC Adapter Extras API update.

13 years agoam bf5adfa5: Merge "Check if we are in daylight time when calculating timezone"
Conley Owens [Mon, 20 Jun 2011 20:04:45 +0000 (13:04 -0700)]
am bf5adfa5: Merge "Check if we are in daylight time when calculating timezone"

* commit 'bf5adfa5e558827fbb4771720433887bb3cbaefd':
  Check if we are in daylight time when calculating timezone

13 years agoMerge "Check if we are in daylight time when calculating timezone"
Conley Owens [Mon, 20 Jun 2011 18:01:41 +0000 (11:01 -0700)]
Merge "Check if we are in daylight time when calculating timezone"

13 years agoam e3b05d09: Merge "Tweaks for forward-compatibility"
Jean-Baptiste Queru [Mon, 20 Jun 2011 16:05:07 +0000 (09:05 -0700)]
am e3b05d09: Merge "Tweaks for forward-compatibility"

* commit 'e3b05d09163257b888c86f2a560e10c48f4cf029':
  Tweaks for forward-compatibility

13 years agoMerge "Tweaks for forward-compatibility"
Jean-Baptiste Queru [Sat, 18 Jun 2011 16:45:53 +0000 (09:45 -0700)]
Merge "Tweaks for forward-compatibility"

13 years agoTweaks for forward-compatibility
Jean-Baptiste Queru [Sat, 18 Jun 2011 16:42:04 +0000 (09:42 -0700)]
Tweaks for forward-compatibility

Change-Id: Iec525edc186e78d5d865f82dd5b1f56263c22e86

13 years agoLaoutlib_creator: keep original of delegate methods.
Raphael Moll [Sat, 18 Jun 2011 00:12:52 +0000 (17:12 -0700)]
Laoutlib_creator: keep original of delegate methods.

For specific methods, Layoublib_create can rewrite the implementation
of a method to invoke a delegate instead of the original code. This
allows layoutlib to implement native code or override existing behavior.

This patch also 'saves' the original implementation of a rewritten
method so that the delegate can access the original implementation
as needed. Obviously this is only done for non-native methods.

Given a non-native SomeClass.MethodName, we generate 2 methods:
- A copy of the original method named "SomeClass.MethodName_original".
  The content is the original method as-is from the reader.
- A brand new implementation of SomeClass.MethodName which calls to a
  non-existing method named "SomeClass_delegate.MethodName".
  The implementation of this 'delegate' method is done in layoutlib_brigde.

Change-Id: I5ca2cd3ac55991a8e8a51c417e75ee447bf9e9e6

13 years agoNFC Adapter Extras API update.
Nick Pelly [Fri, 17 Jun 2011 17:56:39 +0000 (10:56 -0700)]
NFC Adapter Extras API update.

Remove
o registerTearDownApdus()
o deregisterTearDownApdus()
They were already NO-OPS, and don't work in the general case.

Add
o authenticate(byte[] token)
This future proofs us for a more flexible access control scheme.

Change-Id: I4cb67ceeb63d61cbc333c9b244a96d8687402168

13 years agoBring in more layout lib changes from hc-mr1.
Xavier Ducrohet [Fri, 10 Jun 2011 02:14:06 +0000 (19:14 -0700)]
Bring in more layout lib changes from hc-mr1.

fe051bb2 : Change the way the layoutlib instantiate its XmlPullParser.

A lot of the init code was duplicated so I made a ParserFactory class.

Also created an extension of the KXmlPullParser to override toString().
This allows easier debugging when dealing with multiple parsers (which
is always the case).

Also added some (disabled) debugging printf to deal with parser stack
as it can be tricky figuring out which parsers are in the stack at
which point.

8969147c : Fix case where the int[] attrs doesn't directly match a styleable.

In the case of the FastScroller the int[] is a custom mix of attr
instead of a int[] that exists as R.styleable.foo.

This makes our reflection based mechanism used to find the styleable
fail, so instead we search for each attribute separately (like
we probably should have done from the beginning).

0c264b35: Fix various cases of getDimension to report error if unit is missing.

if getDimention###() is called for a string that has no unit,
then an error is output through LayoutLog, but the rendering keeps
going by using dp as a default.

0beb7eea: Make (Bridge)TypedArray.getInteger() call out to getInt()

Only getInt() resolved attribute flags/enum and I'm not sure why
there's two to begin with.

Change-Id: I015111263d2a2bee76834978ae71eef79defdae3

13 years agoCherryPick 06942bc4 from hc-mr1. do not merge.
Xavier Ducrohet [Wed, 8 Jun 2011 00:48:35 +0000 (17:48 -0700)]
CherryPick 06942bc4 from hc-mr1. do not merge.

Layoutlib - use the new getParser callback when possible.

Change-Id: I72b867aa573fcc07d610f139da3c90b1b654633c

13 years agoCherryPick 988eeeb5 from hc-mr1. do not merge.
Xavier Ducrohet [Wed, 8 Jun 2011 00:03:10 +0000 (17:03 -0700)]
CherryPick 988eeeb5 from hc-mr1. do not merge.

Support for custom declare-styleable attr with enum/flag in layoutlib.

Change-Id: I8a5b7cc629d61996ffade9aabd9d4d10961eb411

13 years agoDO NOT MERGE. may fix build on some version of gcc
Mathias Agopian [Tue, 14 Jun 2011 18:50:22 +0000 (11:50 -0700)]
DO NOT MERGE. may fix build on some version of gcc

Change-Id: Id99d390862731fd3fbc009dbffdf1d2a59dbe348

13 years agoam d76baeb4: Merge "Import revised Croatian translations." into gingerbread
Maarten Hooft [Thu, 16 Jun 2011 22:48:55 +0000 (15:48 -0700)]
am d76baeb4: Merge "Import revised Croatian translations." into gingerbread

* commit 'd76baeb4d836c33cc68cbb0c2e237c066f368529':
  Import revised Croatian translations.

13 years agoMerge "Import revised Croatian translations." into gingerbread
Maarten Hooft [Thu, 16 Jun 2011 22:41:20 +0000 (15:41 -0700)]
Merge "Import revised Croatian translations." into gingerbread

13 years agoam df1734e3: Fix lease duration handling
Irfan Sheriff [Wed, 15 Jun 2011 23:29:02 +0000 (16:29 -0700)]
am df1734e3: Fix lease duration handling

* commit 'df1734e3f57646df1fa96275cbb65bb91ac9d2ac':
  Fix lease duration handling

13 years agoam afffa8fa: fix RefBase so it retains binary-compatibility with gingerbread (DO...
Mathias Agopian [Wed, 15 Jun 2011 21:13:04 +0000 (14:13 -0700)]
am afffa8fa: fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)

* commit 'afffa8fa9f82a7343e1158bf921931fd3e3df615':
  fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)

13 years agoFix lease duration handling
Irfan Sheriff [Wed, 15 Jun 2011 16:28:23 +0000 (09:28 -0700)]
Fix lease duration handling

We need to convert lease duration from int to long before
converting into milliseconds

Also add basic sanity check

Bug: 4561231
Change-Id: I9bcafaa798a04c8de3f2c1897dc5b3c4ae245672

13 years agoImport revised Croatian translations.
Eric Fischer [Wed, 15 Jun 2011 19:10:52 +0000 (12:10 -0700)]
Import revised Croatian translations.

Change-Id: I9fb9bf6796d19e4b419381a0dd398f53bf2e879f

13 years agoresolved conflicts for merge of d027329c to gingerbread-plus-aosp
Marco Nelissen [Wed, 15 Jun 2011 15:33:09 +0000 (08:33 -0700)]
resolved conflicts for merge of d027329c to gingerbread-plus-aosp

Change-Id: I169c415bf998b9935ab36812511573db05717b91

13 years agoAdd FLAG_AUTO_CANCEL flag for multiple supl notifications.
Anshuman Pandey [Tue, 1 Mar 2011 06:39:08 +0000 (12:09 +0530)]
Add FLAG_AUTO_CANCEL flag for multiple supl notifications.

Added FLAG_AUTO_CANCEL to notification flags in GpsNetInitiatedHandler.java.
This is done to clear consecutive notifications in UI

Change-Id: I84be36af0b556f43ffd7d51ac04ff12300090ca5
Signed-off-by: Anshuman Pandey <anshuman.pandey@stericsson.com>
Signed-off-by: Christian Bejram <christian.bejram@stericsson.com>
13 years agofix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)
Mathias Agopian [Mon, 13 Jun 2011 01:05:53 +0000 (18:05 -0700)]
fix RefBase so it retains binary-compatibility with gingerbread (DO NOT MERGE)

Bug: 4595257
Change-Id: I4773cf4fe59b2509db0ed733739eb6961d473b25

13 years agoam 8688d470: Moving flag to a member field instead of a stack variable.
Dan Morrill [Sat, 11 Jun 2011 16:52:50 +0000 (09:52 -0700)]
am 8688d470: Moving flag to a member field instead of a stack variable.

* commit '8688d4708117db446d6ba2855f1d8ad715bb4d72':
  Moving flag to a member field instead of a stack variable.

13 years agoIgnore duplicate WAP push PDU source/destination port if configured
Soojung Shin [Fri, 10 Jun 2011 12:37:23 +0000 (21:37 +0900)]
Ignore duplicate WAP push PDU source/destination port if configured

Some carriers duplicate the OMADM wap push PDU source/destination
port.

e.g. MSGTYPE-TotalSegments-CurrentSegment
     -SourcePortDestPort-SourcePortDestPort-OMADM PDU

So the client has to ignore the duplicate source/destination
port.

Change-Id: I83df6e8e7d2e2e4275036a1b574247f9f40c5cf4
Signed-off-by: Soojung Shin <sj46.shin@samsung.com>
13 years agoMoving flag to a member field instead of a stack variable.
Dan Morrill [Fri, 10 Jun 2011 17:44:01 +0000 (10:44 -0700)]
Moving flag to a member field instead of a stack variable.

Change-Id: I2b281ec4d424f2c4286fb0bc8db263e3893ad898

13 years agoam a1a107b8: Merge "Adding a new config value used to tell StatusBarPolicy to always...
Dan Morrill [Thu, 9 Jun 2011 21:52:40 +0000 (14:52 -0700)]
am a1a107b8: Merge "Adding a new config value used to tell StatusBarPolicy to always use CDMA signal strength value even when on EVDO. Default is off, but devices that need to can override it." into gingerbread

* commit 'a1a107b8cb8cbb7eea796f375eb72958e8b148e3':
  Adding a new config value used to tell StatusBarPolicy to always use CDMA signal strength value even when on EVDO. Default is off, but devices that need to can override it.

13 years agoMerge "Adding a new config value used to tell StatusBarPolicy to always use CDMA...
Dan Morrill [Thu, 9 Jun 2011 21:43:58 +0000 (14:43 -0700)]
Merge "Adding a new config value used to tell StatusBarPolicy to always use CDMA signal strength value even when on EVDO. Default is off, but devices that need to can override it." into gingerbread

13 years agoam d8b027b1: Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"
Conley Owens [Thu, 9 Jun 2011 19:14:11 +0000 (12:14 -0700)]
am d8b027b1: Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"

* commit 'd8b027b18f5a922ef729c6ee363eecb053358d47':
  stagefright aacenc/amrwbenc: Convert line breaks to Unix style

13 years agoMerge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"
Conley Owens [Thu, 9 Jun 2011 18:12:04 +0000 (11:12 -0700)]
Merge "stagefright aacenc/amrwbenc: Convert line breaks to Unix style"

13 years agoam a02d9bf9: Make sure we don\'t read from invalid fds
Marco Nelissen [Thu, 9 Jun 2011 17:36:24 +0000 (10:36 -0700)]
am a02d9bf9: Make sure we don\'t read from invalid fds

* commit 'a02d9bf9c3ff22cd449da21ff7c23170488ebd8e':
  Make sure we don't read from invalid fds

13 years agoMake sure we don't read from invalid fds
Marco Nelissen [Thu, 9 Jun 2011 16:39:52 +0000 (09:39 -0700)]
Make sure we don't read from invalid fds

b/4580570

Change-Id: I622f001551a404a7a840d8388a9febac2db107ad

13 years agoAdding a new config value used to tell StatusBarPolicy to always use CDMA
Dan Morrill [Thu, 9 Jun 2011 04:58:06 +0000 (21:58 -0700)]
Adding a new config value used to tell StatusBarPolicy to always use CDMA
signal strength value even when on EVDO. Default is off, but devices that need
to can override it.

Change-Id: I675af3f3ecfe34a72954ae8241965b0a882edbb8

13 years agoam 19974ecc: Fix a leak in RefBase (DO NOT MERGE)
Mathias Agopian [Thu, 9 Jun 2011 02:56:06 +0000 (19:56 -0700)]
am 19974ecc: Fix a leak in RefBase (DO NOT MERGE)

* commit '19974eccdbd3e4dbd7e3b2cc401db7806d4a17bc':
  Fix a leak in RefBase (DO NOT MERGE)

13 years agoFix a leak in RefBase (DO NOT MERGE)
Mathias Agopian [Wed, 8 Jun 2011 23:05:30 +0000 (16:05 -0700)]
Fix a leak in RefBase (DO NOT MERGE)

this bug was introduced recently. it caused RefBase's weakref_impl
structure to be leaked for every RefBase object (about 20 bytes).

Change-Id: Ia9b155fbfa643ef72cfb8129e96260a3b806a78c

13 years agoam f3894a04: Merge "Tweak setViewport stuff for fwd-compat"
Jean-Baptiste Queru [Wed, 8 Jun 2011 21:07:19 +0000 (14:07 -0700)]
am f3894a04: Merge "Tweak setViewport stuff for fwd-compat"

* commit 'f3894a04acb9cdd67a02a1a4c82ba7d178c13000':
  Tweak setViewport stuff for fwd-compat

13 years agoMerge "Tweak setViewport stuff for fwd-compat"
Jean-Baptiste Queru [Wed, 8 Jun 2011 20:10:58 +0000 (13:10 -0700)]
Merge "Tweak setViewport stuff for fwd-compat"

13 years agoTweak setViewport stuff for fwd-compat
Jean-Baptiste Queru [Wed, 8 Jun 2011 20:00:58 +0000 (13:00 -0700)]
Tweak setViewport stuff for fwd-compat

Change-Id: I532336eced54544115dfd47d5557cc77bafdfc87

13 years agoresolved conflicts for merge of 66040bbb to gingerbread-plus-aosp
Jake Hamby [Tue, 7 Jun 2011 23:24:15 +0000 (16:24 -0700)]
resolved conflicts for merge of 66040bbb to gingerbread-plus-aosp

Change-Id: Id13750bc01c977ab06accf8ceabc95fe5dee703a

13 years agoFixes for SMS Cell Broadcast support.
Jake Hamby [Fri, 3 Jun 2011 02:52:23 +0000 (19:52 -0700)]
Fixes for SMS Cell Broadcast support.

Add support for ETWS primary notification messages.
Add method for easy concatenation of GSM multi-part broadcasts.
Add test cases for SmsCbHeader, SmsCbMessage and IntRangeManager.

Change-Id: Ifc646a011e79ad6c7eace9afcf84b1216eb42b7a

13 years agoam d6ce6791: Merge "Cherrypick d1ed33c4 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Tue, 7 Jun 2011 01:08:40 +0000 (18:08 -0700)]
am d6ce6791: Merge "Cherrypick d1ed33c4 from hc-mr1. do not merge." into gingerbread

* commit 'd6ce6791f26fd0a7cf89ded2847011a4894013e1':
  Cherrypick d1ed33c4 from hc-mr1. do not merge.

13 years agoam ee1b4976: Merge changes I035c48b9,Ib302af47,Iebda5ea6 into gingerbread
Xavier Ducrohet [Tue, 7 Jun 2011 01:08:32 +0000 (18:08 -0700)]
am ee1b4976: Merge changes I035c48b9,Ib302af47,Iebda5ea6 into gingerbread

* commit 'ee1b497648a0c3c03b09c4739619f23315d491fb':
  Cherrypick 5b61ea6b from hc-mr1
  LayoutLib: enable the LAYOUT_ONLY capability.
  Merge dba35f1b from honeycomb-mr1. do not merge.

13 years agoam 258f32e2: Merge "Disable plugins if setPluginsEnabled(false) called."
Romain Guy [Tue, 7 Jun 2011 00:54:12 +0000 (17:54 -0700)]
am 258f32e2: Merge "Disable plugins if setPluginsEnabled(false) called."

* commit '258f32e2e3ff7f4f4b1395cae292098141047fde':
  Disable plugins if setPluginsEnabled(false) called.

13 years agoMerge "Disable plugins if setPluginsEnabled(false) called."
Romain Guy [Mon, 6 Jun 2011 23:23:25 +0000 (16:23 -0700)]
Merge "Disable plugins if setPluginsEnabled(false) called."

13 years agoresolved conflicts for merge of ab79ee4a to gingerbread-plus-aosp
Jake Hamby [Mon, 6 Jun 2011 22:33:37 +0000 (15:33 -0700)]
resolved conflicts for merge of ab79ee4a to gingerbread-plus-aosp

Change-Id: Ib885176060f65ef3286a24c7b9cae1a673666275

13 years agoMerge "Cherrypick d1ed33c4 from hc-mr1. do not merge." into gingerbread
Xavier Ducrohet [Sat, 4 Jun 2011 01:53:41 +0000 (18:53 -0700)]
Merge "Cherrypick d1ed33c4 from hc-mr1. do not merge." into gingerbread

13 years agoMerge changes I035c48b9,Ib302af47,Iebda5ea6 into gingerbread
Xavier Ducrohet [Sat, 4 Jun 2011 01:53:23 +0000 (18:53 -0700)]
Merge changes I035c48b9,Ib302af47,Iebda5ea6 into gingerbread

* changes:
  Cherrypick 5b61ea6b from hc-mr1
  LayoutLib: enable the LAYOUT_ONLY capability.
  Merge dba35f1b from honeycomb-mr1. do not merge.

13 years agoCherrypick d1ed33c4 from hc-mr1. do not merge.
Xavier Ducrohet [Sat, 4 Jun 2011 00:25:48 +0000 (17:25 -0700)]
Cherrypick d1ed33c4 from hc-mr1. do not merge.

Fix zombie threads in the Layoutlib.

Some widgets can create (indirectly) HandlerThread which are started
but never stopped.

This patch use the delegate methods to override the thread run method
to record which threads are started to be able to call quit() on them
after a render.

Note that we should really fix layoutlib_create to be able to call
the default implementation from a delegate to remove code duplication.

Change-Id: Iaf5432623e9704bb3114a8e0583c8553282c205e

13 years agoCherrypick 5b61ea6b from hc-mr1
Xavier Ducrohet [Fri, 3 Jun 2011 22:21:53 +0000 (15:21 -0700)]
Cherrypick 5b61ea6b from hc-mr1

Fix drawCircle in layoutlib.

Change-Id: I035c48b925cad246ed821e9e59a93d37174982ef

13 years agoLayoutLib: enable the LAYOUT_ONLY capability.
Xavier Ducrohet [Thu, 2 Jun 2011 23:38:38 +0000 (16:38 -0700)]
LayoutLib: enable the LAYOUT_ONLY capability.

Change-Id: Ib302af47d2a83a7ac3def6256bf0b892823f594f

13 years agoDisable plugins if setPluginsEnabled(false) called.
Tero Saarni [Thu, 2 Jun 2011 18:05:38 +0000 (21:05 +0300)]
Disable plugins if setPluginsEnabled(false) called.

Old deprecated method for enabling/disabling plugins was
ignoring flag parameter and causing plugins always to be loaded.
Fixes issue 17242.

Change-Id: I1da10a3ee7f3041e59b43641169c3935a05aa347
Signed-off-by: Tero Saarni <tero.saarni@gmail.com>
13 years agoam 8050a02b: DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does...
Andreas Huber [Thu, 2 Jun 2011 14:37:52 +0000 (07:37 -0700)]
am 8050a02b: DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pending recv/send calls.

* commit '8050a02b0130f0ba2e2ddfc240aa59029ee2ac6d':
  DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pending recv/send calls.

13 years agoMerge dba35f1b from honeycomb-mr1. do not merge.
Xavier Ducrohet [Thu, 2 Jun 2011 00:39:32 +0000 (17:39 -0700)]
Merge dba35f1b from honeycomb-mr1. do not merge.

Change-Id: Iebda5ea67fd40cac76a8ca3fe3c3cd4ee95ddebe
LayoutLib: Properly configure KXmlParser to read UTF8

13 years agoEnable full support for SMS Cell Broadcast.
Jake Hamby [Tue, 26 Apr 2011 23:26:46 +0000 (16:26 -0700)]
Enable full support for SMS Cell Broadcast.

Implement full support for SMS Cell Broadcast (3GPP TS 23.041).
Includes support for ETWS and CMAS emergency message types.
Includes GSM and UMTS support (CDMA will be added later).

Note: the change to GsmAlphabet.java is only necessary if the
SMS national languages support patch has been applied. If that
change has not been applied, then the changes to GsmAlphabet.java
in this patch set can safely be ignored.

Change-Id: Ia0362c53695b8ef9a0982f558f1cffa912def34b

13 years agoDO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pendi...
Andreas Huber [Wed, 26 Jan 2011 18:14:38 +0000 (10:14 -0800)]
DO NOT MERGE: Linux sockets are odd, closing a socket descriptor does not abort pending recv/send calls.

Change-Id: Iaee1821257a25a5257d93c9f5ba3976748cad619
related-to-bug: 33628364439092

13 years agoam 0aa1017f: Prevent allocation overflows by corrupt NDEF records.
Martijn Coenen [Wed, 1 Jun 2011 16:51:15 +0000 (09:51 -0700)]
am 0aa1017f: Prevent allocation overflows by corrupt NDEF records.

* commit '0aa1017f9183bca752c95af72f73120e102ab2d3':
  Prevent allocation overflows by corrupt NDEF records.

13 years agoPrevent allocation overflows by corrupt NDEF records.
Martijn Coenen [Tue, 31 May 2011 23:03:26 +0000 (16:03 -0700)]
Prevent allocation overflows by corrupt NDEF records.

Basic sanity check for the length fields in NdefRecord; this prevents
malformed NdefRecords from crashing the vm and the entire NFC service
with it.

Bug: 4165324
Change-Id: I67b341d445d6647cb76cc24ea49afaf77de0610e

13 years agoam 1b755dea: Merge "Remove discoverable timeout handler. DO NOT MERGE" into gingerbread
Jaikumar Ganesh [Fri, 27 May 2011 20:46:50 +0000 (13:46 -0700)]
am 1b755dea: Merge "Remove discoverable timeout handler. DO NOT MERGE" into gingerbread

* commit '1b755dea38cc428a4adb8b8954bbafaa9c0441fb':
  Remove discoverable timeout handler. DO NOT MERGE

13 years agoMerge "Remove discoverable timeout handler. DO NOT MERGE" into gingerbread
Jaikumar Ganesh [Fri, 27 May 2011 20:28:28 +0000 (13:28 -0700)]
Merge "Remove discoverable timeout handler. DO NOT MERGE" into gingerbread

13 years agoRemove discoverable timeout handler. DO NOT MERGE
Jaikumar Ganesh [Tue, 1 Feb 2011 22:12:24 +0000 (14:12 -0800)]
Remove discoverable timeout handler. DO NOT MERGE

This is leftover code from bluez3 days. We get a property change
in Bluez4 and an intent is sent.

Change-Id: I94c57cdebe4a990846a0733a9a71cabc820419e4

13 years agoam 94260caf: Allow control over search order for tethering upstream interface selection
TK MUN [Wed, 25 May 2011 17:42:07 +0000 (10:42 -0700)]
am 94260caf: Allow control over search order for tethering upstream interface selection

* commit '94260caf2fb3f5dbf6e17b29a269b46ea05f8680':
  Allow control over search order for tethering upstream interface selection

13 years agoAllow control over search order for tethering upstream interface selection
TK MUN [Wed, 18 May 2011 09:30:48 +0000 (18:30 +0900)]
Allow control over search order for tethering upstream interface selection

Change-Id: If02c9b2bb61b68ebafafadc23ba17a332bc8004f
Signed-off-by: TK MUN <tk.mun@samsung.com>