OSDN Git Service
Jean-Michel Trivi [Fri, 24 Apr 2009 19:33:40 +0000 (12:33 -0700)]
AI 147718: Created .jd doc file for the JetCreator manual. Cleaned up the content to only use HTML tags, no more ugly Word generated tags. Removed references to visio files, converted all assets to PNG and renamed them with human understandable names. Added reference to JetPlayer javadoc.
BUG=
1721874
Automated import of CL 147718
Dirk Dougherty [Fri, 24 Apr 2009 18:32:25 +0000 (11:32 -0700)]
AI 147711: Fix link text in highlights doc. Copy "New APIs" section to Version Notes doc.
BUG=
1790234
Automated import of CL 147711
Dirk Dougherty [Fri, 24 Apr 2009 18:30:35 +0000 (11:30 -0700)]
AI 147710: Add redirects for sdk/preview pages.
BUG=
1790234
Automated import of CL 147710
Bill Napier [Fri, 24 Apr 2009 00:14:22 +0000 (17:14 -0700)]
AI 147541: Add cs as default language for cz.
BUG=
1781746
Automated import of CL 147541
Scott Main [Thu, 23 Apr 2009 01:58:13 +0000 (18:58 -0700)]
AI 147438: add app widget docs to dev guide
move app widget docs out of the package description
BUG=
1790234
Automated import of CL 147438
Dirk Dougherty [Thu, 23 Apr 2009 01:45:05 +0000 (18:45 -0700)]
AI 147433: Fix broken link to sdk/samples dir in the offline.html page.
BUG=
1790234
Automated import of CL 147433
Eric Fischer [Wed, 22 Apr 2009 19:33:55 +0000 (12:33 -0700)]
AI 147406: Import revised translations.
Automated import of CL 147406
Dirk Dougherty [Wed, 22 Apr 2009 03:39:18 +0000 (20:39 -0700)]
AI 147336: Remove stuff relating to the Maps ext library from the docs. Leave a pointer over to code.google.com.
BUG=
1790234
Automated import of CL 147336
Dirk Dougherty [Wed, 22 Apr 2009 03:25:36 +0000 (20:25 -0700)]
AI 147332: Miscellaneous doc changes for cupcake SDK
BUG=
1790234
Automated import of CL 147332
Scott Main [Wed, 22 Apr 2009 02:44:01 +0000 (19:44 -0700)]
AI 147325: update the installing and upgrading docs for cupcake
BUG=
1793249
Automated import of CL 147325
Scott Main [Wed, 22 Apr 2009 02:22:40 +0000 (19:22 -0700)]
AI 147314: change carousel SDK to 1.5;
revise Google IO info
BUG=
1800649
Automated import of CL 147314
Scott Main [Wed, 22 Apr 2009 02:17:59 +0000 (19:17 -0700)]
AI 147311: update eclipse docs to include necessary AVD procedures and
discuss relevant target facilities
BUG=
1796104
Automated import of CL 147311
Scott Main [Wed, 22 Apr 2009 02:09:24 +0000 (19:09 -0700)]
AI 147306: re-write the Developing in Other IDEs doc with updated information for 1.5
BUG=
1796104
Automated import of CL 147306
Dirk Dougherty [Wed, 22 Apr 2009 01:52:41 +0000 (18:52 -0700)]
AI 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.
BUG=
1790234
Automated import of CL 147297
Xavier Ducrohet [Wed, 22 Apr 2009 01:45:32 +0000 (18:45 -0700)]
AI 147290: Update Geocoder javadoc to reflect the need for a backend service.
BUG=
1794552
Automated import of CL 147290
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Eric Fischer [Tue, 14 Apr 2009 19:10:43 +0000 (12:10 -0700)]
AI 146175: Import updated translations.
Automated import of CL 146175
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
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
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
Eric Fischer [Tue, 14 Apr 2009 00:16:19 +0000 (17:16 -0700)]
AI 146037: Import updated translations.
Automated import of CL 146037
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Eric Fischer [Wed, 8 Apr 2009 22:59:35 +0000 (15:59 -0700)]
AI 145214: Update cupcake translations.
Automated import of CL 145214
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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