18342 Commits

Author SHA1 Message Date
Andreas Huber
28a5dc229e Merge "Support for rendering through an overlay on the droid even if a software renderer is active." 2010-02-11 12:44:03 -08:00
Tobias Haamel
27b28b3f62 Introduce special UI modes for night and car usage.
The device mode is now called ui mode. Furthermore is the order of
precedence for the resources now in such a way that the ui mode needs
to be specified after the orientation and before the density.

The ui mode can be set, like it is done for the locale, as follows:

IActivityManager am = ActivityManagerNative.getDefault();
Configuration config = am.getConfiguration();
config.uiMode = Configuration.UI_MODE_TYPE_CAR | Configuration.UI_MODE_NIGHT_ANY;
am.updateConfiguration(config);

To allow users to disable the car mode and set the night mode the IUiModeManager
interface is used.

The automatic night mode switching will be added in a separate change.
2010-02-11 21:25:58 +01:00
Charles Chen
d5663a1087 Merge "Setting the synth busy flag inside a synchronized block for thread safety." 2010-02-11 11:58:01 -08:00
Mike LeBeau
1ceb79e99c Merge "Add new setting for the ComponentName of the service to be used for voice recognition on the device. Right now this just queries the package manager at boot and finds the (hopefully) single available recognizer." 2010-02-11 11:41:16 -08:00
Mike LeBeau
5d34e9b63d Add new setting for the ComponentName of the service to be used
for voice recognition on the device. Right now this just queries
the package manager at boot and finds the (hopefully) single
available recognizer.

TODO: Add an attribute to let recognition services expose a settings
activity, and expose the settings activity of the chosen recognition
service in the system settings for voice input & output.
2010-02-11 11:40:02 -08:00
The Android Open Source Project
3941411a21 am 1e90ab54: merge from open-source master
Merge commit '1e90ab542d675616e9370ab7e5add99d7af12587'

* commit '1e90ab542d675616e9370ab7e5add99d7af12587':
  Fixs the incorrect message for SecurityException
  Default RotateDrawable's pivot set to (50%, 50%)
2010-02-11 11:20:40 -08:00
Eric Laurent
777db0c08a Merge "resolved conflicts for merge of 61bb25f2 to master" 2010-02-11 11:16:36 -08:00
Dianne Hackborn
6dee18c5cf New implementation of <original-package> tag.
We now have the new package retain the name of the old package.  This makes
sure that all existing references to it (shortcuts, widgets, etc) will still
work.

This does mean that your package can run under either the old or new name,
depending on whether the user got it with an update.  Buyer beware!

I have tried testing all of the paths of updating, installing another
update in /data, uninstalling the update, updating system with an even
newer update, etc.  I think they all work.  No promises though.
2010-02-11 11:04:49 -08:00
Andreas Huber
4ab5a6fe78 Support for rendering through an overlay on the droid even if a software renderer is active. 2010-02-11 11:03:01 -08:00
David Turner
9386060831 Merge "Fix installd to create /data/data/<pkgname> with appropriate permissions." 2010-02-11 10:58:29 -08:00
Dan Egnor
c0d71d3723 Merge "Truncate SYSTEM_TOMBSTONE events at the end (take the head), but still truncate the other log files at the start (take the tail)." 2010-02-11 10:47:41 -08:00
Dan Egnor
289e58051d Truncate SYSTEM_TOMBSTONE events at the end (take the head),
but still truncate the other log files at the start (take the tail).
2010-02-11 10:40:49 -08:00
Eric Laurent
d7b92a0ff3 resolved conflicts for merge of 61bb25f2 to master 2010-02-11 10:38:28 -08:00
San Mehat
1ab6d75158 Merge "MountService: Fix some mountset bugs and tighten up some return values" 2010-02-11 10:25:59 -08:00
Dan Egnor
18e9396235 Eliminate dependencies on Checkin, replacing checkin events with EventLog
events (and in one case, a DropBox entry).

Add a simple intent that triggers master-clear (and toggle EFS), given the
right permissions.

Bug: 2264596
Bug: 2350452
Bug: 2264596
2010-02-11 10:22:09 -08:00
The Android Open Source Project
1e90ab542d merge from open-source master 2010-02-11 10:03:02 -08:00
Ying Wang
4e208bd872 Merge "Support for product specific fallback font file." 2010-02-11 09:39:22 -08:00
Eric Laurent
61bb25f2f9 am c1eba82b: Merge "Fix issue: 2413494: Add TTY support." into eclair
Merge commit 'c1eba82ba479006045c1d7a4c8ceba116a9602d1' into eclair-plus-aosp

* commit 'c1eba82ba479006045c1d7a4c8ceba116a9602d1':
  Fix issue: 2413494: Add TTY support.
2010-02-11 09:34:59 -08:00
Eric Laurent
c1eba82ba4 Merge "Fix issue: 2413494: Add TTY support." into eclair 2010-02-11 09:23:21 -08:00
Amith Yamasani
5e2c81dca6 Remove in-app to global search toggle. Bug: 2436539
Quick fix to ignore the search key in SearchDialog. Need to
cleanup related code.
2010-02-11 07:29:45 -08:00
San Mehat
a181b21305 MountService: Fix some mountset bugs and tighten up some return values
Signed-off-by: San Mehat <san@google.com>
2010-02-11 06:50:31 -08:00
Bjorn Bringert
2980d10c1a Merge "Add content provider for browser geolocation permissions" 2010-02-11 02:05:30 -08:00
Bjorn Bringert
91f2a20a59 Add content provider for browser geolocation permissions
This replaces the old Google-specific geolocation setting.

