18859 Commits

Author SHA1 Message Date
Eric Laurent
8bb2103416 Merge "Fix issue 2305382: Pick up original call makes a noisy beep when wired headset connected." 2010-02-23 23:36:37 -08:00
Daniel Sandler
8ff1e3f2ec Merge "Turn off lock screen sounds by default." 2010-02-23 19:34:08 -08:00
Joe Onorato
0e93b562f4 Merge "Make the notification windowshade work properly with overscroll." 2010-02-23 19:20:22 -08:00
Joe Onorato
f0fda925e6 Make the notification windowshade work properly with overscroll.
Bug: 2432590
2010-02-23 19:18:54 -08:00
Brian Carlstrom
a439e52725 Merge "javadoc spelling fix" 2010-02-23 18:48:06 -08:00
Robert Greenwalt
6142a0b68f Fix build.
clicked "submit" on I65ae29bd when I shouldn't have.

Fixing according to comments and a build error change.
2010-02-23 18:15:29 -08:00
Roy West
2854419072 Merge "Edit strings related to calendar permissions, bug 2463956." 2010-02-23 18:09:19 -08:00
Robert Greenwalt
5cde63a60d Merge "Add USB RNDIS enable/disable control" 2010-02-23 18:08:04 -08:00
Roy West
7467d49e61 Edit strings related to calendar permissions, bug 2463956. 2010-02-23 17:18:22 -08:00
Gloria Wang
2e1818a4d1 New API on VideoView widget to suspend/resume a session. Do not release the MediaPlayer client for video suspending/resuming. 2010-02-23 17:05:44 -08:00
Fabrice Di Meglio
d88602df36 Merge "Fix bug #2449594 (device should fold RRULEs, etc., that are longer than 75 chars)" 2010-02-23 17:02:36 -08:00
Eric Fischer
8ca1228168 Merge "Fix rounding of extra spacing when it is negative." 2010-02-23 16:45:41 -08:00
Daniel Sandler
63e1d264a7 Turn off lock screen sounds by default.
This change also fixes a typo that was suppressing the dock
sounds. But: so as not to surprise anyone, this change
defaults dock sounds off as well. Will need to add UI
somewhere to turn them on (Spare Parts?).

Bug: 2465483
Change-Id: Ic2cccb416d5616a84363debb740bf5897f0831c4
2010-02-23 19:43:35 -05:00
Fabrice Di Meglio
66c5bd9065 Fix bug #2449594 (device should fold RRULEs, etc., that are longer than 75 chars)
also fix a NPE in populateComponent() when Calendar.Events.ALL_DAY property was not defined

Change-Id: Ia5f15755b5af437ee1e661122193f318868ddf6d
2010-02-23 16:15:37 -08:00
Irfan Sheriff
c1ba7431a4 Remove redundant interface disable
Bug: 2274930
Change-Id: Ia1eafe422f6e18b826e53e72a306dd2961b948a6
2010-02-23 16:09:15 -08:00
Robert Greenwalt
65ae29bd85 Add USB RNDIS enable/disable control
Also adding interface configuration to the tethering machine.
Also fixing netd bug that didn't send up/down portion of iface config command.
2010-02-23 16:04:41 -08:00
Romain Guy
9844b27c05 Merge "Remove unused private assets from Android 1.0." 2010-02-23 16:01:37 -08:00
Romain Guy
3ce488143c Remove unused private assets from Android 1.0. 2010-02-23 16:00:52 -08:00
Brian Carlstrom
778ce48665 Issue 5697: getContextClassLoader returns a non-application classloader
ActivityThread should try to set the value for Java
Thread.getContextClassLoader to the PathClassLoader that loaded the
APK's classes so that Java frameworks that use the Java context class
loader, which is not to be confused with the
android.content.Context.getClassLoader which serves a similar purpose
in the Android framework.

However, we avoid setting the Java context ClassLoader to the APK's
PathClassLoader if there is a static indication that multiple packages
may share the VM, since they could load in an unpredictable order
leading to different values for the thread local Java context
ClassLoader. In this case, we instead use a specially created
WarningContextClassLoader that warns the user the first time the Java
context ClassLoader.

