OSDN Git Service

android-x86/frameworks-base.git
15 years agoAI 147317: am: CL 147314 change carousel SDK to 1.5;
Scott Main [Wed, 22 Apr 2009 20:27:42 +0000 (13:27 -0700)]
AI 147317: am: CL 147314 change carousel SDK to 1.5;
  revise Google IO info
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147317

15 years agoAI 147313: am: CL 147311 update eclipse docs to include necessary AVD procedures and
Scott Main [Wed, 22 Apr 2009 20:24:58 +0000 (13:24 -0700)]
AI 147313: am: CL 147311 update eclipse docs to include necessary AVD procedures and
  discuss relevant target facilities
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147313

15 years agoAI 147308: am: CL 147306 re-write the Developing in Other IDEs doc with updated infor...
Scott Main [Wed, 22 Apr 2009 20:22:17 +0000 (13:22 -0700)]
AI 147308: am: CL 147306 re-write the Developing in Other IDEs doc with updated information for 1.5
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147308

15 years agoAI 147303: am: CL 147297 Update Android 1.5 SDK Download, Release Notes, Version...
Dirk Dougherty [Wed, 22 Apr 2009 20:19:30 +0000 (13:19 -0700)]
AI 147303: am: CL 147297 Update Android 1.5 SDK Download, Release Notes, Version Notes, Highlights
  Please let me know if you have other "known issues", "resolved issues", or
  "highlights".
  Also, note that the installing and upgrading docs are being updated in
  a different CL, so the new version is not displayed on my staging server.
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147303

15 years agoAI 147294: am: CL 147290 Update Geocoder javadoc to reflect the need for a backend...
Xavier Ducrohet [Wed, 22 Apr 2009 01:47:12 +0000 (18:47 -0700)]
AI 147294: am: CL 147290 Update Geocoder javadoc to reflect the need for a backend service.
  Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 147294

15 years agoAI 147253: am: CL 147250 Fix a nasty typo in the docs for ContentResolver.update...
Jeff Hamilton [Tue, 21 Apr 2009 22:13:18 +0000 (15:13 -0700)]
AI 147253: am: CL 147250 Fix a nasty typo in the docs for ContentResolver.update(). No code changes.
  Original author: jham
  Merged from: //branches/cupcake/...

Automated import of CL 147253

15 years agoAI 147239: am: CL 147238 Update tools index, replace activitycreator with android
Dirk Dougherty [Tue, 21 Apr 2009 22:00:34 +0000 (15:00 -0700)]
AI 147239: am: CL 147238 Update tools index, replace activitycreator with android
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147239

15 years agoAI 147230: am: CL 147228 Add API diff report to SDK docs (API Level 2 to 3)
Dirk Dougherty [Tue, 21 Apr 2009 21:54:32 +0000 (14:54 -0700)]
AI 147230: am: CL 147228 Add API diff report to SDK docs (API Level 2 to 3)
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147230

15 years agoAI 147224: am: CL 147219 update app-signing doc to include a guide to export a signed...
Scott Main [Tue, 21 Apr 2009 21:26:59 +0000 (14:26 -0700)]
AI 147224: am: CL 147219 update app-signing doc to include a guide to export a signed APK from ADT
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 147224

15 years agoAI 147214: am: CL 147211 Update emulator doc for new usage with avds.
Dirk Dougherty [Tue, 21 Apr 2009 21:14:23 +0000 (14:14 -0700)]
AI 147214: am: CL 147211 Update emulator doc for new usage with avds.
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147214

15 years agoAI 147168: am: CL 147163 Copy documentation for the various search-by-voice flags...
Andy Stadler [Tue, 21 Apr 2009 18:54:45 +0000 (11:54 -0700)]
AI 147168: am: CL 147163 Copy documentation for the various search-by-voice flags that
  were already listed in attrs.xml into SearchManager.java.  Add
  a (brief - no time for more) description about how to add search
  by voice to apps.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  Original author: stadler
  Merged from: //branches/cupcake/...

Automated import of CL 147168

15 years agoAI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
Andy Stadler [Tue, 21 Apr 2009 18:51:43 +0000 (11:51 -0700)]
AI 147167: am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
  InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  Original author: stadler
  Merged from: //branches/cupcake/...

Automated import of CL 147167

15 years agoAI 147083: am: CL 147081 Add document describing AVDs and usage. (doc change only)
Dirk Dougherty [Tue, 21 Apr 2009 08:05:41 +0000 (01:05 -0700)]
AI 147083: am: CL 147081 Add document describing AVDs and usage. (doc change only)
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147083

15 years agoAI 147054: am: CL 147053 Add -hdf primer vars for the platform and release ID associa...
Dirk Dougherty [Tue, 21 Apr 2009 08:00:12 +0000 (01:00 -0700)]
AI 147054: am: CL 147053 Add -hdf primer vars for the platform and release ID associated with the current (most recent) SDK.
  Currently, the docs that are specific to each SDK release -- downloading, installing, upgrading, requirements -- are stored in a directory with release-derived name, such as "1.1_r1". This change lets documents use generic links to point into the most recent version specific docs, eg href="{@docRoot}sdk/{sdkCurrent}/installing.html" instead of href="{@docRoot}sdk/1.1_r1/installing.html".
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 147054

