18951 Commits

Author SHA1 Message Date
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
Jason Sams
2978bfc6ad beging np2 extension check work. 2010-02-22 15:37:51 -08:00
Andreas Huber
ab9985ed4c Merge "This hardware video decoder lies about its required input buffer sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk." 2010-02-22 15:32:14 -08:00
Adam Powell
8e4e7263e5 Standard alert dialogs overscroll only when content scrolls 2010-02-22 15:18:14 -08:00
Brad Fitzpatrick
25880968cb Reduce SQLiteDatabase and ContentResolver EventLog logging thresholds.
Turns out the database is used a ton, and not particularly quickly, so
these were spamming the logs at their prior 100ms thresholds.  Setting
it to 500ms now.  (still sub-sampled, so should be ~5x less spammy...)
2010-02-22 15:17:49 -08:00
Andreas Huber
b8de9578dc This hardware video decoder lies about its required input buffer sizes allocating 2.7 MB of memory instead of the required 176 KB... Added another quirk.
related-to-bug: 2281327
2010-02-22 14:58:45 -08:00
Mathias Agopian
33285c37ab Merge "remove a dependency of GraphicBuffer (libui) on Parcel (libbinder)." 2010-02-22 14:39:55 -08:00
Romain Guy
17b7d97d71 Merge "Fix bug where calling getButton(int) returns null." 2010-02-22 14:17:52 -08:00
Oscar Montemayor
176160a3ed Merge "Better file permissions enforcement on system keystore." 2010-02-22 14:15:00 -08:00
Doug Felt
1065758a0f Fix rounding of extra spacing when it is negative. 2010-02-22 14:14:57 -08:00
Adam Powell
1efc95f54e Merge "Don't switch layout modes in AbsListView#onTouchModeChanged() Don't stomp mResurrectToPosition for LAYOUT_SPECIFIC in AbsListView#hideSelector()" 2010-02-22 14:14:46 -08:00
Romain Guy
6fe2b22085 Fix bug where calling getButton(int) returns null.
Fixes external bug http://code.google.com/p/android/issues/detail?id=6360
2010-02-22 14:11:40 -08:00
Daniel Sandler
c07907e038 Show the USB mass storage UI as soon as USB is connected.
This is a huge usability win for average users who are
trying to transfer files: it coaches them through the
process while at the same time saving a number of steps.

If the user is just charging via USB, they're most likely
not actively using the device, in which case they won't
notice the difference.

Users with ADB turned on will see the old behavior (just the
ongoing notification, which pops the UsbStorageActivity if
tapped).

Bug: 2299129

Change-Id: Ib63a0a973dfdeb28741268fcf0e0fbc1b7be2922
2010-02-22 16:39:47 -05:00
Tobias Haamel
29274dc363 Also fix the API description file after UI_MODE_SERVICE rename. 2010-02-22 22:27:41 +01:00
San Mehat
b09cc2cde2 Merge "MountService: Force unmount when enabling ums" 2010-02-22 13:21:58 -08:00
San Mehat
3d4881067a MountService: Force unmount when enabling ums
Signed-off-by: San Mehat <san@google.com>
2010-02-22 13:08:44 -08:00
Vasu Nori
93ed831c90 Merge "fix race condition introduced by CL https://android-git.corp.google.com/g/40395" 2010-02-22 12:58:44 -08:00
Dianne Hackborn
299102f8c3 Merge "Fix missing UI_MODE_SERVICE rename." 2010-02-22 12:57:41 -08:00
Bjorn Bringert
da576e8c84 Merge "Don't start global search from system dialogs" 2010-02-22 12:57:13 -08:00
Tobias Haamel
69fb574e29 Fix missing UI_MODE_SERVICE rename. 2010-02-22 21:54:05 +01:00
Bjorn Bringert
b8144a9c18 Don't start global search from system dialogs
Also, set FLAG_ACTIVITY_NEW_TASK to allow launching
global search from non-activity contexts.

Fixes http://b/issue?id=2460991

Change-Id: I833d5b851f0127fb69165fbfc7d1ee190b320401
2010-02-22 20:48:57 +00:00
Tobias Haamel
5333288354 Manager for controlling the UI modes.
The ui modes can be controlled with the UiModeManager class, which
is can be retrieved as a system service via getSytemService(Context.UIMODE_SERVICE).