Currently the static indications that a package might share a VM with
other packages are the presence in the AndroidManifest of a
sharedUserId or requesting a non-default application process name.
2010-02-23 15:58:00 -08:00
James Dong
c23844c604 Merge "Use Java API from xml configuration in the test application" 2010-02-23 15:42:28 -08:00
Dmitry Shmidt
5386b3f91a Merge "Add Arp Cache dump" 2010-02-23 15:25:46 -08:00
Dmitry Shmidt
84b72ec3b4 Add Arp Cache dump
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2010-02-23 15:21:11 -08:00
Joe Onorato
5900dc7c33 Merge "Remove never-used dead code from BackupManager" 2010-02-23 15:09:49 -08:00
Christopher Tate
474507f15a Remove never-used dead code from BackupManager
Change-Id: I93a8341160815e29625a978fee27014beb2c6a26
2010-02-23 15:01:52 -08:00
Jim Miller
2ca759dbf5 Merge "Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils." 2010-02-23 14:16:46 -08:00
Andreas Huber
d7d22eba3c Propagate errors all the way through the MediaSources and send either MEDIA_PLAYBACK_COMPLETE or MEDIA_ERROR depending on the final reason for running out of buffers to play back.
related-to-bug: 2463749
2010-02-23 14:06:38 -08:00
Jim Miller
5b0fb3a7e8 Fix 2463886: Allow delayed fetching of DevicePolicyManager in LockPatternUtils.
Today we're seeing a crash that's likely caused by a change in the order in which
system services start.

The crash we're seeing happens in response to user interaction which happens after the
boot process completes, so we should re-fetch the DevicePolicyManager if we weren't
able to get it when LockPatternUtils was constructed.
2010-02-23 13:46:35 -08:00
Mathias Agopian
80bd6a1637 Merge "remove a dependency of surfaceflinger on libskia" 2010-02-23 12:52:28 -08:00
Doug Zongker
aff2e1b71c Merge "fix error in javadoc" 2010-02-23 12:37:53 -08:00
Doug Zongker
0375fa12c7 fix error in javadoc
The "@link LargeTest" is broken since it doesn't know where that class is.

Change-Id: Ie15e40bac8a1965427e351926b2208775e79cb13
2010-02-23 12:36:06 -08:00
Doug Zongker
ff592dc2fa fix some minor javadoc errors in AccountManager
Change-Id: Iafc9e5541e56b936a426999e0ae9f99e56dccd51
2010-02-23 12:26:33 -08:00
Adam Powell
925b4da097 Merge "Fixing pressed state in preferences, addresses bug 2310741" 2010-02-23 12:09:07 -08:00
Adam Powell
5375116901 Fixing pressed state in preferences, addresses bug 2310741 2010-02-23 12:05:14 -08:00
Dan Egnor
c0e147d469 Merge "Update AccountManager's javadoc." 2010-02-23 11:57:13 -08:00
Dan Egnor
661f0130de Update AccountManager's javadoc.
Includes several potentially controversial major changes:

- Remove the amount of repeated boilerplate explanations of common
idioms.  I find them much more distracting than useful.  The same
things are explained, but in fewer places.

- Add more narrative/directive information instead of merely descriptive
commentary; I included a lot of "color" about who particular methods are
intended for and why you might use them.

- Add explicit guidance (in the class javadoc) about the common usage pattern.
Explicitly document the auth token invalidation dance, which is highly
nonobvious, had never been written down before, and which GMM got wrong,
creating a Latitude conops nightmare they're still digging out of.

- Explain and justify, as best I can, the overall model of account management:
saved credentials, pluggable authenticators, auth tokens, and so on.  Clarify
some things, like that setPassword() changes the locally cached credential
but does not set the user's password on the server.

- Clarify what the passed-in Activity parameter is used for.  (It seems silly,
but I was confused by this: is it supposed to be the Activity that actually
performs the password prompt or whatever?  No, it's just a Context for the
startActivity() to be launched from.)
2010-02-23 11:53:59 -08:00
Eric Laurent
22e1ca3fc5 Fix issue 2305382: Pick up original call makes a noisy beep when wired headset connected.
The noise is the residual ring tone that is still playing while the call is answered and the
audio route changed to headset or earpiece.

