OSDN Git Service

android-x86/frameworks-base.git
15 years agoAI 147250: Fix a nasty typo in the docs for ContentResolver.update(). No code changes.
Jeff Hamilton [Tue, 21 Apr 2009 22:12:16 +0000 (15:12 -0700)]
AI 147250: Fix a nasty typo in the docs for ContentResolver.update(). No code changes.
  BUG=1067866

Automated import of CL 147250

15 years agoAI 147238: Update tools index, replace activitycreator with android
Dirk Dougherty [Tue, 21 Apr 2009 22:00:26 +0000 (15:00 -0700)]
AI 147238: Update tools index, replace activitycreator with android
  BUG=1790234

Automated import of CL 147238

15 years agoAI 147228: Add API diff report to SDK docs (API Level 2 to 3)
Dirk Dougherty [Tue, 21 Apr 2009 21:51:13 +0000 (14:51 -0700)]
AI 147228: Add API diff report to SDK docs (API Level 2 to 3)
  BUG=1790234

Automated import of CL 147228

15 years agoAI 147219: update app-signing doc to include a guide to export a signed APK from ADT
Scott Main [Tue, 21 Apr 2009 21:23:52 +0000 (14:23 -0700)]
AI 147219: update app-signing doc to include a guide to export a signed APK from ADT
  BUG=1795149

Automated import of CL 147219

15 years agoAI 147211: Update emulator doc for new usage with avds.
Dirk Dougherty [Tue, 21 Apr 2009 21:11:32 +0000 (14:11 -0700)]
AI 147211: Update emulator doc for new usage with avds.
  BUG=1790234

Automated import of CL 147211

15 years agoAI 147163: Copy documentation for the various search-by-voice flags that
Andy Stadler [Tue, 21 Apr 2009 18:50:39 +0000 (11:50 -0700)]
AI 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.
  BUG=1554704

Automated import of CL 147163

15 years agoAI 147162: Emphasize in the javadoc that the "pkg" parameters to
Andy Stadler [Tue, 21 Apr 2009 18:48:54 +0000 (11:48 -0700)]
AI 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.
  BUG=1783981

Automated import of CL 147162

15 years agoAI 147081: Add document describing AVDs and usage. (doc change only)
Dirk Dougherty [Tue, 21 Apr 2009 04:53:32 +0000 (21:53 -0700)]
AI 147081: Add document describing AVDs and usage. (doc change only)
  BUG=1790234

Automated import of CL 147081

15 years agoAI 147053: Add -hdf primer vars for the platform and release ID associated with the...
Dirk Dougherty [Tue, 21 Apr 2009 00:54:52 +0000 (17:54 -0700)]
AI 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".
  BUG=1790234

Automated import of CL 147053

15 years agoAI 147032: Finalize JetPlayer javadoc.
Jean-Michel Trivi [Mon, 20 Apr 2009 23:29:19 +0000 (16:29 -0700)]
AI 147032: Finalize JetPlayer javadoc.
  BUG=1801229

Automated import of CL 147032

15 years agoAI 146937: Finalize AudioRecord javadoc.
Jean-Michel Trivi [Mon, 20 Apr 2009 17:45:02 +0000 (10:45 -0700)]
AI 146937: Finalize AudioRecord javadoc.
  BUG=1797606

Automated import of CL 146937

15 years agoAI 146754: Fix some problems in the SoundPool docs and add additional text.
Dave Sparks [Fri, 17 Apr 2009 18:29:35 +0000 (11:29 -0700)]
AI 146754: Fix some problems in the SoundPool docs and add additional text.
  BUG=1795461

Automated import of CL 146754

15 years agoAI 146751: Finalize AudioTrack javadoc.
Jean-Michel Trivi [Fri, 17 Apr 2009 18:22:35 +0000 (11:22 -0700)]
AI 146751: Finalize AudioTrack javadoc.
  BUG=1795799

Automated import of CL 146751

15 years agoAI 146711: Enhancing the test runner. Now it filters BrokenTests and only executes...
Urs Grob [Fri, 17 Apr 2009 09:09:00 +0000 (02:09 -0700)]
AI 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
  BUG=1789657

Automated import of CL 146711