Fixes http://b/issue?id=2428694
Part of http://b/issue?id=2383870

Change-Id: I6308b476ad18b1d71d7438b936c592a45365c9f0
2010-02-11 10:02:39 +00:00
Bjorn Bringert
b298351023 Merge "Fix NPE in AppWidgetService.addProvidersForPackageLocked()" 2010-02-11 02:00:24 -08:00
Charles Chen
9b7cb792d0 Setting the synth busy flag inside a synchronized block for
thread safety.
2010-02-10 19:46:48 -08:00
Ray Chen
49ffc0ff72 Revise ThumbnailUtils API. 2010-02-11 10:26:34 +08:00
Jason Sams
0bcc74ccca Merge "Change default mode." 2010-02-10 18:10:02 -08:00
Jason Sams
8dd9ca3e97 Change default mode. 2010-02-10 18:09:36 -08:00
Jason Sams
b8755c7ed3 Merge "Add java benchmark to imageProcessing." 2010-02-10 18:08:28 -08:00
Jason Sams
586f3b5d32 Add java benchmark to imageProcessing. 2010-02-10 18:07:37 -08:00
Jason Sams
b507e71111 Merge "Cleanup image processing example script." 2010-02-10 16:59:47 -08:00
Jason Sams
1d317d1453 Cleanup image processing example script. 2010-02-10 16:58:16 -08:00
Oscar Montemayor
87c2b15d39 Merge "Fix for bug 2427961 android.security.tests.SystemKeyStoreTest:testBasicAccess is failing. Fixed issues in test." 2010-02-10 16:33:01 -08:00
Jim Miller
575c6710a3 Merge "Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*." 2010-02-10 15:45:32 -08:00
Irfan Sheriff
102d05fa91 get DHCP IP on each connection
The IP state was not being refreshed when the supplicant transitions
from COMPLETED to ASSOCIATED to COMPLETED. This can lead to
a connected state with no real connection due to old IP settings.
The fix refreshes IP on each connection.

Bug: 2329261
Change-Id: I38cd56369ee2d8ab3e0f06f5c9f5712b9b2f35a0
2010-02-10 15:22:58 -08:00
Andreas Huber
aa82768b8c Merge "Fixing AMR recording code." 2010-02-10 15:16:09 -08:00
Bjorn Bringert
5f85780db0 Fix NPE in AppWidgetService.addProvidersForPackageLocked()
queryBroadcastReceivers() can return null, so AppWidgetService
should guard against that.

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

Change-Id: I1ba83c0c37622e0280f3dba2fef5eca2cc90c975
2010-02-10 23:09:48 +00:00
Jason Sams
a5cbed967d Merge "Fix ImageProcessing example." 2010-02-10 15:04:56 -08:00
Andreas Huber
259b7c1c1b Fixing AMR recording code. 2010-02-10 15:04:31 -08:00
Jason Sams
ec2746c33f Fix ImageProcessing example. 2010-02-10 15:03:24 -08:00
Ben Cheng
05b2f71ebd Merge "Support per-application switch to execute the VM in safe mode." 2010-02-10 14:52:53 -08:00
Shimeng (Simon) Wang
ea23206c28 Merge "Add back lost python script." 2010-02-10 14:52:07 -08:00
Ben Cheng
23085b781e Support per-application switch to execute the VM in safe mode.
The new attribute can be set by adding android:safeMode="true"
in AndroidManifest.xml with the SDK.

Tested with pairing locally compiled SDK with Eclipse and verified that the JIT
(the only component currently included in the safe mode) is indeed disabled
with the new attribute.

Bug: 2267583
2010-02-10 14:51:31 -08:00
Jim Miller
280b6023cb Fix 2373088: Cleanup and minor fixes to PasswordKeyboard*. 2010-02-10 14:50:58 -08:00
Dan Egnor
60586f2ec6 API CHANGE: Add SSLSessionCache public API to allow unbundled SSL session caching.
Generally clean up the associated SSLCertificateSocketFactory API as well,
change AndroidHttpClient to use this new thing, and make the android-common
library build SDK-clean (woo hoo).

Bug: 2362543
Bug: 2357311
2010-02-10 14:43:21 -08:00
Marco Nelissen
d2e6af66ce Merge "Do autodetection even if no locale was specified, and use the detected encoding if it is unambiguous." 2010-02-10 14:24:44 -08:00
Bjorn Bringert
e4e82f2782 Unhide SearchManager.INTENT_ACTION_SEARCH_SETTINGS
This intent action is needed by Settings to start the search settings
activity which lives in QuickSearchBox / GoogleQuickSearchBox.

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

Change-Id: Iea2a7d9df0092459e5618986f4f789f9257f912a
2010-02-10 21:30:29 +00:00
Bjorn Bringert
23897c16a6 Use resource ID for searchable description
Before, SearchableInfo read and cached the localized
searchable description, which meant that it was not updated
on locale changes. Now SearchableInfo only holds the resource
ID.

SearchableInfo is a new API in Froyo, so it's ok to change.

Part of http://b/issue?id=2175247

Change-Id: I1898f7895b9172f58419d906ad741cb7dd1e7252
2010-02-10 21:22:57 +00:00
Suchi Amalapurapu
f67119bce5 Merge "Set default value for default install location" 2010-02-10 12:45:16 -08:00
Suchi Amalapurapu
a9c1625e71 Set default value for default install location 2010-02-10 12:39:59 -08:00