15 years agoAI 147035: am: CL 147032 Finalize JetPlayer javadoc.
Jean-Michel Trivi [Mon, 20 Apr 2009 23:30:18 +0000 (16:30 -0700)]
AI 147035: am: CL 147032 Finalize JetPlayer javadoc.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 147035

15 years agoAI 146938: am: CL 146937 Finalize AudioRecord javadoc.
Jean-Michel Trivi [Mon, 20 Apr 2009 17:45:23 +0000 (10:45 -0700)]
AI 146938: am: CL 146937 Finalize AudioRecord javadoc.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146938

15 years agoAI 146934: Make TI Wifi driver choice framework-independent - part 1
Dmitry Shmidt [Mon, 20 Apr 2009 16:48:54 +0000 (09:48 -0700)]
AI 146934: Make TI Wifi driver choice framework-independent - part 1
  BUG=1786365

Automated import of CL 146934

15 years agoAI 146853: Add kernel wakelock data to batteryinfo dump.
Evan Millar [Sat, 18 Apr 2009 19:26:32 +0000 (12:26 -0700)]
AI 146853: Add kernel wakelock data to batteryinfo dump.
  BUG=1755458

Automated import of CL 146853

15 years agoAI 146755: am: CL 146754 Fix some problems in the SoundPool docs and add additional...
Dave Sparks [Fri, 17 Apr 2009 18:48:25 +0000 (11:48 -0700)]
AI 146755: am: CL 146754 Fix some problems in the SoundPool docs and add additional text.
  Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146755

15 years agoAI 146752: am: CL 146751 Finalize AudioTrack javadoc.
Jean-Michel Trivi [Fri, 17 Apr 2009 18:45:30 +0000 (11:45 -0700)]
AI 146752: am: CL 146751 Finalize AudioTrack javadoc.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 146752

15 years agoAI 146743: am: CL 146711 Enhancing the test runner. Now it filters BrokenTests and...
Urs Grob [Fri, 17 Apr 2009 18:30:14 +0000 (11:30 -0700)]
AI 146743: am: CL 146711 Enhancing the test runner. Now it filters BrokenTests and only executes tests
  annotated with SideEffect if the host is running in single test mode.
  Also adding some cleanup mechanism and some logcat logging about memory consumption
  Original author: ursg
  Merged from: //branches/cupcake/...

Automated import of CL 146743

15 years agoAI 146668: am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4...
Dave Sparks [Fri, 17 Apr 2009 02:54:16 +0000 (19:54 -0700)]
AI 146668: am: CL 146667 Add advice in MediaRecorder Java docs about using MPEG-4 container format
  Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146668

15 years agoAI 146655: am: CL 146654 Add java docs for SoundPool
Dave Sparks [Fri, 17 Apr 2009 00:50:27 +0000 (17:50 -0700)]
AI 146655: am: CL 146654 Add java docs for SoundPool
  Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 146655

15 years agoAI 146613: Move Recognition service declarations to frameworks/base/core/java/android...
Brandon Ballinger [Thu, 16 Apr 2009 21:31:48 +0000 (14:31 -0700)]
AI 146613: Move Recognition service declarations to frameworks/base/core/java/android/speech. Hide them from public API by default (no changes to current.xml).

Automated import of CL 146613

15 years agoAI 146610: am: CL 146609 updates to the manifest docs for cupcake: Add "since" notati...
Dirk Dougherty [Thu, 16 Apr 2009 21:28:14 +0000 (14:28 -0700)]
AI 146610: am: CL 146609 updates to the manifest docs for cupcake: Add "since" notations for elements and some attributes.
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146610

15 years agoAI 146602: am: CL 146601 Update media formats appendix for cupcake
Dirk Dougherty [Thu, 16 Apr 2009 20:34:12 +0000 (13:34 -0700)]
AI 146602: am: CL 146601 Update media formats appendix for cupcake
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146602

15 years agoAI 146485: am: CL 146411 Fix BridgeCanvas#drawRoundRect
Xavier Ducrohet [Thu, 16 Apr 2009 19:44:37 +0000 (12:44 -0700)]
AI 146485: am: CL 146411 Fix BridgeCanvas#drawRoundRect
  Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146485

15 years agoAI 146345: am: CL 146341 g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018...
Dirk Dougherty [Wed, 15 Apr 2009 18:33:48 +0000 (11:33 -0700)]
AI 146345: am: CL 146341 g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018 (doc change)
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146345

15 years agoAI 146343: am: CL 146340 Integrate updated SDK Terms and Conditions document
Dirk Dougherty [Wed, 15 Apr 2009 18:30:46 +0000 (11:30 -0700)]
AI 146343: am: CL 146340 Integrate updated SDK Terms and Conditions document
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 146343