15 years agoAI 146667: Add advice in MediaRecorder Java docs about using MPEG-4 container format
Dave Sparks [Fri, 17 Apr 2009 01:35:51 +0000 (18:35 -0700)]
AI 146667: Add advice in MediaRecorder Java docs about using MPEG-4 container format
  BUG=1753020

Automated import of CL 146667

15 years agoAI 146654: Add java docs for SoundPool
Dave Sparks [Fri, 17 Apr 2009 00:49:25 +0000 (17:49 -0700)]
AI 146654: Add java docs for SoundPool
  BUG=1795461

Automated import of CL 146654

15 years agoAI 146609: updates to the manifest docs for cupcake: Add "since" notations for elemen...
Dirk Dougherty [Thu, 16 Apr 2009 21:27:42 +0000 (14:27 -0700)]
AI 146609: updates to the manifest docs for cupcake: Add "since" notations for elements and some attributes.
  BUG=1790234

Automated import of CL 146609

15 years agoAI 146601: Update media formats appendix for cupcake
Dirk Dougherty [Thu, 16 Apr 2009 20:33:16 +0000 (13:33 -0700)]
AI 146601: Update media formats appendix for cupcake
  BUG=1792195

Automated import of CL 146601

15 years agoAI 146517: Import translation changes.
Eric Fischer [Thu, 16 Apr 2009 18:01:05 +0000 (11:01 -0700)]
AI 146517: Import translation changes.
  DO NOT MERGE

Automated import of CL 146517

15 years agoAI 146411: Fix BridgeCanvas#drawRoundRect
Xavier Ducrohet [Thu, 16 Apr 2009 05:30:00 +0000 (22:30 -0700)]
AI 146411: Fix BridgeCanvas#drawRoundRect
  BUG=1792311

Automated import of CL 146411

15 years agoAI 146365: Import revised translations.
Eric Fischer [Wed, 15 Apr 2009 20:30:18 +0000 (13:30 -0700)]
AI 146365: Import revised translations.
  DO NOT MERGE

Automated import of CL 146365

15 years agoAI 146341: g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018 (doc change)
Dirk Dougherty [Wed, 15 Apr 2009 18:29:53 +0000 (11:29 -0700)]
AI 146341: g4 integrate -t -i -b platform-1_0-to-cupcake @146018,146018 (doc change)
  BUG=1675368

Automated import of CL 146341

15 years agoAI 146340: Integrate updated SDK Terms and Conditions document
Dirk Dougherty [Wed, 15 Apr 2009 18:28:57 +0000 (11:28 -0700)]
AI 146340: Integrate updated SDK Terms and Conditions document

Automated import of CL 146340

15 years agoAI 146254: clarification for the minSdkVersion attribute;
Scott Main [Wed, 15 Apr 2009 00:19:13 +0000 (17:19 -0700)]
AI 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
  BUG=1788684

Automated import of CL 146254

15 years agoAI 146242: fix the package namespace in the examples;
Scott Main [Tue, 14 Apr 2009 23:29:14 +0000 (16:29 -0700)]
AI 146242: fix the package namespace in the examples;
  delete the old hello-android file
  BUG=1750212

Automated import of CL 146242

15 years agoAI 146225: Work around initialization issue with InstrumentationTest Runner. super...
Guang Zhu [Tue, 14 Apr 2009 22:49:35 +0000 (15:49 -0700)]
AI 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.

Automated import of CL 146225

15 years agoAI 146175: Import updated translations.
Eric Fischer [Tue, 14 Apr 2009 19:10:43 +0000 (12:10 -0700)]
AI 146175: Import updated translations.

Automated import of CL 146175

15 years agoAI 146144: Set default map location for Ireland and South Africa
Ramanan Rajeswaran [Tue, 14 Apr 2009 17:41:03 +0000 (10:41 -0700)]
AI 146144: Set default map location for Ireland and South Africa

Automated import of CL 146144

15 years agoAI 146127: Increase zoom level for NZ default maps location
Ramanan Rajeswaran [Tue, 14 Apr 2009 16:44:55 +0000 (09:44 -0700)]
AI 146127: Increase zoom level for NZ default maps location

Automated import of CL 146127

