262 Commits

Author SHA1 Message Date
Scott Main
0ebf34a27a 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
2009-04-14 17:19:13 -07:00
Scott Main
a9fe9e21d3 AI 146242: fix the package namespace in the examples;
delete the old hello-android file
  BUG=1750212

Automated import of CL 146242
2009-04-14 16:29:14 -07:00
Guang Zhu
7fc3cd6aeb 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
2009-04-14 15:49:35 -07:00
Eric Fischer
574d89fa04 AI 146175: Import updated translations.
Automated import of CL 146175
2009-04-14 12:10:43 -07:00
Ramanan Rajeswaran
77cfbeb51d AI 146144: Set default map location for Ireland and South Africa
Automated import of CL 146144
2009-04-14 10:41:03 -07:00
Ramanan Rajeswaran
67d2f8d777 AI 146127: Increase zoom level for NZ default maps location
Automated import of CL 146127
2009-04-14 09:44:55 -07:00
Ramanan Rajeswaran
a69ab9493c AI 146123: Change Belfast to Dublin
BUG=1788466

Automated import of CL 146123
2009-04-14 09:30:00 -07:00
Eric Fischer
15b7e5479d AI 146037: Import updated translations.
Automated import of CL 146037
2009-04-13 17:16:19 -07:00
Scott Main
a8c28c4e4a AI 146028: update hello world tutorial for cupcake, including various other edits.
BUG=1750212

Automated import of CL 146028
2009-04-13 17:01:30 -07:00
Robert Greenwalt
836054473c 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
2009-04-13 16:11:29 -07:00
Ramanan Rajeswaran
5320e896e2 AI 145892: Add Ireland, Switzerland, New Zealand, South Africa to MccTable
BUG=1786030

Automated import of CL 145892
2009-04-13 11:19:51 -07:00
Eric Shienbrood
18b4d49065 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
2009-04-13 10:41:56 -07:00
Eric Fischer
68dbdd4d47 AI 145782: Import updated translations.
DO NOT MERGE

Automated import of CL 145782
2009-04-10 16:38:00 -07:00
Yu Shan Emily Lau
0b57d6cdb5 AI 145757: Suppress the flaky tests
BUG=174601,1569749

Automated import of CL 145757
2009-04-10 15:28:26 -07:00
Dan Bornstein
960fe37a6a 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
2009-04-10 14:55:08 -07:00
Brett Chabot
732bde73f9 AI 145735: Suppress the flaky DatabaseLockTest
BUG=1777453

Automated import of CL 145735
2009-04-10 14:13:32 -07:00
Eric Fischer
d7e4475898 AI 145711: Import a few changed translations.
DO NOT MERGE

Automated import of CL 145711
2009-04-10 10:45:19 -07:00
Jeffrey Sharkey
5671777ecb 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
2009-04-09 16:53:25 -07:00
Dianne Hackborn
1c004f0ae1 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
2009-04-09 16:26:49 -07:00
Dirk Dougherty
9f17a3b006 AI 145559: Cleanup for early-look SDK.
Automated import of CL 145559
2009-04-09 16:21:15 -07:00
Dianne Hackborn
d6cbabfa77 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
2009-04-09 12:34:01 -07:00
Dianne Hackborn
48276ab989 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
2009-04-09 12:32:19 -07:00
Dianne Hackborn
5eabbd9f27 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
2009-04-09 12:31:13 -07:00
Jack Palevich
d6fbffe6ea 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
2009-04-08 20:33:03 -07:00
Jack Palevich
62d4be411e 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
2009-04-08 19:41:04 -07:00
Jack Palevich
93f411386a AI 145249: Correct misspelling of constant RENDERMODE_CONTUOUSLY --> RENDERMODE_CONTINUOUSLY
BUG=1766678

Automated import of CL 145249
2009-04-08 19:28:00 -07:00
Jack Palevich
722a96cbb4 AI 145244: Fully document GLSurfaceView and related classes.
BUG=1766685

Automated import of CL 145244
2009-04-08 19:02:20 -07:00
Eric Fischer
9bfc99a308 AI 145225: Import more revised translations into cupcake.
Automated import of CL 145225
2009-04-08 18:43:27 -07:00
Eric Fischer
e5af939c8e AI 145214: Update cupcake translations.
Automated import of CL 145214
2009-04-08 15:59:35 -07:00
Eric Fischer
bb4de4bcbe AI 144977: Import revised translations.
DO NOT MERGE

Automated import of CL 144977
2009-04-07 18:15:15 -07:00
Robert Greenwalt
ae5728d67a 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
2009-04-07 17:19:28 -07:00
Eric Fischer
f845cd4f23 AI 144891: Import a bunch of revised translations.
Automated import of CL 144891
2009-04-07 11:48:29 -07:00
Dave Sparks
2b7e70bdc4 AI 144739: More notification sounds
BUG=1772686

Automated import of CL 144739
2009-04-06 18:37:29 -07:00
Eric Fischer
1015b379bc 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
2009-04-02 21:42:04 -07:00
Eric Fischer
0c65631515 AI 144335: Import US Spanish translations, and a few Japanese changes.
Automated import of CL 144335
2009-04-02 16:39:20 -07:00
Jean-Michel Trivi
36951ab6c2 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
2009-04-02 16:11:58 -07:00
Xia Wang
7c3b6285c3 AI 144313: Add two test cases for AudioTrack.java
getMinBufferSize() returns ERROR_BAD_VALUE if
  sampleRateInHz < 4000 or > 48000.

Automated import of CL 144313
2009-04-02 15:21:33 -07:00
Suchi Amalapurapu
633d8cddb8 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
2009-04-02 15:19:31 -07:00
Chris Tate
a48875a7d7 AI 144306: Fix SDK issue 1716562 - Broadcast mechanism documentation should be improved.
BUG=1716562

Automated import of CL 144306
2009-04-02 14:59:14 -07:00
Amith Yamasani
29c1c42e18 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
2009-04-02 11:39:09 -07:00
Daisuke Miyakawa
196677cf8c 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
2009-04-01 19:14:59 -07:00
Nick Pelly
de810e407c AI 144150: Fix heap corruption.
Take mutex in close(), and skip write path after turning bluetooth off.
  BUG=1751710

Automated import of CL 144150
2009-04-01 16:40:01 -07:00
Chris Tate
d7c1f5d0dd AI 144134: Fix issue 1750132 - SensorManager listener 'rate' parameter units are undocumented
BUG=1750132

Automated import of CL 144134
2009-04-01 15:59:29 -07:00
Brett Chabot
9a89f145d3 AI 144093: Fix NPE in ActivityUnitTestCase.
BUG=1751731

Automated import of CL 144093
2009-04-01 15:12:07 -07:00
Eric Laurent
1177ece66b 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
2009-04-01 12:54:49 -07:00
Jean-Baptiste Queru
ffaadd2b6e 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
2009-04-01 10:22:26 -07:00
Tadashi Takaoka
c21cf4a9c5 AI 144001: Fix tiny bug in Rfc822Token.java
BUG=1751496

Automated import of CL 144001
2009-04-01 09:52:01 -07:00
Grace Kloba
3192d4a23a 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
2009-04-01 09:44:46 -07:00
Jeffrey Sharkey
e1ae350cb9 AI 143907: Make search widget drop-down wider.
BUG=1749373

Automated import of CL 143907
2009-03-31 18:24:45 -07:00
Yu Shan Emily Lau
ba6da788c4 AI 143904: Fix the failure in the media recorder large test by adding the Camera permission.
Automated import of CL 143904
2009-03-31 18:14:38 -07:00