The fix consists in muting the ringing tone when changing mode from ringtone to in call
and delaying the route change until the audio buffers are emptied.
2010-02-23 11:00:56 -08:00
Brett Chabot
e575d3dff5 Merge "Add ability to run tests restricted to given annotation." 2010-02-23 10:46:42 -08:00
Mike Lockwood
c747cd8bd8 Merge "Move LocationTracker from com.google.android to com.android package." 2010-02-23 10:34:52 -08:00
Andreas Huber
42ddfc9495 Merge "Return runtime errors instead of asserting in MPEG4 file format validation, also add more validation to ensure presence of codec specific data for avc, aac and mpeg4." 2010-02-23 10:30:48 -08:00
Andreas Huber
5ee0bce5e0 Return runtime errors instead of asserting in MPEG4 file format validation, also add more validation to ensure presence of codec specific data for avc, aac and mpeg4.
related-to-bug: 2431967
2010-02-23 10:21:39 -08:00
James Dong
f82c76656b Merge "Replace system property retrieval calls with DecoderCapabilities Java API calls." 2010-02-23 10:16:57 -08:00
Bjorn Bringert
cfe79e9220 Merge "Clean up global search and web search activity finding" 2010-02-23 06:28:31 -08:00
Bjorn Bringert
6cf7a325e6 Clean up global search and web search activity finding
This removes the '*' value for android.app.searchable and
android.app.default_searchable that was previously used by apps to say
that they want global search as their search. I think the only
activity that this will affect is the wallpaper chooser in the
launcher, which doesn't seem like it matters.  It could mean that some
third party code will stop invoking global search, but all they would
need to do is call startSearch() with globalSearch=true instead.

Fixes http://b/issue?id=2377433 and http://b/issue?id=2377429

Change-Id: I0252952b44ae85dab31221b598ed79cc24e2b580
2010-02-23 14:27:43 +00:00
Mike Lockwood
191d898468 Move LocationTracker from com.google.android to com.android package.
Change-Id: I75757373e39669955d5f753a31a2a7b78d0b68ed
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-23 07:50:18 -05:00
Valentin Kravtsov
d162a114cc Increasing the VS button's touchable area
adding invisible padding to the background buttons

Change-Id: Icb8ff9b31e83049520566c2498e1f82067636897
2010-02-23 11:29:17 +00:00
Bernd Holzhey
6fd5e0ac51 Fix calculation of the next twilight update for locations where the day or night never ends. 2010-02-23 06:04:33 +01:00
Mike Lockwood
e5a1d4a21e Merge "Move LocationTracker test app from vendor/google to frameworks/base/tests" 2010-02-22 20:58:43 -08:00
Mike Lockwood
c9d3be3f0e Move LocationTracker test app from vendor/google to frameworks/base/tests
Change-Id: I49f1bfe2081f2c48fcb22b74aa2377857c2bae6d
Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-22 23:57:44 -05:00
Dianne Hackborn
f13f60127e Merge "Fix some random bugs." 2010-02-22 20:48:01 -08:00
Dianne Hackborn
9e0f5d9a63 Fix some random bugs.
2185256: After open &close of device keyboard shortcut does not added to Home desktop.

ActivityThread was losing the last saved state when restarting or launching into
a paused state.

2366174: defaults not cleared when they should be

PackageManagerService now removes any preferred activity records for a package
when it is uninstalled.

2154556: Battery stats can have an unbounded number of wake locks

We now start combining wake locks into one shared record when we hit a
maximum limit (currently 20).

2442519: Foreground services can have no notification by providing a bogus one.

If the notification manager rejects our notification, the service is forced to
no longer be in the foreground.

2442383: Finalization issues in com.android.server.am.PendingIntentRecord.java

Cleaned up finalization to call super class and avoid the big activity manager
lock (we still need to use the locks inside of the message system, but these
are much less likely to be a problem).

2284190: Cannot call a phone number using adb

We weren't getting the calling uid/pid in startActivity() if the caller did not
supply an application record.
2010-02-22 20:45:58 -08:00