15 years agoAI 146123: Change Belfast to Dublin
Ramanan Rajeswaran [Tue, 14 Apr 2009 16:30:00 +0000 (09:30 -0700)]
AI 146123: Change Belfast to Dublin
  BUG=1788466

Automated import of CL 146123

15 years agoAI 146037: Import updated translations.
Eric Fischer [Tue, 14 Apr 2009 00:16:19 +0000 (17:16 -0700)]
AI 146037: Import updated translations.

Automated import of CL 146037

15 years agoAI 146028: update hello world tutorial for cupcake, including various other edits.
Scott Main [Tue, 14 Apr 2009 00:01:30 +0000 (17:01 -0700)]
AI 146028: update hello world tutorial for cupcake, including various other edits.
  BUG=1750212

Automated import of CL 146028

15 years agoAI 145993: Fix Phone-oriented default-locale selection.
Robert Greenwalt [Mon, 13 Apr 2009 23:11:29 +0000 (16:11 -0700)]
AI 145993: Fix Phone-oriented default-locale selection.
  When several locales for a given language are available we were always
  selecting the first.
  BUG=1785986

Automated import of CL 145993

15 years agoAI 145892: Add Ireland, Switzerland, New Zealand, South Africa to MccTable
Ramanan Rajeswaran [Mon, 13 Apr 2009 18:19:51 +0000 (11:19 -0700)]
AI 145892: Add Ireland, Switzerland, New Zealand, South Africa to MccTable
  BUG=1786030

Automated import of CL 145892

15 years agoAI 145881: Adding on to CL 145383, unhiding some additional methods and constants
Eric Shienbrood [Mon, 13 Apr 2009 17:41:56 +0000 (10:41 -0700)]
AI 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.
  BUG=1779439

Automated import of CL 145881

15 years agoAI 145782: Import updated translations.
Eric Fischer [Fri, 10 Apr 2009 23:38:00 +0000 (16:38 -0700)]
AI 145782: Import updated translations.
  DO NOT MERGE

Automated import of CL 145782

15 years agoAI 145757: Suppress the flaky tests
Yu Shan Emily Lau [Fri, 10 Apr 2009 22:28:26 +0000 (15:28 -0700)]
AI 145757: Suppress the flaky tests
  BUG=174601,1569749

Automated import of CL 145757

15 years agoAI 145743: Excise the "de" locale out of testResourceBundles(), leaving a
Dan Bornstein [Fri, 10 Apr 2009 21:55:08 +0000 (14:55 -0700)]
AI 145743: Excise the "de" locale out of testResourceBundles(), leaving a
  TODO and long comment about the situation.
  BUG=1746810

Automated import of CL 145743

15 years agoAI 145735: Suppress the flaky DatabaseLockTest
Brett Chabot [Fri, 10 Apr 2009 21:13:32 +0000 (14:13 -0700)]
AI 145735: Suppress the flaky DatabaseLockTest
  BUG=1777453

Automated import of CL 145735

15 years agoAI 145711: Import a few changed translations.
Eric Fischer [Fri, 10 Apr 2009 17:45:19 +0000 (10:45 -0700)]
AI 145711: Import a few changed translations.
  DO NOT MERGE

Automated import of CL 145711

15 years agoAI 145568: Hide setStarted() from public API.
Jeffrey Sharkey [Thu, 9 Apr 2009 23:53:25 +0000 (16:53 -0700)]
AI 145568: Hide setStarted() from public API.
  It should be renamed to something more meaninful before being exposed.
  BUG=1779168

Automated import of CL 145568

15 years agoAI 145561: Fix issue #1710534 (documentation doesn't mention that activity resolver...
Dianne Hackborn [Thu, 9 Apr 2009 23:26:49 +0000 (16:26 -0700)]
AI 145561: Fix issue #1710534 (documentation doesn't mention that activity resolver (and others) handle MIME types as case-sensitive).
  BUG=1710534

Automated import of CL 145561

15 years agoAI 145559: Cleanup for early-look SDK.
Dirk Dougherty [Thu, 9 Apr 2009 23:21:15 +0000 (16:21 -0700)]
AI 145559: Cleanup for early-look SDK.

Automated import of CL 145559

