OSDN Git Service
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
Eric Fischer [Wed, 30 Mar 2011 17:41:05 +0000 (10:41 -0700)]
Merge "Import revised translations. DO NOT MERGE" into gingerbread
Jason parks [Wed, 30 Mar 2011 15:17:53 +0000 (08:17 -0700)]
Merge "Send out a broadcast that the system is being factory reset." into gingerbread
Justin Ho [Tue, 29 Mar 2011 21:43:13 +0000 (14:43 -0700)]
Updated CDMA roaming icons
Change-Id: Ib455c2b7196c2c2add58422187e6d752a28364c6
Jean-Baptiste Queru [Tue, 29 Mar 2011 21:05:30 +0000 (14:05 -0700)]
No-op - reconcile with open-source gingerbread
Change-Id: I64beb8dfb6f175eb9a160f1145dad3dc323fc98e
Michael I. Gold [Thu, 23 Dec 2010 21:51:36 +0000 (13:51 -0800)]
egl: fixes for object refcounts
eglMakeCurrent() would only deref the previous surfaces if the old and
new contexts were the same. eglTerminate() should not touch TLS.
eglReleaseThread() needs to unbind the current context.
Change-Id: I7f4c090a287ee1e29e4708ae10679fb9d7d8c8c5
Related-Bug:
2964479
Robert Greenwalt [Tue, 29 Mar 2011 18:36:28 +0000 (11:36 -0700)]
Only leave one default network up at a time.
If original refuses to tear down, tear down new one. It's better
to have none (which will try to launch them all again) than two.
Really people shouldn't refuse the teardown request.
bug:
4183397
Change-Id: I54ea1bf0d2cd2ef16fcf2eafc69895ad2fe33ffd
Eric Fischer [Tue, 29 Mar 2011 17:54:11 +0000 (10:54 -0700)]
Import revised translations. DO NOT MERGE
Change-Id: I2d4afddb1ff99b9861647d479ef5ce2de49b684d
Robert Greenwalt [Sat, 26 Mar 2011 15:58:01 +0000 (08:58 -0700)]
Merge "Fix Default route after secondary net use." into gingerbread
Robert Greenwalt [Sat, 26 Mar 2011 15:32:25 +0000 (08:32 -0700)]
Fix Default route after secondary net use.
Backport of honeycomb-mr1 change 103299 adding a host route for the
default gateway before adding the default route.
Also fixing bug where "already active" condition of APN failed to
propagate the default gateway info, result in a loss of that address.
bug:
4175328
Change-Id: I4cf8605b259cf40c3631c7ce6cca4c75c1b22651
Jeff Hamilton [Fri, 25 Mar 2011 21:53:14 +0000 (14:53 -0700)]
Merge "Make STOP_APP_SWITCHES signatureOrSystem." into gingerbread
Jeff Hamilton [Fri, 25 Mar 2011 21:16:57 +0000 (16:16 -0500)]
Make STOP_APP_SWITCHES signatureOrSystem.
The NFC service relies on this permission
for it's dispatching mechanism and it is
no longer signed with the platform cert.
Bug:
4173610
Change-Id: I598ad2889c4af307f04433093923255fe7daedbb
Irfan Sheriff [Fri, 25 Mar 2011 18:01:02 +0000 (11:01 -0700)]
Merge "DO NOT MERGE Pick upstream intf with valid IP conf" into gingerbread
Irfan Sheriff [Mon, 17 Jan 2011 20:38:30 +0000 (12:38 -0800)]
DO NOT MERGE Pick upstream intf with valid IP conf
As a work around for the issue of picking
the wrong interface, add a check for selecting
an upstream interface that has a valid IP configuration
Bug:
3362306
Change-Id: I3e8ab5ef30b69f1adab755d83f5b65c078f73936
Robert Greenwalt [Fri, 25 Mar 2011 16:35:53 +0000 (09:35 -0700)]
Merge "Fix some alt-network issues." into gingerbread
Robert Greenwalt [Fri, 25 Mar 2011 04:41:41 +0000 (21:41 -0700)]
Fix some alt-network issues.
Two issues.
1) remove default routes for non-default networks.
2) don't report mobile is the active default network just because
it is active.
bug:
4157610
Change-Id: I9e7c94718a5b1f08840b219b304ba3904259a65f
Jeff Hamilton [Fri, 25 Mar 2011 02:39:58 +0000 (21:39 -0500)]
Update the value for the NFC shared UID.
Change-Id: Id25e1c9f0c074d17440838a9da7bf59619726832
Bart Sears [Thu, 24 Mar 2011 01:20:45 +0000 (18:20 -0700)]
Do Not Merge: Cherry-pick change I7667f9b8 to GingerBread
Update Droid Fonts
DroidSans-Bold.ttf
DroidSans.ttf
DroidSansMono.ttf
DroidSerif-Bold.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Italic.ttf
DroidSerif-Regular.ttf
- Fix the Tcedilla glyphs
DroidSansFallback
- Add Dingbat Symbols
- Add Currency Symbols
- Add International Phonetic Alphabet (IPA)
- Add U+02BB Modifier letter turned comma
- Add U+2011 Non-breaking hyphen
DroidSansArabic.ttf
- Updated Arabic font
- Added support for initial and medial forms of Persian (Farsi) yeh (glyphs U+FBFE and U+FBFF)
Bug:
4167128
Change-Id: Iec3e5b20c6dd54ff7cc5bef51dd5a05179d8d5a8
Huahui Wu [Tue, 22 Mar 2011 22:03:31 +0000 (15:03 -0700)]
DO NOT MERGE
b/
4088884 Backport "Remove content:// protocol handler in web browser"
to Gingerbread
It's a manual cherrypick of
https://android-git.corp.google.com/g/#change,87278
since a lot has been changed in bettween.
Change-Id: Ic8e3a419571f535bf983f32cd02181ca66d19319
Nick Pelly [Tue, 22 Mar 2011 16:52:55 +0000 (09:52 -0700)]
Merge "NfcAdapterExtras: reset singleton state if initialization fails." into gingerbread
Simon Wilson [Mon, 21 Mar 2011 23:58:41 +0000 (16:58 -0700)]
Merge "DO NOT MERGE Change WiMAX indicator display" into gingerbread
TK MUN [Fri, 18 Mar 2011 08:15:17 +0000 (17:15 +0900)]
DO NOT MERGE Change WiMAX indicator display
Change WiMAX indicator display from data to signal indication
and add a new icon set.
Change-Id: I610f186e07f3d7af9e64bcbdd750371164ac51f5
mike wakerly [Mon, 21 Mar 2011 23:51:06 +0000 (16:51 -0700)]
NfcAdapterExtras: reset singleton state if initialization fails.
Change-Id: I9c319925008070cc5ea93d5dd3941c9396072a8c
Fred Quintana [Mon, 21 Mar 2011 18:04:23 +0000 (11:04 -0700)]
Merge "remove the code that clears the passwords when the sim is replaced with a different one." into gingerbread
Mike Lockwood [Sat, 19 Mar 2011 16:03:46 +0000 (12:03 -0400)]
DO NOT MERGE: UsbService: Handle the case where a USB accessory connects as the device is booting
Bug:
4129297
Change-Id: I33963b0a667976d8100a60b27d66bfd0d57373e2
Signed-off-by: Mike Lockwood <lockwood@android.com>
Eric Fischer [Fri, 18 Mar 2011 22:22:05 +0000 (15:22 -0700)]
Merge "Import revised translations. DO NOT MERGE" into gingerbread
Eric Fischer [Fri, 18 Mar 2011 22:10:32 +0000 (15:10 -0700)]
Import revised translations. DO NOT MERGE
Change-Id: I48a01203c2db75bc6a1c6dc251264780d845443d
Valentin Kravtsov [Fri, 18 Mar 2011 15:49:51 +0000 (08:49 -0700)]
Merge "Fixing a race condition in RecognitionService" into gingerbread
Xia Wang [Thu, 17 Mar 2011 22:06:40 +0000 (15:06 -0700)]
Merge "Port wi-fi stress test into GB DO NOT MERGE" into gingerbread
Xavier Ducrohet [Thu, 17 Mar 2011 21:11:23 +0000 (14:11 -0700)]
Merge
67450db0 from honeycomb. Do not merge.
Change-Id: I0ca140dd6d9279ff313f930739ad40fbbed4f335
LayoutLib: TypedArray.getDimensionPixelSize can actually return <0
Mike Lockwood [Thu, 17 Mar 2011 18:08:01 +0000 (14:08 -0400)]
GPS: Restore XTRA downloading at boot.
Between Froyo and Gingerbread we disabled scheduling an XTRA data download
at boot because the Qualcomm engineers thought it should not be necessary.
However, some users noticed a GPS performance degradation after receiving
their Gingerbread update, and some reported forcing an XTRA download cleared
up the problem. This change restores the Froyo behavior of downloading
XTRA data after boot.
Bug:
3509901
Change-Id: I5a52201a2b24ce4a5d3ddb1f86340e3d5387f603
Signed-off-by: Mike Lockwood <lockwood@android.com>
Xia Wang [Thu, 10 Mar 2011 00:17:53 +0000 (16:17 -0800)]
Port wi-fi stress test into GB
DO NOT MERGE
Change-Id: Ia79ba42f956481b945e101ccfb66752915a6688d
Simon Wilson [Thu, 17 Mar 2011 02:51:07 +0000 (19:51 -0700)]
Merge "DO NOT MERGE Add images to ERI icon list" into gingerbread
sy310.choi [Wed, 16 Mar 2011 05:35:57 +0000 (14:35 +0900)]
DO NOT MERGE Add images to ERI icon list
Add images to 'sRoamingIndicatorImages_cdma' array.
Change-Id: Ie8fb8162219aa5e7140359daf1d64c92a3c0f769
Signed-off-by: sy310.choi <sy310.choi@samsung.com>
Mike Lockwood [Wed, 16 Mar 2011 18:10:03 +0000 (14:10 -0400)]
DO NOT MERGE: Improve message for the "no app for USB accessory" dialog.
Change-Id: I642a38d3e541b3d531eed1a00708f6864d8cab4c
Signed-off-by: Mike Lockwood <lockwood@android.com>
Jason parks [Mon, 14 Mar 2011 20:23:31 +0000 (15:23 -0500)]
Send out a broadcast that the system is being
factory reset.
Change-Id: I339b7ce58cb3f48316103be49b582d4f7e9b63bf
Dianne Hackborn [Tue, 15 Mar 2011 21:40:56 +0000 (14:40 -0700)]
Merge "Improve error reporting for issue #
3183612" into gingerbread
Dianne Hackborn [Tue, 15 Mar 2011 21:38:02 +0000 (14:38 -0700)]
Improve error reporting for issue #
3183612
java.lang.SecurityException: Neither user 1209 nor current process
has android.permission.WAKE_LOCK.
Change-Id: I465972ab91b007e04b2ac62550f78583956a4048
Mike Lockwood [Tue, 15 Mar 2011 21:04:54 +0000 (14:04 -0700)]
Merge "DO NOT MERGE: Backport more USB accessory changes from honeycomb" into gingerbread
Mike Lockwood [Tue, 15 Mar 2011 01:56:33 +0000 (21:56 -0400)]
DO NOT MERGE: Backport more USB accessory changes from honeycomb
Change-Id: I8459c5ab9fbf0b3cad752041484a5de44ca9badd
Signed-off-by: Mike Lockwood <lockwood@android.com>
Xavier Ducrohet [Mon, 14 Mar 2011 22:12:21 +0000 (15:12 -0700)]
Merge
9d76581f from honeycomb. do not merge.
LayoutLib: Fix Arc rendering.
Looks like Java2D and Skia go in different directions for angles.
Change-Id: I4d72db56455afe25b4f51f23a9b29d6c438119ba
Xavier Ducrohet [Tue, 8 Mar 2011 19:50:21 +0000 (11:50 -0800)]
Merge
adaa12cd from honeycomb. do not merge.
LayoutLib: fix Capabilities and getDimensionPixelSize
Commented out a Capability that is not in ADT 10.
BridgeTypedArray.getDimensionPixelSize shouldn't call
getDimension since most of the code is duplicated, and
it prevents use from properly detecting malformed attribute
values.
Change-Id: I008334af605a89f240247a13c0024009247ec5af
Xavier Ducrohet [Tue, 15 Mar 2011 18:29:16 +0000 (11:29 -0700)]
Merge "Merge
6f2fb570 from honeycomb. do not merge." into gingerbread
Xavier Ducrohet [Tue, 15 Mar 2011 18:29:07 +0000 (11:29 -0700)]
Merge "Merge
c12b4093 from honeycomb. do not merge." into gingerbread
Dianne Hackborn [Tue, 15 Mar 2011 17:29:04 +0000 (10:29 -0700)]
Merge "Add some debug code to try to track down issue
3183612" into gingerbread
Xavier Ducrohet [Tue, 8 Mar 2011 04:50:21 +0000 (20:50 -0800)]
Merge
6f2fb570 from honeycomb. do not merge.
LayoutLib: Fix dimension parsing to handle negative value.
Also make TypedArray.getDimensionPixelSize properly
handle negative values (which are not allowed).
Change-Id: I03ffcef5ab7ec7ef95419566776dcc798845fd88
Xavier Ducrohet [Tue, 8 Mar 2011 04:19:38 +0000 (20:19 -0800)]
Merge
c12b4093 from honeycomb. do not merge.
Change-Id: Icfbb70c097d87bf92415c6f0534346adde4c02fe
LayoutLib: Implement some missing add###() method in Path.
Dianne Hackborn [Mon, 14 Mar 2011 21:24:04 +0000 (14:24 -0700)]
Add some debug code to try to track down issue
3183612
java.lang.SecurityException: Neither user 1209 nor current process
has android.permission.WAKE_LOCK.
Change-Id: I3e84f8795941744e697824a5e5b2e651f565b253
Ying Wang [Mon, 14 Mar 2011 20:35:59 +0000 (13:35 -0700)]
Dist classes.jar with full class files inside
Instead of the final jar with classes.dex inside.
Change-Id: I2bc7eb6faedf328a93a6e2eacc4334d87761f597
Mike Lockwood [Mon, 14 Mar 2011 20:17:24 +0000 (13:17 -0700)]
Merge "DO NOT MERGE: backport recent USB accessory changes from honeycomb" into gingerbread
Simon Wilson [Mon, 14 Mar 2011 18:40:17 +0000 (11:40 -0700)]
Merge "DO NOT MERGE Support WiMAX Settings & ticker message" into gingerbread
TK MUN [Fri, 11 Mar 2011 23:59:43 +0000 (08:59 +0900)]
DO NOT MERGE Support WiMAX Settings & ticker message
Change to save UI setting value
Add new Icons for ticker message
Change-Id: I3294f40c9853311f74877e197675f48bf271d468
Daniel Sandler [Mon, 14 Mar 2011 18:37:12 +0000 (11:37 -0700)]
Merge "Workaround unknown ERI indices." into gingerbread
Daniel Sandler [Fri, 11 Mar 2011 14:25:36 +0000 (09:25 -0500)]
Workaround unknown ERI indices.
Bug:
4075878
Change-Id: I18b793ebccbd1332e3e153acca34056d26bf10a0
Gilles Debunne [Mon, 14 Mar 2011 18:30:17 +0000 (11:30 -0700)]
Merge "Double tap on a word no longer opens context menu. DO NOT MERGE" into gingerbread
Mike Lockwood [Sat, 12 Mar 2011 01:00:53 +0000 (20:00 -0500)]
DO NOT MERGE: backport recent USB accessory changes from honeycomb
Bug:
4082651
Change-Id: Ie7c2fc796dd3c64f803acbd14210e5949683f4ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
James Dong [Fri, 11 Mar 2011 21:38:02 +0000 (13:38 -0800)]
Merge "MP3Extractor and MP3 decoder fixes - DO NOT MERGE" into gingerbread
James Dong [Fri, 11 Mar 2011 19:02:17 +0000 (11:02 -0800)]
MP3Extractor and MP3 decoder fixes - DO NOT MERGE
cherry-picked the following patches from HC branch:
o PV's mp3 decoder mistreated inputBufferCurrentLength in unit of bytes as in unit of bits
o Do not enforce the rule in MP3Extractor that all audio frames in an mp3 file must have the same mode
o When the temp buffer wraps around, the next read position should start
from what have been read to avoid reading the same remaining bytes in
the buffer again.
o Speed up MP3Extractor using cached reads
bug -
4083532
Change-Id: I7bbd2bd358fd5ee322287866cb8ee0c2bb217fea
Ying Wang [Fri, 11 Mar 2011 18:17:49 +0000 (10:17 -0800)]
Merge "Dist com.android.nfc_extras.jar." into gingerbread
Robert Greenwalt [Fri, 11 Mar 2011 18:14:28 +0000 (10:14 -0800)]
Merge "DO NOT MERGE Backport of I1f55df8a from " into gingerbread
Ying Wang [Fri, 11 Mar 2011 02:04:54 +0000 (18:04 -0800)]
Dist com.android.nfc_extras.jar.
Change-Id: I409106d641a3a68ef1c6885b36d226411c8fe356
Robert Greenwalt [Fri, 11 Mar 2011 00:58:31 +0000 (16:58 -0800)]
DO NOT MERGE Backport of I1f55df8a from master.
Fixes false reporting of NO_CONNECTION.
bug:
4057115
Change-Id: Ie11e81180276ac3aa486607ec3a8eb1088b2ece6
Nick Pelly [Tue, 8 Mar 2011 19:43:30 +0000 (11:43 -0800)]
Implement new NFC-EE API's as shared library (frameworks/base).
Change-Id: I45c4eaf59ec78167fc236fdd59676465a5e1bcb7
Robert Greenwalt [Thu, 10 Mar 2011 18:41:36 +0000 (10:41 -0800)]
Merge "Don't accept a user-defined dun-capable connection" into gingerbread
TK MUN [Wed, 23 Feb 2011 09:55:55 +0000 (18:55 +0900)]
DO NOT MERGE WiMAX support
- In Connectivity service, start WiMAX service
- 4G icon display in StatusBarPolicy
- Add DHCP renew
- Add radio for WiMAX
Change-Id: Iffff012b270d80e84ec8fbd4486921a8adb847dd
Signed-off-by: TK MUN <tk.mun@samsung.com>
Mathias Agopian [Thu, 10 Mar 2011 01:07:27 +0000 (17:07 -0800)]
Merge "revert the surface purgatory list and dependent changes." into gingerbread
Mathias Agopian [Thu, 10 Mar 2011 00:13:31 +0000 (16:13 -0800)]
revert the surface purgatory list and dependent changes.
6d0f6cb Revert "Fix [
3513017] in lockscreen but showing empty launcher (live wallpaper) only"
6154412 Revert "partially fix [
3306150] HTML5 video with H/W acceleration blackout (DO NOT MERGE)"
37c2a37 fix [
3408713] Dialog window invisible sometimes
It looks like there is a surface leak, it's unclear where it is.
Without those reverts, this would cause a leak of the associated buffers
which is far more problematic. this change might hide the surface leak.
Bug:
4078032
Change-Id: Iedcda3ffcdd2f69d41047b5c3134c1e867ff90d7
Mathias Agopian [Thu, 10 Mar 2011 00:54:21 +0000 (16:54 -0800)]
Merge "fix [
3452750] Issue 14634: SensorManager.getRotationMatrixFromVector gets NaN-Values [external] [DO NOT MERGE]" into gingerbread
Mathias Agopian [Thu, 10 Mar 2011 00:54:14 +0000 (16:54 -0800)]
Merge "fix [
4026375] SensorManager quaternion functions can call sqrt with a negative number [DO NOT MERGE]" into gingerbread
Robert Greenwalt [Wed, 9 Mar 2011 23:08:15 +0000 (15:08 -0800)]
Don't accept a user-defined dun-capable connection
If we're asked to connect to a DUN APN and we have a carrier specified
DUN APN setting, verify what we're connected to is the same as what the
carrier specified before accepting it.
bug:
4048013
Change-Id: I91edc4a1342cb40c1f6959e149303b7d76710f96
Lorenzo Colitti [Fri, 4 Feb 2011 00:41:34 +0000 (16:41 -0800)]
Support IPv6->IPv4 fallback in HTTP streaming.
Bug:
4068057
Change-Id: I425f65a99eb9e0986d9e9c0e264c3c8f61fcfdbd
Lorenzo Colitti [Tue, 4 Jan 2011 00:10:34 +0000 (16:10 -0800)]
Support IPv6 in HTTP streaming.
Bug:
4068057
Change-Id: I1e141ec99fbfa43722eeb2e4161d56548ffc0640
Mathias Agopian [Tue, 8 Mar 2011 02:00:20 +0000 (18:00 -0800)]
Merge "Fix [
3513017] in lockscreen but showing empty launcher (live wallpaper) only" into gingerbread
Mathias Agopian [Tue, 15 Feb 2011 00:34:07 +0000 (16:34 -0800)]
fix [
3452750] Issue 14634: SensorManager.getRotationMatrixFromVector gets NaN-Values [external] [DO NOT MERGE]
make sure to not pass negative numbers to sqrt().
Change-Id: Ia31f7ebb7b75c79b548e428c6084fa55031617d0
related-bug:
3452750
Mathias Agopian [Tue, 8 Mar 2011 01:49:54 +0000 (17:49 -0800)]
fix [
4026375] SensorManager quaternion functions can call sqrt with a negative number [DO NOT MERGE]
Just make sure to clamp the argument to zero.
Bug:
4026375
Change-Id: Idd3d4ef977e87c1b3f6b54371105c3152d7dc6b9
Mathias Agopian [Thu, 10 Feb 2011 02:38:55 +0000 (18:38 -0800)]
Fix [
3513017] in lockscreen but showing empty launcher (live wallpaper) only
37c2a37 fix [
3408713] Dialog window invisible sometimes
d35c666 fix [
3385504] Surface flinger hang when adding dim surface
1723b04 fix [
3389263] OMX.Nvidia.h264.decode fails to shutdown
1b0114f fix a surface leak in SurfaceFlinger
Bug:
3513017
Change-Id: Ia13ed8c9cdcb1f484e177cdcaff687e7c88a10c3
Simon Wilson [Mon, 7 Mar 2011 23:39:19 +0000 (15:39 -0800)]
Merge "mms: mms wap push length check before pdu processing." into gingerbread
Soojung Shin [Mon, 7 Mar 2011 04:43:27 +0000 (20:43 -0800)]
mms: mms wap push length check before pdu processing.
Change-Id: Id5b5572bcd2953e496f03142d13bd2d012225e30
Signed-off-by: Soojung Shin <sj46.shin@samsung.com>
James Dong [Mon, 7 Mar 2011 22:48:58 +0000 (14:48 -0800)]
Add missing copyright headers for a couple of files. DO NOT MERGE
Cherry-picked from other branch...
bug -
4025673
Change-Id: I6fd1baaf5625297fb1e358de3a3a632a7f5deb90
Fred Quintana [Fri, 25 Feb 2011 18:39:20 +0000 (10:39 -0800)]
remove the code that clears the passwords when the sim
is replaced with a different one.
DO NOT MERGE
patched from honeycomb-mr1
Bug:
3404577
Change-Id: If11fc6be817ca1fa3dd5c085ff9696a1c5ea3a03
Soojung Shin [Wed, 2 Mar 2011 00:39:35 +0000 (09:39 +0900)]
Added to check for supporting mms content-disposition, utf8 decoding.
Change-Id: Ieae1bb2ac36675f569fb21285ca6ef289c367bf7
Signed-off-by: Soojung Shin <sj46.shin@samsung.com>
Lorenzo Colitti [Fri, 4 Mar 2011 01:04:07 +0000 (17:04 -0800)]
Merge "Add a protocol property to the APNs and use it." into gingerbread
Lorenzo Colitti [Fri, 4 Mar 2011 01:03:58 +0000 (17:03 -0800)]
Merge "Make setupDataCall take a protocol parameter." into gingerbread
Jeff Brown [Thu, 3 Mar 2011 22:42:14 +0000 (14:42 -0800)]
Merge "Only set KeyEvent long press flag when repeat count equals 1." into gingerbread
Mike Lockwood [Thu, 3 Mar 2011 05:53:39 +0000 (21:53 -0800)]
DO NOT MERGE: UsbManager: Don't display activity picker if there are no apps available for an accessory
Change-Id: I1aa578887e42aef375211eadece4c1fddaf234f8
Signed-off-by: Mike Lockwood <lockwood@android.com>
Jeff Brown [Thu, 3 Mar 2011 04:49:06 +0000 (20:49 -0800)]
Only set KeyEvent long press flag when repeat count equals 1.
This fixes a Gingerbread regression.
Bug:
3507021
Change-Id: Ia6030665b6a406332adc0ee0d8ee3cb735338c8e
Mike Lockwood [Thu, 3 Mar 2011 02:27:33 +0000 (18:27 -0800)]
Merge "DO NOT MERGE: UsbService: Make sure the USB accessory function is disabled when we disconnect" into gingerbread
Mike Lockwood [Thu, 3 Mar 2011 01:58:48 +0000 (17:58 -0800)]
DO NOT MERGE: UsbService: Make sure the USB accessory function is disabled when we disconnect
BUG:
3493041
Change-Id: I6aeb00a1d91d98a5a0aef4ed97ca5ba68daa24be
Signed-off-by: Mike Lockwood <lockwood@android.com>
Simon Wilson [Thu, 3 Mar 2011 02:03:52 +0000 (18:03 -0800)]
Merge "Attempt to reduce problems from issue #
3183612" into gingerbread
Mike Lockwood [Wed, 2 Mar 2011 06:55:51 +0000 (22:55 -0800)]
DO NOT MERGE: USB accessory support library
This provides a mechanism for developing applications to work with
USB accessories in versions of android prior to the introduction
of the android.hardware.UsbManager APIs.
Applications should link against the com.android.future.usb.accessory
library to use this support.
Change-Id: I0b61e20b63eec42c506f0895a0c9a439bdfdf7f5
Signed-off-by: Mike Lockwood <lockwood@android.com>
Valentin Kravtsov [Fri, 18 Feb 2011 12:57:59 +0000 (12:57 +0000)]
Fixing a race condition in RecognitionService
Bug #
3458256
If an error occurs and simultaneously user cancels the recognition, here is what happens:
1. dispatchCancel() is called since the user requested cancel. It passes the first "if" successfully.
private void dispatchCancel(IRecognitionListener listener) {
if (mCurrentCallback == null) {
if (DBG) Log.d(TAG, "cancel called with no preceding startListening - ignoring");
} else if (mCurrentCallback.mListener.asBinder() != listener.asBinder()) {
Log.w(TAG, "cancel called by client who did not call startListening - ignoring");
} else { // the correct state
RecognitionService.this.onCancel(mCurrentCallback);
mCurrentCallback = null;
if (DBG) Log.d(TAG, "canceling - setting mCurrentCallback to null");
}
}
2. Error occurs in the app, which sets the mCurrentCallback to null:
public void error(int error) throws RemoteException {
mCurrentCallback = null;
mListener.onError(error);
}
3. the second "if" is reached in dispatchCancel()
4. boom
Change-Id: I54cdcc98b495d820a2caead1709d8dee968c461e
Mike Lockwood [Tue, 1 Mar 2011 18:23:48 +0000 (10:23 -0800)]
DO NOT MERGE: Backport USB accessory support to gingerbread
Signed-off-by: Mike Lockwood <lockwood@android.com>
Costin Manolache [Tue, 1 Mar 2011 20:25:21 +0000 (12:25 -0800)]
Merge "DO NOT MERGE Backport (with modifications ) some changes from Honeycomb, that would allow authenticators to control caching and permissions." into gingerbread
Costin Manolache [Thu, 24 Feb 2011 18:28:47 +0000 (10:28 -0800)]
DO NOT MERGE
Backport (with modifications ) some changes from Honeycomb, that would allow authenticators to control caching and permissions.
This is backward compatible - both new and old authenticators will work with old and new framework,
but the functionality will only be present if both sides support it.
Change-Id: Ib2838cc2159f45264b38c844cd4c1d6f315d8064
Mike Lockwood [Mon, 28 Feb 2011 21:12:11 +0000 (13:12 -0800)]
Merge "UsbService: Remove stack-trace message during boot. DO NOT MERGE" into gingerbread
Mike Lockwood [Mon, 28 Feb 2011 21:12:03 +0000 (13:12 -0800)]
Merge "DO NOT MERGE: Clean up USB notifications:" into gingerbread
Mike Lockwood [Mon, 28 Feb 2011 21:11:55 +0000 (13:11 -0800)]
Merge "DO NOT MERGE UsbManager: squashed commit of:" into gingerbread
Mike Lockwood [Mon, 28 Feb 2011 21:11:37 +0000 (13:11 -0800)]
Merge "Give system server permission to access USB. DO NOT MERGE" into gingerbread
Xavier Ducrohet [Mon, 28 Feb 2011 20:24:01 +0000 (12:24 -0800)]
Merge "Merge
1911a6f7 into gingerbread. do not merge." into gingerbread
Lorenzo Colitti [Wed, 29 Dec 2010 17:55:29 +0000 (09:55 -0800)]
Add a protocol property to the APNs and use it.
1. Database changes:
- Add a protocol and a roaming_protocol column to the
carriers table in the telephony provider database.
- Set the protocol and roaming_protocol fields when
creating APN objects from the database.
2. ApnSetting class changes:
- Add protocol and roamingProtocol fields to the
ApnSetting class that encapsulates APN settings within
the framework.
- Add the fields to ApnSetting.toString and support a new
syntax containing the fields in ApnSetting.fromString.
- Add a unit test for ApnSetting.
3. Telephony changes:
- Specify the APN protocol when setting up a data call,
using protocol when not roaming and roaming_protocol
when roaming.
This change depends on #86896 in the telephony provider,
which adds the new column to the database schema on
upgrades.
Bug:
3333633
Change-Id: If3d9ed4c851d0192849df0d64581db03b066e052