18835 Commits

Author SHA1 Message Date
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
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
Mike Lockwood
90c79c4fe6 Merge "Don't start location providers until the system is ready." 2010-02-22 20:39:24 -08:00
Oscar Montemayor
0f70868c83 Merge "Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path." 2010-02-22 18:16:32 -08:00
Brett Chabot
88e03a9736 Add ability to run tests restricted to given annotation.
And ability to exclude tests with given annotation.

Also fix class cast compile warning in emma output method.

Bug 2239240

Change-Id: I56273a51a8c58a690680bdb612615fab69e6e13f
2010-02-22 18:08:35 -08:00
Guang Zhu
2ee587a9c2 Merge "Quick fix layout test path problems" 2010-02-22 17:50:31 -08:00
Guang Zhu
8cd303aec6 Quick fix layout test path problems
SD card mount point has changed from /sdcard to /mnt/sdcard. layout test was calling getCanonicalPath to determine the path to the test case, which causes problem because /sdcard is now a symlink, and canonical path is actually the "real" path. Using quick dirty fix for now, will properly migrate any hard-coded reference to "/sdcard" to system function calls.
2010-02-22 17:45:05 -08:00
Mike Lockwood
46db504de5 Don't start location providers until the system is ready.
Change-Id: Id545e95705e59ffbaaab8a679a1b7df488813101
BUG: 2461320

Signed-off-by: Mike Lockwood <lockwood@android.com>
2010-02-22 20:42:27 -05:00
Mathias Agopian
8c20ca39c1 remove a dependency of surfaceflinger on libskia
libskia was only used for a small part of SkTransform. We now implement
Transform is surfaceflinger directly.
2010-02-22 17:30:40 -08:00
Makoto Onuki
2f6a01858b Fix bug 2183276: Synchronize all mManagedCursors accesses. 2010-02-22 17:27:57 -08:00
Jason Sams
469888fe84 Merge "beging np2 extension check work." 2010-02-22 17:06:21 -08:00
Romain Guy
79db13bf60 Merge "Calling super.finalize() in finalize() methods. Also cleanup code, mostly removing unused handlers and casts." 2010-02-22 17:01:41 -08:00
Romain Guy
a2fb0b7918 Merge "Prevent crash in AbsSpinner when the selection is out of sync. Bug #196253" 2010-02-22 17:01:26 -08:00
Romain Guy
afc0155718 Prevent crash in AbsSpinner when the selection is out of sync.
Bug #196253

Also do a little bit of syntax cleanup, remove unused code, etc.
2010-02-22 16:48:47 -08:00
Daniel Sandler
6fb7cbf12a Merge "Show the USB mass storage UI as soon as USB is connected." 2010-02-22 16:46:08 -08:00
Adam Powell
42122b6aa6 Merge "Standard alert dialogs overscroll only when content scrolls" 2010-02-22 16:36:38 -08:00
Andreas Huber
d6b6bf9321 Merge "Properly unload the renderer shared library after the renderer goes away." 2010-02-22 16:34:32 -08:00
Brad Fitzpatrick
fde3290374 Merge "Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds." 2010-02-22 16:32:25 -08:00
Romain Guy
a1303e0193 Calling super.finalize() in finalize() methods.
Also cleanup code, mostly removing unused handlers and casts.
2010-02-22 16:29:10 -08:00
Oscar Montemayor
f1cbfff03a Fix bug when adding SET_INSTALL_LOCATION to SettingsProvider database, upgrade path. 2010-02-22 16:23:19 -08:00
Gloria Wang
582ae172a4 Merge "Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE, but when it calls GetByteArrayRegion, it multiplies it by 2 which defeats the "// safety first" check at the beginning." 2010-02-22 16:08:28 -08:00
Gloria Wang
196863d274 Fix for the safty check. It checks that nFir21 + jNpoints <= BUF_SIZE,
but when it calls GetByteArrayRegion, it multiplies it by 2 which
 defeats the "// safety first" check at the beginning.
2010-02-22 15:59:03 -08:00
Andreas Huber
078f7f05d5 Properly unload the renderer shared library after the renderer goes away. 2010-02-22 15:41:07 -08:00