15 years agoAI 145384: API review: these didn't specify a protection level.
Dianne Hackborn [Thu, 9 Apr 2009 19:34:01 +0000 (12:34 -0700)]
AI 145384: API review: these didn't specify a protection level.
  I realized that the package parse is not requiring android:protectionLevel on a permission, even though it was intended to do that.  As a result, some new permissions slipped by without specifying it.  Now they do.  Also the mock providers is marked as dangerous, so the user will be informed of it (normal apps should never request it).
  In the next release we can fix this to always require the protection level.
  BUG=1780749

Automated import of CL 145384

15 years agoAI 145383: API review: clean up a bunch of @hides that have been pending API review.
Dianne Hackborn [Thu, 9 Apr 2009 19:32:19 +0000 (12:32 -0700)]
AI 145383: API review: clean up a bunch of @hides that have been pending API review.
  Either expose them, or official hide them with an explanation for why.
  BUG=1779439

Automated import of CL 145383

15 years agoAI 145382: API review: change new media keycode names to avoid ambiguity.
Dianne Hackborn [Thu, 9 Apr 2009 19:31:13 +0000 (12:31 -0700)]
AI 145382: API review: change new media keycode names to avoid ambiguity.
  Updates the key maps.  During this I noticed that the dream keymap didn't have all of the media buttons like the sapphire key map...!  So this is now changed to match.
  BUG=1779435

Automated import of CL 145382

15 years agoAI 145255: Further work on correcting the misspelling of RENDERMODE_CONTUOUSLY
Jack Palevich [Thu, 9 Apr 2009 03:33:03 +0000 (20:33 -0700)]
AI 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.)
  BUG=1766678

Automated import of CL 145255

15 years agoAI 145250: Update API for GLSurfaceView to account for correcting the spelling of a
Jack Palevich [Thu, 9 Apr 2009 02:41:04 +0000 (19:41 -0700)]
AI 145250: 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 145250

15 years agoAI 145249: Correct misspelling of constant RENDERMODE_CONTUOUSLY --> RENDERMODE_CONTI...
Jack Palevich [Thu, 9 Apr 2009 02:28:00 +0000 (19:28 -0700)]
AI 145249: Correct misspelling of constant RENDERMODE_CONTUOUSLY --> RENDERMODE_CONTINUOUSLY
  BUG=1766678

Automated import of CL 145249

15 years agoAI 145244: Fully document GLSurfaceView and related classes.
Jack Palevich [Thu, 9 Apr 2009 02:02:20 +0000 (19:02 -0700)]
AI 145244: Fully document GLSurfaceView and related classes.
  BUG=1766685

Automated import of CL 145244

15 years agoAI 145225: Import more revised translations into cupcake.
Eric Fischer [Thu, 9 Apr 2009 01:43:27 +0000 (18:43 -0700)]
AI 145225: Import more revised translations into cupcake.

Automated import of CL 145225

15 years agoAI 145214: Update cupcake translations.
Eric Fischer [Wed, 8 Apr 2009 22:59:35 +0000 (15:59 -0700)]
AI 145214: Update cupcake translations.

Automated import of CL 145214

15 years agoAI 144977: Import revised translations.
Eric Fischer [Wed, 8 Apr 2009 01:15:15 +0000 (18:15 -0700)]
AI 144977: Import revised translations.
  DO NOT MERGE

Automated import of CL 144977

15 years agoAI 144950: Manual integration of 144342 and 144547 from donutburger to cupcake.
Robert Greenwalt [Wed, 8 Apr 2009 00:19:28 +0000 (17:19 -0700)]
AI 144950: Manual integration of 144342 and 144547 from donutburger to cupcake.
  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 final result.
  Ex: [A,B,C] default with [D] overlay should give [D] but used to
  give [D,B,C]
  BUG=1754390

Automated import of CL 144950

15 years agoAI 144891: Import a bunch of revised translations.
Eric Fischer [Tue, 7 Apr 2009 18:48:29 +0000 (11:48 -0700)]
AI 144891: Import a bunch of revised translations.

Automated import of CL 144891

15 years agoAI 144739: More notification sounds
Dave Sparks [Tue, 7 Apr 2009 01:37:29 +0000 (18:37 -0700)]
AI 144739: More notification sounds
  BUG=1772686

