135 Commits

Author SHA1 Message Date
Alan Jones
9f9cdcfa82 Fixed Issue 2682: ContentProvider query() SDK docs deprecated 2009-05-21 12:59:43 +10:00
Yusuf T. Mobile
2c7ed53172 Fix to Android issue 453 2009-05-15 10:56:36 -07:00
djken
b80676747d The comment lack of symbol # and parameter data type. This will cause compilation failed. 2009-05-08 07:07:55 -04:00
Cyril Mottier
238ebb6594 Add of Javadoc comments on undocumented methods.
Use of a constant defined in SensorManager for computing deceleration.
2009-05-05 18:13:48 +02:00
The Android Open Source Project
284e9b2753 Merge commit 'korg/donut' 2009-04-24 13:54:57 -07:00
Eric Fischer
afa2add8ba AI 146517: Import translation changes.
DO NOT MERGE

Automated import of CL 146517
2009-04-16 11:01:05 -07:00
Eric Fischer
c56eed910a AI 146365: Import revised translations.
DO NOT MERGE

Automated import of CL 146365
2009-04-15 13:30:18 -07:00
The Android Open Source Project
5e8c31ac31 Merge commit 'korg/cupcake' 2009-04-14 18:18:03 -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
Eric Fischer
15b7e5479d AI 146037: Import updated translations.
Automated import of CL 146037
2009-04-13 17:16:19 -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
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
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
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
Eric Fischer
f845cd4f23 AI 144891: Import a bunch of revised translations.
Automated import of CL 144891
2009-04-07 11:48: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
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
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
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
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
Robert Greenwalt
f05a98cbff 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
2009-03-31 18:00:50 -07:00
Dianne Hackborn
b378530714 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
2009-03-31 17:58:46 -07:00
Romain Guy
d65addb4c9 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
2009-03-31 12:57:35 -07:00
Dianne Hackborn
65c8e11a31 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
2009-03-31 12:11:48 -07:00
Nick Pelly
3f46f0a0cd 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
2009-03-31 12:05:46 -07:00
Evan Millar
ac7df3fdfb 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
2009-03-31 08:56:16 -07:00
Eric Fischer
631cf99982 AI 143547: Import revised translations.
BUG=1738388

Automated import of CL 143547
2009-03-30 15:52:26 -07:00
Eric Fischer
15095be060 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
2009-03-30 15:38:38 -07:00
Eric Fischer
8e13d66b8d 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
2009-03-30 12:01:15 -07:00
The Android Open Source Project
e1861133d5 Merge commit 'korg/cupcake'
Conflicts:
	core/java/android/webkit/WebView.java
	core/java/android/widget/TwoLineListItem.java
	preloaded-classes
2009-03-27 15:38:40 -07:00
Dianne Hackborn
499e098f0c AI 143101: Fix issue # 1741546 (Put back private resources used by maps.)
BUG=1741546

Automated import of CL 143101
2009-03-27 09:53:15 -07:00
Karl Rosaen
3f2fd987b2 Automated import from //branches/cupcake/...@143046,143046 2009-03-26 19:20:36 -07:00
Dianne Hackborn
2b4d828e1d Automated import from //branches/cupcake/...@143009,143009 2009-03-26 16:28:25 -07:00
Evan Millar
2323bf7181 Automated import from //branches/cupcake/...@142996,142996 2009-03-26 15:33:04 -07:00
Dianne Hackborn
f473433e4d Automated import from //branches/cupcake/...@142986,142986 2009-03-26 14:39:43 -07:00
Satoshi Kataoka
4194592b9c Automated import from //branches/cupcake/...@142964,142964 2009-03-26 12:42:10 -07:00
Nicolas Roard
33b7987c5c Automated import from //branches/cupcake/...@142930,142930 2009-03-26 10:00:25 -07:00
Mathias Agopian
c75c4364ea Automated import from //branches/cupcake/...@142873,142873 2009-03-25 23:18:56 -07:00