10705 Commits

Author SHA1 Message Date
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
Christopher Tate
06ba55476e Integrate new power connnect/disconnect broadcasts
Two new broadcasts, Intent.ACTION_POWER_CONNECTED and
Intent.ACTION_POWER_CONNECTED, that are issued when the device is plugged
and unplugged from USB or AC power.  This pulls two changes from the
open-source Gerrit repo into the internal Donut codeline:

1241 fda6fae Added broadcasts for external power events.
9491 37f8ca1 Fix system service crash when booting while on battery power

The current.xml API description has also been updated to include the
new Intent fields; the new API was approved in the original OSS change.
2009-04-09 16:03:56 -07:00
Dave Bort
2faf6081f2 Remove references to android.util.Config
The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
2009-04-09 15:30:38 -07:00
Dave Bort
fb83907291 Remove references to android.util.Config
The semantics of Config.DEBUG will be changing soon, and all other
Config.* fields will become deprecated/hidden.

BUG=1780938
2009-04-09 15:18:48 -07:00
Fred Quintana
546f75c5c5 Merge branch 'readonly-p4-master' 2009-04-09 15:07:04 -07:00
Fred Quintana
26fc5eba50 AI 145535: reenable the signin notifications
the system process has permissions to control this
  notification but the caller doesn't do we need to call
  clearCallerIdentity() before manipulating the notification
  BUG=1778648

Automated import of CL 145535
2009-04-09 15:05:50 -07:00
Eric Fischer
2984f14244 Merge branch 'readonly-p4-donut' into donut 2009-04-09 14:33:58 -07:00
Eric Fischer
af64013eca Merge branch 'readonly-p4-master' 2009-04-09 14:33:10 -07:00
Eric Fischer
2dcaf4ee66 AI 145493: am: CL 145214 Update cupcake translations.
Original author: enf
  Merged from: //branches/cupcake/...

Automated import of CL 145493
2009-04-09 14:32:41 -07:00
Eric Fischer
580b13017e AI 145500: am: CL 145493 am: CL 145214 Update cupcake translations.
Original author: enf
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145500
2009-04-09 14:31:52 -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
Romain Guy
12abafd643 Merge branch 'readonly-p4-master' 2009-04-08 19:21:21 -07:00
Romain Guy
5b13cb6486 AI 145189: am: CL 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.
Original author: romainguy

Automated import of CL 145189
2009-04-08 19:20:13 -07:00
Fred Quintana
0c9c41255e Merge branch 'readonly-p4-master' 2009-04-08 19:16:09 -07:00
Fred Quintana
a698f42769 AI 145177: phase two of the AccountManager
- added an AccountManagerActivity, a base Activity that can be
  used by activities that are launched by AccountAuthenticator
  intents. This makes it easy for an Activity to send a result
  using an AccountAuthenticatorResponse
  - added debug strings to the AccountAuthenticatorCache
  - improved the API for the AccountAuthenticatorResponse and
  made it Parcelable so that it can be passed to an Activity
  via an Intent
  - changed the AccountManager to use Futures for the
  asynchronous calls and to notify the user via a callback
  when the request is complete
  - changed the AccountManager to convert any errors that are
  returned into Exceptions
  - added constants for the error codes that are passed across
  the IAccountManagerResponse and
  IAccountAuthenticatorResponse interfaces
  - added a dump() method to the AccountManagerService so that
  it can display the list of active sessions and registered
  authenticators
  - added an way to interrogate the AccountManagerService for
  the list of registered authenticators
  - removed more methods from the GoogleLoginServiceHelper and
  GoogleLoginServiceBlockingHelper and changed the callers to
  use the AccountManager

Automated import of CL 145177
2009-04-08 19:14:54 -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
Romain Guy
50457c1fc2 Merge branch 'readonly-p4-donut' into donut 2009-04-08 14:23:53 -07:00
Romain Guy
939151f1eb 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
2009-04-08 14:22:40 -07:00
Android (Google) Code Review
7d1d778575 Merge change 38 into donut
* changes:
  Fix issue #1769910 (Track activity launch times)
2009-04-08 13:42:34 -07:00
Cynthia Wong
5167f9e28b Merge branch 'readonly-p4-master' 2009-04-08 13:33:32 -07:00
Cynthia Wong
44e4aaf133 AI 145124: am: CL 144928 Make the uphill discarding ops functionality controllable via a Gservices flag
Original author: cynthiaw