Automated import of CL 144739

15 years agoAI 144355: Automated g4 rollback of changelist 144335.
Eric Fischer [Fri, 3 Apr 2009 04:42:04 +0000 (21:42 -0700)]
AI 144355: Automated g4 rollback of changelist 144335.
  *** Reason for rollback ***
  Roll back US Spanish import because it made the build too big.
  *** Original change description ***
  Import US Spanish translations, and a few Japanese changes.

Automated import of CL 144355

15 years agoAI 144335: Import US Spanish translations, and a few Japanese changes.
Eric Fischer [Thu, 2 Apr 2009 23:39:20 +0000 (16:39 -0700)]
AI 144335: Import US Spanish translations, and a few Japanese changes.

Automated import of CL 144335

15 years agoAI 144326: Start the thread that initializes the camera for the test under lock to...
Jean-Michel Trivi [Thu, 2 Apr 2009 23:11:58 +0000 (16:11 -0700)]
AI 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.
  BUG=1731117

Automated import of CL 144326

15 years agoAI 144313: Add two test cases for AudioTrack.java
Xia Wang [Thu, 2 Apr 2009 22:21:33 +0000 (15:21 -0700)]
AI 144313: Add two test cases for AudioTrack.java
  getMinBufferSize() returns ERROR_BAD_VALUE if
  sampleRateInHz < 4000 or > 48000.

Automated import of CL 144313

15 years agoAI 144308: aapt extensions: required sdk version, dependent software libraries, gadgets
Suchi Amalapurapu [Thu, 2 Apr 2009 22:19:31 +0000 (15:19 -0700)]
AI 144308: aapt extensions: required sdk version, dependent software libraries, gadgets
  Add new attributes for sdk version, software libs and gadgets
  BUG = 1730924
  BUG=1730924

Automated import of CL 144308

15 years agoAI 144306: Fix SDK issue 1716562 - Broadcast mechanism documentation should be improved.
Chris Tate [Thu, 2 Apr 2009 21:59:14 +0000 (14:59 -0700)]
AI 144306: Fix SDK issue 1716562 - Broadcast mechanism documentation should be improved.
  BUG=1716562

Automated import of CL 144306

15 years agoAI 144256: Need to show opt-in screen for location collection.
Amith Yamasani [Thu, 2 Apr 2009 18:39:09 +0000 (11:39 -0700)]
AI 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.
  BUG=1752566

Automated import of CL 144256

15 years agoAI 144181: Modify ProgressDialog class and its xml so that it follows the
Daisuke Miyakawa [Thu, 2 Apr 2009 02:14:59 +0000 (19:14 -0700)]
AI 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.
  BUG=1748136,1612476

Automated import of CL 144181

15 years agoAI 144150: Fix heap corruption.
Nick Pelly [Wed, 1 Apr 2009 23:40:01 +0000 (16:40 -0700)]
AI 144150: Fix heap corruption.
  Take mutex in close(), and skip write path after turning bluetooth off.
  BUG=1751710

Automated import of CL 144150

15 years agoAI 144134: Fix issue 1750132 - SensorManager listener 'rate' parameter units are...
Chris Tate [Wed, 1 Apr 2009 22:59:29 +0000 (15:59 -0700)]
AI 144134: Fix issue 1750132 - SensorManager listener 'rate' parameter units are undocumented
  BUG=1750132

Automated import of CL 144134

15 years agoAI 144093: Fix NPE in ActivityUnitTestCase.
Brett Chabot [Wed, 1 Apr 2009 22:12:07 +0000 (15:12 -0700)]
AI 144093: Fix NPE in ActivityUnitTestCase.
  BUG=1751731

Automated import of CL 144093

15 years agoAI 144053: Fix issue #1751242 A2DP playback fails first time: Invalid buffer size...
Eric Laurent [Wed, 1 Apr 2009 19:54:49 +0000 (12:54 -0700)]
AI 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.
  BUG=1751242

Automated import of CL 144053

15 years agoAI 144006: Set a real 3.xml, which is the current candidate cupcake API.
Jean-Baptiste Queru [Wed, 1 Apr 2009 17:22:26 +0000 (10:22 -0700)]
AI 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.
  BUG=1750515