The class is necessary so that CarHome can be unbundled and other apps can
disable the car mode. Its currently a hidden class, since I'm not sure if this
is the best way to provide this functionality to the user.
2010-02-22 21:42:39 +01:00
Vasu Nori
ec37e42fb2 fix race condition introduced by CL https://android-git.corp.google.com/g/40395 2010-02-22 12:32:52 -08:00
Dianne Hackborn
7e31e0c351 Merge "Fix issue #2438980: Implement package watcher for voice recognizer service setting" 2010-02-22 12:18:01 -08:00
Daniel Sandler
ec2c88d835 Move new sound effects to the system stream.
Change-Id: I11cfa6495abeb0193b1a3929ec54f0386cfe9ed2
2010-02-22 15:10:38 -05:00
James Dong
1b7babd2cc Use Java API from xml configuration in the test application 2010-02-22 11:32:02 -08:00
Dianne Hackborn
21f1bd17b2 Fix issue #2438980: Implement package watcher for voice recognizer service setting
I am getting tired of writing package monitor code, realized this is missing in
a number of places, and at this point it has gotten complicated enough that I
don't think anyone actually does it 100% right so:

Introducing PackageMonitor.

Yes there are no Java docs.  I am still playing around with just what this
thing is to figure out what makes sense and how people will use it.  It is
being used to fix this bug for monitoring voice recognizers (integrating the
code from the settings provider for setting an initial value), to replace
the existing code for monitoring input methods (and fix the bug where we
wouldn't remove an input method from the enabled list when it got
uninstalled), to now monitor live wallpaper package changes (now allowing
us to avoid reverting back to the default live wallpaper when the current
one is updated!), and to monitor device admin changes.

Also includes a fix so you can't uninstall an .apk that is currently enabled
as a device admin.

Also includes a fix where the default time zone was not initialized early
enough which should fix issue #2455507 (Observed Google services frame work crash).

In addition, this finally introduces a mechanism to determine if the
"force stop" button should be enabled, with convenience in PackageMonitor
for system services to handle it.  All services have been updated to support
this.  There is also new infrastructure for reporting battery usage as an
applicatin error report.
2010-02-22 11:27:52 -08:00
Adam Powell
ab3e105282 Don't switch layout modes in AbsListView#onTouchModeChanged()
Don't stomp mResurrectToPosition for LAYOUT_SPECIFIC in AbsListView#hideSelector()
2010-02-22 11:22:31 -08:00
Eric Laurent
9a56aaf12b am 8978547f: am f5fe3949: Fix issue 2459650.
Merge commit '8978547f254b6b6ba2e322794aa044803f3edc2a'

* commit '8978547f254b6b6ba2e322794aa044803f3edc2a':
  Fix issue 2459650.
2010-02-22 11:19:51 -08:00
Oscar Montemayor
1ff8fee7c8 Better file permissions enforcement on system keystore. 2010-02-22 11:17:38 -08:00
Eric Laurent
8978547f25 am f5fe3949: Fix issue 2459650.
Merge commit 'f5fe3949f5db69b19ce3fac7abce2088106f2e2b' into eclair-plus-aosp

* commit 'f5fe3949f5db69b19ce3fac7abce2088106f2e2b':
  Fix issue 2459650.
2010-02-22 11:13:08 -08:00
Joe Onorato
bcea8124a1 Merge "Ignore touch down events near the edge of the screen for the purposes of pulling down the windowshade." 2010-02-22 10:56:18 -08:00
Joe Onorato
679dd12fa1 Ignore touch down events near the edge of the screen for the purposes of pulling down the
windowshade.

This makes it happen less often when you pick up the device or push open the keyboard.
2010-02-22 10:52:11 -08:00
Brad Fitzpatrick
4bd222f107 Merge "Don't let email addresses in database names get into the EventLog." 2010-02-22 09:10:19 -08:00
Brad Fitzpatrick
d833023307 Don't let email addresses in database names get into the EventLog.
Because some apps make SQLite database names containing email
addresses, we take care not to log those email addresses in the
EventLog, so other apps with READ_LOGS access can't read them.
2010-02-22 09:09:21 -08:00
Steve Block
bef118c25d Merge "In DumpRenderTree, skip tests for which we have the wrong results" 2010-02-22 08:18:20 -08:00
Daniel Sandler
7edf7388b8 Merge "Add new action for launching the user's music player app." 2010-02-22 06:32:25 -08:00
Steve Block
164bd79537 In DumpRenderTree, skip tests for which we have the wrong results
Currently, the list of tests with incorrect results is not used.

Change-Id: I5d3ab9bde6201c2574f08c7c87efa4873ee6fdd1
2010-02-22 14:28:05 +00:00