15 years agoAI 146255: am: CL 146254 clarification for the minSdkVersion attribute;
Scott Main [Wed, 15 Apr 2009 00:21:49 +0000 (17:21 -0700)]
AI 146255: am: CL 146254 clarification for the minSdkVersion attribute;
  added more information to the <uses-sdk> reference,
  added a link to it from the <manifes> reference, and
  revised some misleading information in the android 1.1 version notes
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 146255

15 years agoAI 146251: am: CL 146242 fix the package namespace in the examples;
Scott Main [Wed, 15 Apr 2009 00:00:51 +0000 (17:00 -0700)]
AI 146251: am: CL 146242 fix the package namespace in the examples;
  delete the old hello-android file
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 146251

15 years agoAI 146246: am: CL 146225 Work around initialization issue with InstrumentationTest...
Guang Zhu [Tue, 14 Apr 2009 23:45:47 +0000 (16:45 -0700)]
AI 146246: am: CL 146225 Work around initialization issue with InstrumentationTest Runner. super.onCreate needs to be called as last statement in subclass' onCreate to avoid starting test case too early.
  Original author: guangzhu
  Merged from: //branches/cupcake/...

Automated import of CL 146246

15 years agoAI 146145: am: CL 146144 Set default map location for Ireland and South Africa
Ramanan Rajeswaran [Tue, 14 Apr 2009 17:41:57 +0000 (10:41 -0700)]
AI 146145: am: CL 146144 Set default map location for Ireland and South Africa
  Original author: ramanan
  Merged from: //branches/cupcake/...

Automated import of CL 146145

15 years agoAI 146129: am: CL 146127 Increase zoom level for NZ default maps location
Ramanan Rajeswaran [Tue, 14 Apr 2009 16:47:42 +0000 (09:47 -0700)]
AI 146129: am: CL 146127 Increase zoom level for NZ default maps location
  Original author: ramanan
  Merged from: //branches/cupcake/...

Automated import of CL 146129

15 years agoAI 146124: am: CL 146123 Change Belfast to Dublin
Ramanan Rajeswaran [Tue, 14 Apr 2009 16:33:40 +0000 (09:33 -0700)]
AI 146124: am: CL 146123 Change Belfast to Dublin
  Original author: ramanan
  Merged from: //branches/cupcake/...

Automated import of CL 146124

15 years agoAI 146029: am: CL 146028 update hello world tutorial for cupcake, including various...
Scott Main [Tue, 14 Apr 2009 01:46:08 +0000 (18:46 -0700)]
AI 146029: am: CL 146028 update hello world tutorial for cupcake, including various other edits.
  Original author: smain
  Merged from: //branches/cupcake/...

Automated import of CL 146029

15 years agoAI 145995: am: CL 145993 Fix Phone-oriented default-locale selection.
Robert Greenwalt [Tue, 14 Apr 2009 01:35:04 +0000 (18:35 -0700)]
AI 145995: am: CL 145993 Fix Phone-oriented default-locale selection.
  When several locales for a given language are available we were always
  selecting the first.
  Original author: rgreenwalt
  Merged from: //branches/cupcake/...

Automated import of CL 145995

15 years agoAI 145981: am: CL 145892 Add Ireland, Switzerland, New Zealand, South Africa to MccTable
Ramanan Rajeswaran [Tue, 14 Apr 2009 01:15:39 +0000 (18:15 -0700)]
AI 145981: am: CL 145892 Add Ireland, Switzerland, New Zealand, South Africa to MccTable
  Original author: ramanan
  Merged from: //branches/cupcake/...

Automated import of CL 145981

15 years agoAI 145980: am: CL 145881 Adding on to CL 145383, unhiding some additional methods...
Eric Shienbrood [Tue, 14 Apr 2009 01:12:47 +0000 (18:12 -0700)]
AI 145980: am: CL 145881 Adding on to CL 145383, unhiding some additional methods and constants
  that ought to be exposed. Hid and deprecated the single-arg public
  constructor for NetworkInfo, and modified a CTS test that was testing it.
  Ran the android.net test package to make sure it still works.
  Original author: ers
  Merged from: //branches/cupcake/...

Automated import of CL 145980

15 years agoAI 145971: am: CL 145757 Suppress the flaky tests
Yu Shan Emily Lau [Tue, 14 Apr 2009 00:47:37 +0000 (17:47 -0700)]
AI 145971: am: CL 145757 Suppress the flaky tests
  Original author: yslau
  Merged from: //branches/cupcake/...

Automated import of CL 145971

15 years agoAI 145970: am: CL 145743 Excise the "de" locale out of testResourceBundles(), leaving a
Dan Bornstein [Tue, 14 Apr 2009 00:44:49 +0000 (17:44 -0700)]
AI 145970: am: CL 145743 Excise the "de" locale out of testResourceBundles(), leaving a
  TODO and long comment about the situation.
  Original author: danfuzz
  Merged from: //branches/cupcake/...

Automated import of CL 145970

15 years agoAI 145971: am: CL 145757 Suppress the flaky tests
Yu Shan Emily Lau [Mon, 13 Apr 2009 23:08:09 +0000 (16:08 -0700)]
AI 145971: am: CL 145757 Suppress the flaky tests
  Original author: yslau
  Merged from: //branches/cupcake/...