Automated import of CL 144006

15 years agoAI 144001: Fix tiny bug in Rfc822Token.java
Tadashi Takaoka [Wed, 1 Apr 2009 16:52:01 +0000 (09:52 -0700)]
AI 144001: Fix tiny bug in Rfc822Token.java
  BUG=1751496

Automated import of CL 144001

15 years agoAI 143998: Fix #1750489. Call WebKit's setNetworkOnLine from WebCore thread instead...
Grace Kloba [Wed, 1 Apr 2009 16:44:46 +0000 (09:44 -0700)]
AI 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
  BUG=1750489

Automated import of CL 143998

15 years agoAI 143907: Make search widget drop-down wider.
Jeffrey Sharkey [Wed, 1 Apr 2009 01:24:45 +0000 (18:24 -0700)]
AI 143907: Make search widget drop-down wider.
  BUG=1749373

Automated import of CL 143907

15 years agoAI 143904: Fix the failure in the media recorder large test by adding the Camera...
Yu Shan Emily Lau [Wed, 1 Apr 2009 01:14:38 +0000 (18:14 -0700)]
AI 143904: Fix the failure in the media recorder large test by adding the Camera permission.

Automated import of CL 143904

15 years agoAI 143898: Attempt to set the device Locale (if not already set) at phone
Robert Greenwalt [Wed, 1 Apr 2009 01:00:50 +0000 (18:00 -0700)]
AI 143898: Attempt to set the device Locale (if not already set) at phone
  init based on the phone's reported carrier ID.
  Uses a core system resource string-array to contain the mapping
  of carrier ID -> default locale.  This should be set per project in
  an overlay.
  BUG=1731384

Automated import of CL 143898

15 years agoAI 143896: Fix issue #1748954 and #1737952:
Dianne Hackborn [Wed, 1 Apr 2009 00:58:46 +0000 (17:58 -0700)]
AI 143896: Fix issue #1748954 and #1737952:
  #1748954 (New status bar fades into all white background): FrameLayout wasn't updating its foreground drawable when its padding changed, which would happen as the status bar is shown and hidden.  To fix this I also ended up fixing a problem in the view debug stuff where we couldn't get a bitmap for a view that is the full screen size because it is too big...  actually I just went ahead and added another function to snapshot the view hierarchy which works a lot better for us anyway.
  #1737952 (Home screen icons overlap with the notification bar after exiting any camera app): Originally I punted this because it only happened in rare situations, but now that home is always portrait it happens a lot more so it is more important to fix.  This involved a few things to clean up hiding/showing the status bar:
  - We now determine when to hide and show it during layout, which allows us to do this at the time it is actually needed rather than during animation after we can actually catch it for the initial display of a window.  This required tweaking the layout API so the policy can request a second layout pass if needed.
  - When doing layout, we are now much more aggressive about skipping the layout of windows.  Basically anything that we know will be hidden in the near future is ignored for layout, so that it doesn't glitch as it is transfered out of the screen.  The theory being that it is better to leave it as it was originally placed while we are transitioning it out, than to switch it to something slightly more correct.
  BUG=1748954,1737952

Automated import of CL 143896

15 years agoAI 143869: Change InstrumentationTestRunner so all tests in the application are run...
Brett Chabot [Wed, 1 Apr 2009 00:03:46 +0000 (17:03 -0700)]
AI 143869: Change InstrumentationTestRunner so all tests in the application are run when no other arguments are supplied, instead of running only tests in the app's package.
  BUG=1749513

Automated import of CL 143869

15 years agoAI 143758: Fixes #1749387. When a client of VelocityTracker obtains an instance from...
Romain Guy [Tue, 31 Mar 2009 19:57:35 +0000 (12:57 -0700)]
AI 143758: Fixes #1749387. When a client of VelocityTracker obtains an instance from the pool, actually remove the object from the pool. Otherwise, several clients can share the same VelocityTracker which can lead to really weird side effects (including concurrency and UI issues.)
  BUG=1749387

Automated import of CL 143758