Automated import of CL 145124
2009-04-08 13:32:09 -07:00
Andy McFadden
5bbf237689 Merge branch 'readonly-p4-master' 2009-04-08 00:37:08 -07:00
Andy McFadden
599c918d97 AI 144931: Added a (hidden) way to "pre-cache" register maps.
The 50 methods that appeared on the GC stacks of the most applications
  require 13KB of native heap for their uncompressed register maps, and
  the full set took 5ms to uncompress.  Pre-computation doesn't represent
  a significant improvement in space or time, at the cost of a big pile
  of strings in ZygoteInit.
  I'm leaving the method in ZygoteInit, but it's not called, and the
  static final String[] of method descriptors is empty.  We may want to
  revisit this later.
  BUG=1729570

Automated import of CL 144931
2009-04-08 00:35:56 -07:00
Eric Fischer
a44a28d358 Merge branch 'readonly-p4-master' 2009-04-08 00:31:50 -07:00
Eric Fischer
43f3693035 AI 144913: am: CL 144912 Merge from cupcake:
Change 144891 on 2009/04/07 by enf@ebcdic
  Import a bunch of revised translations.
  Original author: enf

Automated import of CL 144913
2009-04-08 00:30:38 -07:00
Dianne Hackborn
6447ca30b8 Fix issue #1769910 (Track activity launch times)
The usage stats service now collects per-activity launch time stats.  There are a number of fixes and improvements to its statistics management and collection; it now operates its calendar in GMT and ensures that for checkin purposes it always reports one day and only one complete day to the checkin service.

Also change the checkin option from "-c" to "--checkin" since it is really a special thing.
2009-04-07 19:50:08 -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
Cynthia Wong
36f9b695a1 Merge branch 'readonly-p4-donut' into donut 2009-04-07 17:25:27 -07:00
Cynthia Wong
f62b80fa1b AI 144928: Make the uphill discarding ops functionality controllable via a Gservices flag
BUG=1725022

Automated import of CL 144928
2009-04-07 17:24:14 -07:00
Android (Google) Code Review
ed571ea7c6 Merge change 37 into donut
* changes:
  Preserve an Activity's setIntent() state across relaunches
2009-04-07 16:54:26 -07:00
Christopher Tate
b70f3dff01 Preserve an Activity's setIntent() state across relaunches
Previously any Intent designated by setIntent() would be lost when
the Activity was shut down and restarted due to orientation change.
Now the custom intent is preserved across the relaunch.

Bug: b/1743425
2009-04-07 16:07:59 -07:00
Eric Fischer
374c83f420 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
2009-04-07 13:55:05 -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
Wink Saville
ae0afc6d90 Merge branch 'readonly-p4-master' 2009-04-06 15:24:36 -07:00
Wink Saville
6ec9a7d55d AI 144706: am: CL 144705 Teleca patch from 03/27/2009, fixes some CDMA issues.
Original author: wink

Automated import of CL 144706
2009-04-06 15:23:24 -07:00
Wink Saville
d6c5d527d3 AI 144705: Teleca patch from 03/27/2009, fixes some CDMA issues.
Automated import of CL 144705
2009-04-06 15:20:45 -07:00
Grace Kloba
974bd7f298 Merge branch 'readonly-p4-master' 2009-04-06 10:48:36 -07:00
Grace Kloba
45dee41f5c AI 144661: Fix #175030. Preserve the zoom factor during refresh. Remove the code change in FrameLoader.cpp which was to preserve the zoom factor when we first did layout. Now we only use the initialZoomScale if it is a standard load. If it is history load, restoreScale() should be called before didFirstLayout(), in the other cases, like reload, refresh, replace, we don't change the zoom factor.
BUG=175030

Automated import of CL 144661
2009-04-06 10:47:26 -07:00
Romain Guy
e016b29d28 Merge branch 'readonly-p4-master' 2009-04-03 17:41:18 -07:00
Romain Guy
8e2f6a90b4 AI 144563: am: CL 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.
Original author: romainguy

Automated import of CL 144563
2009-04-03 17:40:12 -07:00
Romain Guy
c23031933f 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
2009-04-03 17:37:18 -07:00
Andy McFadden
8e58848436 Merge branch 'readonly-p4-master' 2009-04-03 11:10:54 -07:00
Andy McFadden
e2b23e11a5 AI 144469: Added test for dalvik.vm.check-dex-sum property.
Enables -Xcheckdexsum argument, which causes the VM to test checksums
  when loading optimized DEX files.
  BUG=1749836

Automated import of CL 144469
2009-04-03 11:09:46 -07:00
Mike Lockwood
508cbf2241 Merge branch 'readonly-p4-master' 2009-04-03 09:49:06 -07:00
Mike Lockwood
d9c0df1d3e AI 144460: am: CL 144459 Add "tty" to the status bar to fix the StatusBarService.
BUG=1761602
  Original author: lockwood

Automated import of CL 144460
2009-04-03 09:47:54 -07:00