Automated import of CL 145971

15 years agoAI 145970: am: CL 145743 Excise the "de" locale out of testResourceBundles(), leaving a
Dan Bornstein [Mon, 13 Apr 2009 23:05:22 +0000 (16:05 -0700)]
AI 145970: am: CL 145743 Excise the "de" locale out of testResourceBundles(), leaving a
  TODO and long comment about the situation.
  Original author: danfuzz
  Merged from: //branches/cupcake/...

Automated import of CL 145970

15 years agoAI 145969: am: CL 145735 Suppress the flaky DatabaseLockTest
Brett Chabot [Mon, 13 Apr 2009 23:01:56 +0000 (16:01 -0700)]
AI 145969: am: CL 145735 Suppress the flaky DatabaseLockTest
  Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 145969

15 years agoAI 145920: Don't filter out IPv6 multicast packets.
Lorenzo Colitti [Mon, 13 Apr 2009 20:52:55 +0000 (13:52 -0700)]
AI 145920: Don't filter out IPv6 multicast packets.

Automated import of CL 145920

15 years agoAI 145860: am: CL 145568 Hide setStarted() from public API.
Jeffrey Sharkey [Mon, 13 Apr 2009 15:55:24 +0000 (08:55 -0700)]
AI 145860: am: CL 145568 Hide setStarted() from public API.
  It should be renamed to something more meaninful before being exposed.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 145860

15 years agoAI 145859: am: CL 145561 Fix issue #1710534 (documentation doesn't mention that activ...
Dianne Hackborn [Mon, 13 Apr 2009 15:52:45 +0000 (08:52 -0700)]
AI 145859: am: CL 145561 Fix issue #1710534 (documentation doesn't mention that activity resolver (and others) handle MIME types as case-sensitive).
  Original author: hackbod
  Merged from: //branches/cupcake/...

Automated import of CL 145859

15 years agoAI 145858: am: CL 145559 Cleanup for early-look SDK.
Dirk Dougherty [Mon, 13 Apr 2009 15:50:07 +0000 (08:50 -0700)]
AI 145858: am: CL 145559 Cleanup for early-look SDK.
  Original author: ddougherty
  Merged from: //branches/cupcake/...

Automated import of CL 145858

15 years agoAI 145778: Manual merge changes 145382-145384 from cupcake.
Andy Stadler [Fri, 10 Apr 2009 23:24:47 +0000 (16:24 -0700)]
AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778