15 years agoAI 143748: Fix issue #1743326 (More battery stats)
Dianne Hackborn [Tue, 31 Mar 2009 19:11:48 +0000 (12:11 -0700)]
AI 143748: Fix issue #1743326 (More battery stats)
  Adds stats for:
  - Number of raw user events that have happened in the system.
  - Number of times user activity has been reported, dividied by UID and type of activity.
  - Duration of screen brightness levels in 4 buckets.
  - Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them.
  BUG=1743326

Automated import of CL 143748

15 years agoAI 143740: Don't clear supported profiles in settings app if getRemoteClass returns...
Nick Pelly [Tue, 31 Mar 2009 19:05:46 +0000 (12:05 -0700)]
AI 143740: Don't clear supported profiles in settings app if getRemoteClass returns error.
  Also clean up the error codes returned by the framework, so that the settings app can properly detect an error.
  BUG=1748881

Automated import of CL 143740

15 years agoAI 143727: Make the test runner and results assets of DumpRendertree. This is done...
Sridhar Gurivireddy [Tue, 31 Mar 2009 17:57:18 +0000 (10:57 -0700)]
AI 143727: Make the test runner and results assets of DumpRendertree. This is done so that we could have
  1) Lab machines can run layout tests without having build environment setup
  2) We could have different set of pass/fail results per branch
  Also added a simple python script which runs run_layout_tests.py

Automated import of CL 143727

15 years agoAI 143620: Attempt for fixing crash in AudioFlinger::MixerThread::dumpTracks() seen...
Eric Laurent [Tue, 31 Mar 2009 16:38:57 +0000 (09:38 -0700)]
AI 143620: Attempt for fixing crash in AudioFlinger::MixerThread::dumpTracks() seen in bug report for issue 1747119.
  AudioFlinger::MixerThread::dumpTracks() was reading mTracks[] vector instead of mActiveTracks[] when dumping active tracks.
  BUG=1747119

Automated import of CL 143620

15 years agoAI 143615: -Add more stats:
Evan Millar [Tue, 31 Mar 2009 15:56:16 +0000 (08:56 -0700)]
AI 143615: -Add more stats:
  -total network sent/received
  -total full/partial wakelock times.
  -Format the network sent/received amounts to be more easily readable.
  BUG=1743333

Automated import of CL 143615

15 years agoAI 143576: SDK doc change: Fix links from SDK upgrading docs to migration and diff...
Dirk Dougherty [Tue, 31 Mar 2009 01:32:45 +0000 (18:32 -0700)]
AI 143576: SDK doc change: Fix links from SDK upgrading docs to migration and diff info.
  BUG=1744782

Automated import of CL 143576

15 years agoAI 143547: Import revised translations.
Eric Fischer [Mon, 30 Mar 2009 22:52:26 +0000 (15:52 -0700)]
AI 143547: Import revised translations.
  BUG=1738388

Automated import of CL 143547

15 years agoAI 143540: Try not to start TextView lines with non-starter characters.
Eric Fischer [Mon, 30 Mar 2009 22:38:38 +0000 (15:38 -0700)]
AI 143540: Try not to start TextView lines with non-starter characters.
  TextView was previously following the "relaxed" line breaking
  convention and would allow a line break between any two
  ideographic characters.  Tighten that up and do not allow
  line breaks before non-starter characters (sound and iteration
  marks and small Hiragana and Katakana).
  BUG=1735619

Automated import of CL 143540

15 years agoAI 143495: Add more accented letters to the character picker.
Eric Fischer [Mon, 30 Mar 2009 19:01:15 +0000 (12:01 -0700)]
AI 143495: Add more accented letters to the character picker.
  The hardware keyboard doesn't have all the accents needed for
  Czech and Polish, so round out the selection.
  BUG=1742856

Automated import of CL 143495

15 years agoAI 143127: Media recorder service requires android.permission.CAMERA to record video
Dave Sparks [Fri, 27 Mar 2009 19:57:40 +0000 (12:57 -0700)]
AI 143127: Media recorder service requires android.permission.CAMERA to record video
  BUG=1742392

Automated import of CL 143127

15 years agoAI 143124: Fix bug #1731826, in which auto-connect to remembered networks does not
Eric Shienbrood [Fri, 27 Mar 2009 19:21:17 +0000 (12:21 -0700)]
AI 143124: Fix bug #1731826, in which auto-connect to remembered networks does not
  take place.
  This has the same underlying cause as bug #1739874, so this fixes that
  bug as well. The problem was that if the supplicant was in the DORMANT
  state at the time a scan-only Wi-Fi lock was released, the command to
  stop the Wi-Fi driver would never be issued. This had two main results:
  first, the driver would stay awake when the screen was blank and it was
  supposed to be sleeping, leading to excessive battery drain, and second,
  when the screen was turned back on, there would be no DRIVER-STARTED
  event generated (because the driver was already running). The
  DRIVER-STARTED event is the trigger for the framework to issue a
  RECONNECT command to the supplicant to cause it leave the DORMANT state
  and look for available remembered networks.
  To assist in tracking down this problem, and any such problems in the
  future, I added four counters to keep track of how many times full and
  scan-only Wi-Fi locks are acquired and released. The counter values
  are output in the dump() method of WifiService. While doing this, I
  noticed that because of missing "break" statements, the battery stats
  that keep track of how much time Wi-Fi locks are held were including
  the time for full locks in the time reported for scan-only locks.
  BUG=1731826,1739874

Automated import of CL 143124

15 years agoAI 143101: Fix issue # 1741546 (Put back private resources used by maps.)
Dianne Hackborn [Fri, 27 Mar 2009 16:53:15 +0000 (09:53 -0700)]
AI 143101: Fix issue # 1741546 (Put back private resources used by maps.)
  BUG=1741546

Automated import of CL 143101

15 years agoAutomated import from //branches/cupcake/...@143046,143046
Karl Rosaen [Fri, 27 Mar 2009 02:20:36 +0000 (19:20 -0700)]
Automated import from //branches/cupcake/...@143046,143046

15 years agoAutomated import from //branches/cupcake/...@143009,143009
Dianne Hackborn [Thu, 26 Mar 2009 23:28:25 +0000 (16:28 -0700)]
Automated import from //branches/cupcake/...@143009,143009

15 years agoAutomated import from //branches/cupcake/...@143001,143001
Mike Lockwood [Thu, 26 Mar 2009 22:59:52 +0000 (15:59 -0700)]
Automated import from //branches/cupcake/...@143001,143001

15 years agoAutomated import from //branches/cupcake/...@142996,142996
Evan Millar [Thu, 26 Mar 2009 22:33:04 +0000 (15:33 -0700)]
Automated import from //branches/cupcake/...@142996,142996

15 years agoAutomated import from //branches/cupcake/...@142986,142986
Dianne Hackborn [Thu, 26 Mar 2009 21:39:43 +0000 (14:39 -0700)]
Automated import from //branches/cupcake/...@142986,142986

15 years agoAutomated import from //branches/cupcake/...@142964,142964
Satoshi Kataoka [Thu, 26 Mar 2009 19:42:10 +0000 (12:42 -0700)]
Automated import from //branches/cupcake/...@142964,142964

15 years agoAutomated import from //branches/cupcake/...@142930,142930
Nicolas Roard [Thu, 26 Mar 2009 17:00:25 +0000 (10:00 -0700)]
Automated import from //branches/cupcake/...@142930,142930

15 years agoAutomated import from //branches/cupcake/...@142924,142924
John Wang [Thu, 26 Mar 2009 16:27:16 +0000 (09:27 -0700)]
Automated import from //branches/cupcake/...@142924,142924

15 years agoAutomated import from //branches/cupcake/...@142889,142889
Eric Laurent [Thu, 26 Mar 2009 08:57:59 +0000 (01:57 -0700)]
Automated import from //branches/cupcake/...@142889,142889

15 years agoAutomated import from //branches/cupcake/...@142879,142879
Dianne Hackborn [Thu, 26 Mar 2009 07:04:52 +0000 (00:04 -0700)]
Automated import from //branches/cupcake/...@142879,142879

15 years agoAutomated import from //branches/cupcake/...@142875,142875
Mathias Agopian [Thu, 26 Mar 2009 06:26:39 +0000 (23:26 -0700)]
Automated import from //branches/cupcake/...@142875,142875