15 years agoAI 145602: am: CL 145255 Further work on correcting the misspelling of RENDERMODE_CON...
Jack Palevich [Fri, 10 Apr 2009 01:46:38 +0000 (18:46 -0700)]
AI 145602: am: CL 145255 Further work on correcting the misspelling of RENDERMODE_CONTUOUSLY
  --> RENDERMODE_CONTINUOUSLY. This time we update the spelling
  in the list of APIs in SDK release 3. (Which hasn't actually been
  released yet, so it's OK to do this.)
  Original author: jackpal
  Merged from: //branches/cupcake/...

Automated import of CL 145602

15 years agoAI 145590: Manually merge change 145250 from cupcake.
Jack Palevich [Fri, 10 Apr 2009 01:03:18 +0000 (18:03 -0700)]
AI 145590: Manually merge change 145250 from cupcake.
  Update API for GLSurfaceView to account for correcting the spelling of a
  constant RENDER_CONTINUOUSLY. (This constant is new to Cupcake, so this is not
  a breaking API change.)
  BUG=1766678

Automated import of CL 145590

15 years agoAI 145526: am: CL 145249 Correct misspelling of constant RENDERMODE_CONTUOUSLY -...
Jack Palevich [Thu, 9 Apr 2009 22:00:37 +0000 (15:00 -0700)]
AI 145526: am: CL 145249 Correct misspelling of constant RENDERMODE_CONTUOUSLY --> RENDERMODE_CONTINUOUSLY
  Original author: jackpal
  Merged from: //branches/cupcake/...

Automated import of CL 145526

15 years agoAI 145523: am: CL 145244 Fully document GLSurfaceView and related classes.
Jack Palevich [Thu, 9 Apr 2009 21:51:25 +0000 (14:51 -0700)]
AI 145523: am: CL 145244 Fully document GLSurfaceView and related classes.
  Original author: jackpal
  Merged from: //branches/cupcake/...

Automated import of CL 145523

15 years agoAI 145493: am: CL 145214 Update cupcake translations.
Eric Fischer [Thu, 9 Apr 2009 21:32:41 +0000 (14:32 -0700)]
AI 145493: am: CL 145214 Update cupcake translations.
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 145493

15 years agoAI 145201: Hold wakelock while delaying for audio route switch after headset unplug.
Nick Pelly [Wed, 8 Apr 2009 22:09:15 +0000 (15:09 -0700)]
AI 145201: Hold wakelock while delaying for audio route switch after headset unplug.
  Fixes bug where we go to sleep before switching audio, and we lose audio until the apps CPU wakes up again.
  BUG=1774615

Automated import of CL 145201

15 years agoAI 145188: Fixes #1580949. Compress text when marquee is enabled but the text is...
Romain Guy [Wed, 8 Apr 2009 21:22:40 +0000 (14:22 -0700)]
AI 145188: Fixes #1580949. Compress text when marquee is enabled but the text is too big by only a few percent of the TextView's width.
  BUG=1580949

Automated import of CL 145188

15 years agoAI 144928: Make the uphill discarding ops functionality controllable via a Gservices...
Cynthia Wong [Wed, 8 Apr 2009 00:24:14 +0000 (17:24 -0700)]
AI 144928: Make the uphill discarding ops functionality controllable via a Gservices flag
  BUG=1725022

Automated import of CL 144928

15 years agoAI 144912: Merge from cupcake:
Eric Fischer [Tue, 7 Apr 2009 20:55:05 +0000 (13:55 -0700)]
AI 144912: Merge from cupcake:
  Change 144891 on 2009/04/07 by enf@ebcdic
  Import a bunch of revised translations.

Automated import of CL 144912

15 years agoAI 144740: am: CL 144739 More notification sounds
Dave Sparks [Tue, 7 Apr 2009 01:39:04 +0000 (18:39 -0700)]
AI 144740: am: CL 144739 More notification sounds
  Original author: davidsparks
  Merged from: //branches/cupcake/...

Automated import of CL 144740

15 years agoAI 144705: Teleca patch from 03/27/2009, fixes some CDMA issues.
Wink Saville [Mon, 6 Apr 2009 22:20:45 +0000 (15:20 -0700)]
AI 144705: Teleca patch from 03/27/2009, fixes some CDMA issues.

Automated import of CL 144705

15 years agoAI 144688: Fix CDMA ril call sequence numbers.
Jaikumar Ganesh [Mon, 6 Apr 2009 20:39:53 +0000 (13:39 -0700)]
AI 144688: Fix CDMA ril call sequence numbers.
  RIL calls cannot have any gaps in their numbering. This was introduced
  by the CDMA code merge. This was partially fixed only in ril.h. We need
  to change the Constants file too.
  BUG=1765265

Automated import of CL 144688

15 years agoAI 144663: Use Binder interfaces between NetworkLocationManager and LocationManagerSe...
Mike Lockwood [Mon, 6 Apr 2009 17:51:26 +0000 (10:51 -0700)]
AI 144663: Use Binder interfaces between NetworkLocationManager and LocationManagerService.
  This fixes a hack that was added when NetworkLocationManager was moved out of the framework.
  This also lays the groundwork for supporting location providers outside of the system process.
  BUG=1729031

Automated import of CL 144663

15 years agoAI 144625: Remove unnecessary callback interface from INetworkLocationProvider.
Mike Lockwood [Mon, 6 Apr 2009 13:01:47 +0000 (06:01 -0700)]
AI 144625: Remove unnecessary callback interface from INetworkLocationProvider.
  BUG=1729031

Automated import of CL 144625

15 years agoAI 144620: Clean up interface between NetworkLocationProvider and LocationManagerServ...
Mike Lockwood [Mon, 6 Apr 2009 12:17:28 +0000 (05:17 -0700)]
AI 144620: Clean up interface between NetworkLocationProvider and LocationManagerService (part 1)
  Move broadcast receivers for wifi scan results and battery status
  from LocationManagerService to NetworkLocationProvider
  Add a Service for the NetworkLocationProvider, so we can install it from its
  own thread rather than from BOOT_COMPLETED or callback from LocationManagerService.
  (this Service was also required for receiving Intents in NetworkLocationProvider)
  BUG=1729031

Automated import of CL 144620

15 years agoAI 144599: Location Manager cleanup:
Mike Lockwood [Sun, 5 Apr 2009 21:50:22 +0000 (14:50 -0700)]
AI 144599: Location Manager cleanup:
  Move PhoneStateListener for listening to cell location changes from LocationManagerService
  to the NetworkLocationProvider.
  Move CellState class out of the core framework to the NetworkLocationProvider service.
  NetworkLocationManager now notifies the collector of its state, rather than LocationManagerService.
  BUG=1729031

Automated import of CL 144599

15 years agoAI 144593: Fix GSM cell location updates.
Mike Lockwood [Sun, 5 Apr 2009 21:15:41 +0000 (14:15 -0700)]
AI 144593: Fix GSM cell location updates.
  BUG=1761611

Automated import of CL 144593

15 years agoAI 144562: First pass at #1580949. Changes the marquee animation to make it less...
Romain Guy [Sat, 4 Apr 2009 00:37:18 +0000 (17:37 -0700)]
AI 144562: First pass at #1580949. Changes the marquee animation to make it less weird and jarring when the text overflows by a few pixels only. The next change will take care of compressing the text when the text is longer than the TextView by only a few % of its width.
  BUG=1580949

Automated import of CL 144562

15 years agoAI 144547: Fix change 144342 by making it active only during overlay processing.
Robert Greenwalt [Fri, 3 Apr 2009 23:44:30 +0000 (16:44 -0700)]
AI 144547: Fix change 144342 by making it active only during overlay processing.
  BUG=1754390

Automated import of CL 144547

15 years agoAI 144459: Add "tty" to the status bar to fix the StatusBarService.
Mike Lockwood [Fri, 3 Apr 2009 16:46:32 +0000 (09:46 -0700)]
AI 144459: Add "tty" to the status bar to fix the StatusBarService.
  BUG=1761602

Automated import of CL 144459

15 years agoAI 144452: More Location Manager cleanup:
Mike Lockwood [Fri, 3 Apr 2009 15:24:43 +0000 (08:24 -0700)]
AI 144452: More Location Manager cleanup:
  Remove 1 Hz "heartbeat" polling of location providers from LocationManagerService.
  Now location providers report their location to LocationManagerService via
  LocationManager.setLocation() rather than waiting to be polled.
  This reduces GPS fix latency by up to one second.
  Remove LocationProvderImpl.getLocation().
  Since we are no longer polling, this method is no longer necessary.
  BUG=1729031

Automated import of CL 144452

15 years agoAI 144379: Make checkin batteryinfo dump more terse
Evan Millar [Fri, 3 Apr 2009 05:16:12 +0000 (22:16 -0700)]
AI 144379: Make checkin batteryinfo dump more terse
  BUG=1755458

Automated import of CL 144379

15 years agoAI 144372: Cleanup Settings support for enabling and disabling location providers:
Mike Lockwood [Fri, 3 Apr 2009 04:41:57 +0000 (21:41 -0700)]
AI 144372: Cleanup Settings support for enabling and disabling location providers:
  LocationManagerService now listens for changes to settings,
  making LocationManager.updateProviders() unnecessary.
  Removed LocationManager.updateProviders()
  Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
  of enabling or disabling a single location provider.
  This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
  BUG=1729031

Automated import of CL 144372

15 years agoAI 144347: Reimport es_US translations in an attempt to fix the build.
Eric Fischer [Fri, 3 Apr 2009 00:15:43 +0000 (17:15 -0700)]
AI 144347: Reimport es_US translations in an attempt to fix the build.

Automated import of CL 144347

15 years agoAI 144342: Fix bag (string-array,etc) behavior with overlays.
Robert Greenwalt [Thu, 2 Apr 2009 23:55:50 +0000 (16:55 -0700)]
AI 144342: Fix bag (string-array,etc) behavior with overlays.
  We used to replace elements in the default with elements from
  the overlay.  This change causes us to empty the array first
  so if the overlay array is smaller we don't end up with elements
  from the default array showing through at the end of the array.
  Ex: [A,B,C] and overlay [D] should give [D] but used to give
  [D,B,C].
  BUG=1754390

Automated import of CL 144342

15 years agoAI 144336: am: CL 144335 Import US Spanish translations, and a few Japanese changes.
Eric Fischer [Thu, 2 Apr 2009 23:42:13 +0000 (16:42 -0700)]
AI 144336: am: CL 144335 Import US Spanish translations, and a few Japanese changes.
  Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 144336

15 years agoAI 144333: Change the way the battery level tracking code works in BatteryStats....
Evan Millar [Thu, 2 Apr 2009 23:36:33 +0000 (16:36 -0700)]
AI 144333: Change the way the battery level tracking code works in BatteryStats. Before we simply kept track of the last
  2 levels as recorded at plug and unplug events. During charge cycles this would be useful because it would tell us
  what the start and end levels were in the last discharge cycle. However during a discharge cycle this information could
  be misleading as it would give you the level at the last unplug event (beginning the the discharge cycle) and last plug
  event (end of the previous discharge cycle).
  Now we are still keeping track of 2 values, but they are "discharge cycle start level" and "discharge cycle current level".
  During a discharge cycle this will give you the level the current discharge cycle started at, and the current level. During
  a charge cycle the same data will be supplied as before (the start/end of the last discharge cycle).
  B=144249

Automated import of CL 144333

15 years agoAI 144327: am: CL 144326 Start the thread that initializes the camera for the test...
Jean-Michel Trivi [Thu, 2 Apr 2009 23:14:14 +0000 (16:14 -0700)]
AI 144327: am: CL 144326 Start the thread that initializes the camera for the test under lock to make sure the monitor is notified after it has started waiting.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...

Automated import of CL 144327

15 years agoAI 144314: am: CL 144313 Add two test cases for AudioTrack.java
Xia Wang [Thu, 2 Apr 2009 22:23:44 +0000 (15:23 -0700)]
AI 144314: am: CL 144313 Add two test cases for AudioTrack.java
  getMinBufferSize() returns ERROR_BAD_VALUE if
  sampleRateInHz < 4000 or > 48000.
  Original author: xiaw
  Merged from: //branches/cupcake/...

Automated import of CL 144314

15 years agoAI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software...
Suchi Amalapurapu [Thu, 2 Apr 2009 22:20:29 +0000 (15:20 -0700)]
AI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software libraries, gadgets
  Add new attributes for sdk version, software libs and gadgets
  BUG = 1730924
  Original author: asuchitra
  Merged from: //branches/cupcake/...

Automated import of CL 144309

15 years agoAI 144307: am: CL 144306 Fix SDK issue 1716562 - Broadcast mechanism documentation...
Chris Tate [Thu, 2 Apr 2009 22:01:22 +0000 (15:01 -0700)]
AI 144307: am: CL 144306 Fix SDK issue 1716562 - Broadcast mechanism documentation should be improved.
  Original author: ctate
  Merged from: //branches/cupcake/...

Automated import of CL 144307

15 years agoAI 144282: Tweak this tool to work with the current directory structure.
Jack Palevich [Thu, 2 Apr 2009 20:38:26 +0000 (13:38 -0700)]
AI 144282: Tweak this tool to work with the current directory structure.
  Also leave the "generated" directory around if it contains files that
  need to be checked in.

Automated import of CL 144282

15 years agoAI 144257: am: CL 144256 Need to show opt-in screen for location collection.
Amith Yamasani [Thu, 2 Apr 2009 18:40:25 +0000 (11:40 -0700)]
AI 144257: am: CL 144256 Need to show opt-in screen for location collection.
  Added a screen to the setup wizard, after login, to ask user to
  opt-in for location collection.
  Added a dialog to Settings when user turns on Network location.
  Fixed a security permission issue in LocationManagerService related
  to this change.
  Original author: yamasani
  Merged from: //branches/cupcake/...

Automated import of CL 144257

15 years agoAI 144241: Stop polling dbus.
Robert Greenwalt [Thu, 2 Apr 2009 16:53:35 +0000 (09:53 -0700)]
AI 144241: Stop polling dbus.
  BUG=1244263

Automated import of CL 144241

15 years agoAI 144221: Fix typo in Javadoc
Mike Lockwood [Thu, 2 Apr 2009 12:27:16 +0000 (05:27 -0700)]
AI 144221: Fix typo in Javadoc

Automated import of CL 144221

15 years agoAI 144185: Integrate cdma into the main code base.
Wink Saville [Thu, 2 Apr 2009 08:37:02 +0000 (01:37 -0700)]
AI 144185: Integrate cdma into the main code base.

Automated import of CL 144185

15 years agoAI 144182: am: CL 144181 Modify ProgressDialog class and its xml so that it follows the
Daisuke Miyakawa [Thu, 2 Apr 2009 08:34:15 +0000 (01:34 -0700)]
AI 144182: am: CL 144181 Modify ProgressDialog class and its xml so that it follows the
  Android's UI guide line. This modification is based on leland's mock.
  See http://b/issue?id=1748136 for more information.
  Put ProgressNumber left side, next to ProgressPercentage.
  Make ProgressPercentage Bold.
  Put ProgressNumber and ProgressPercentage near to the ProgressBar
  above. This is same as the design of Market application.
  Enable ProgressDialog change the ProgressNumber format. This is hidden
  since the interface is premature.
  Original author: dmiyakawa
  Merged from: //branches/cupcake/...

Automated import of CL 144182

15 years agoAI 144176: To fix the race condition in case "requestCancelDecode"
Ray Chen [Thu, 2 Apr 2009 08:31:49 +0000 (01:31 -0700)]
AI 144176: To fix the race condition in case "requestCancelDecode"
  happens earlier than AutoDecoderCancel object is added
  to the gAutoDecoderCancelMutex linked list.
  BUG=1692286

Automated import of CL 144176

15 years agoAI 144151: am: CL 144150 Fix heap corruption.
Nick Pelly [Thu, 2 Apr 2009 08:21:13 +0000 (01:21 -0700)]
AI 144151: am: CL 144150 Fix heap corruption.
  Take mutex in close(), and skip write path after turning bluetooth off.
  Original author: npelly
  Merged from: //branches/cupcake/...

Automated import of CL 144151

15 years agoAI 144135: am: CL 144134 Fix issue 1750132 - SensorManager listener 'rate' parameter...
Chris Tate [Wed, 1 Apr 2009 23:01:18 +0000 (16:01 -0700)]
AI 144135: am: CL 144134 Fix issue 1750132 - SensorManager listener 'rate' parameter units are undocumented
  Original author: ctate
  Merged from: //branches/cupcake/...

Automated import of CL 144135

15 years agoAI 144098: am: CL 144093 Fix NPE in ActivityUnitTestCase.
Brett Chabot [Wed, 1 Apr 2009 22:15:33 +0000 (15:15 -0700)]
AI 144098: am: CL 144093 Fix NPE in ActivityUnitTestCase.
  Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 144098

15 years agoAI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid...
Eric Laurent [Wed, 1 Apr 2009 19:55:13 +0000 (12:55 -0700)]
AI 144054: am: CL 144053 Fix issue #1751242 A2DP playback fails first time: Invalid buffer size: minFrameCount 10240, frameCount 4800
  The problem comes from the fact that AudioSystem::getOutputFrameCount() calls getOutput() to retrieve the active output (A2DP or Hardware) before calling get_audio_flinger(). If it is the first time AudioSystem::getOutputFrameCount() is called in a given process, getOutput() will return a wrong value because gA2dpEnabled has not yet been updated by get_audio_flinger().
  The fix consists in calling get_audio_flinger() in getOutput() to be sure that gA2dpEnabled is valid when getOutput() reads it.
  Original author: elaurent
  Merged from: //branches/cupcake/...

Automated import of CL 144054

15 years agoAI 144044: First cut of tunneling HTTP requests over gtalk connection:
Doug Zongker [Wed, 1 Apr 2009 19:01:43 +0000 (12:01 -0700)]
AI 144044: First cut of tunneling HTTP requests over gtalk connection:
  - We define HttpRequest and HttpResponse protocol buffers.
  The RMQ mechanism is *not* used for these (though the
  messages define rmq id fields in case we want to start).
  - GTalkHttpClient will send an http request over the
  connection to MCS if:
  - gtalk_tunnel_http in gservices is turned on
  - the request destination is the android proxy
  - it can make a connection to gtalkservice
  The request falls back to using GoogleHttpClient if it can't
  be processed over the MCS connection.
  A few shortcuts are taken with cookie handling, but these
  are okay for the envisioned usage.

Automated import of CL 144044

15 years agoAI 144042: Fixes #1742109. Add a new API to ListView to return the list of checked...
Romain Guy [Wed, 1 Apr 2009 18:46:43 +0000 (11:46 -0700)]
AI 144042: Fixes #1742109. Add a new API to ListView to return the list of checked items ids.
  BUG=1742109

Automated import of CL 144042

15 years agoAI 144032: Added missing import to fix breakage caused by CL 144008.
Bjorn Bringert [Wed, 1 Apr 2009 18:13:07 +0000 (11:13 -0700)]
AI 144032: Added missing import to fix breakage caused by CL 144008.

Automated import of CL 144032

15 years agoAI 144013: Rename PoolFactory to Pools, to follow the java.util convention (Collectio...
Romain Guy [Wed, 1 Apr 2009 17:40:10 +0000 (10:40 -0700)]
AI 144013: Rename PoolFactory to Pools, to follow the java.util convention (Collections, Arrays.)

Automated import of CL 144013

15 years agoAI 144008: UriMatcher: Avoid repeated calls to Uri.getPathSegments()
Bjorn Bringert [Wed, 1 Apr 2009 17:27:37 +0000 (10:27 -0700)]
AI 144008: UriMatcher: Avoid repeated calls to Uri.getPathSegments()
  in UriMatcher.match().
  Before, every call to UriMatcher.match() called
  Uri.getPathSegments() N + 1 times,
  where N is the size of the list returned by
  Uri.getPathSegments(). Since some of the implementations
  of Uri.getPathSegments() are O(N), UriMatcher.match() was O(N^2).
  This CL fixes the problem by calling uri.getPathSegments() once in
  the beginning of match(). That should be safe since Uri is
  immutable.
  BUG=1751158

Automated import of CL 144008

15 years agoAI 144007: am: CL 144006 Set a real 3.xml, which is the current candidate cupcake...
Jean-Baptiste Queru [Wed, 1 Apr 2009 17:23:58 +0000 (10:23 -0700)]
AI 144007: am: CL 144006 Set a real 3.xml, which is the current candidate cupcake API.
  This allows work done in later codelines to have proper
  backward-compatibility checks.
  Original author: jbq
  Merged from: //branches/cupcake/...

Automated import of CL 144007

15 years agoAI 144002: am: CL 144001 Fix tiny bug in Rfc822Token.java
Tadashi Takaoka [Wed, 1 Apr 2009 16:53:52 +0000 (09:53 -0700)]
AI 144002: am: CL 144001 Fix tiny bug in Rfc822Token.java
  Original author: takaoka
  Merged from: //branches/cupcake/...

Automated import of CL 144002

15 years agoAI 143999: am: CL 143998 Fix #1750489. Call WebKit's setNetworkOnLine from WebCore...
Grace Kloba [Wed, 1 Apr 2009 16:44:18 +0000 (09:44 -0700)]
AI 143999: am: CL 143998 Fix #1750489. Call WebKit's setNetworkOnLine from WebCore thread instead of UI thread as WebKit is not thread safe.
  Using the same code pattern as the rest of the file:
  . throw IllegalStateException if BrowserFrame.sJavaBridge is null in pauseTimers/resumeTimers.
  . use (msg.arg1 == 1) to pass the boolean from WebView to WebViewCore as in CLEAR_CACHE
  Original author: klobag
  Merged from: //branches/cupcake/...

Automated import of CL 143999

15 years agoAI 143908: am: CL 143907 Make search widget drop-down wider.
Jeffrey Sharkey [Wed, 1 Apr 2009 01:25:03 +0000 (18:25 -0700)]
AI 143908: am: CL 143907 Make search widget drop-down wider.
  Original author: jsharkey
  Merged from: //branches/cupcake/...

Automated import of CL 143908