8013 Commits

Author SHA1 Message Date
Romain Guy
d03b880836 Change Theme.Light's background back to pure white.
Go away gray!

Change-Id: Ice59e585bfd01c02c0fa7fd74a8b13e548248f9e
2009-09-16 14:36:16 -07:00
Android (Google) Code Review
b615166ce7 Merge change 25279 into eclair
* changes:
  Added a field to track if the call is to a voicemail instance.
2009-09-16 17:25:51 -04:00
Android (Google) Code Review
82df16c654 Merge change 25297 into eclair
* changes:
  Address romain's code review comments
2009-09-16 15:37:40 -04:00
Cary Clark
c9e2e661f0 slide the title if the site changes the scroll position
Slide the title away if the scroll is to zero or one, and the
title is partially or fully visible. Set the animation time
to at least SLIDE_TITLE_DURATION, currently set to 300 ms.
2009-09-16 15:22:24 -04:00
Android (Google) Code Review
a5526468a3 Merge change 25250 into eclair
* changes:
  Refactor logic for starting forward servers and http test cases hacking, so that they can be shared between automated test mode and UI launch mode.
2009-09-16 15:07:55 -04:00
Mike Lockwood
9092ab4d45 Add support for launching activities when attaching to a car or desk dock.
Categories CATEGORY_CAR_DOCK and CATEGORY_DESK_DOCK can be assigned to
activities to make them launchable on docked events.
This is a better mechanism than listening for ACTION_DOCK_EVENT with a broadcast receiver.

Change-Id: Ic5f3ab3555ce02ca922bc31ebba41978cefe8bda
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-16 14:43:21 -04:00
Android (Google) Code Review
764916d01b Merge change 23383 into eclair
* changes:
  Combine the "Permission Requested" title and subtitle into one string.
2009-09-16 14:36:56 -04:00
Android (Google) Code Review
fee6b69a7c Merge change 25303 into eclair
* changes:
  Add EGL call error checking.
2009-09-16 14:33:20 -04:00
Leon Scroggins
7ae34197b0 Allow touches to change the selection in WebTextView.
Fix http://b/issue?id=2019857

If the user has not moved beyond the scaled touch slop, do not
turn it into a scroll, so the user can change the selection.

Change-Id: I1d88691a35ea2da4b03ad713b56331b5c268b757
2009-09-16 14:24:08 -04:00
Android (Google) Code Review
f5a5f04550 Merge change 25296 into eclair
* changes:
  Add new Gservices setting for discarding uphill ops for eclair and future devices.
2009-09-16 14:16:47 -04:00
Nicolas Catania
60d45f0f03 Added a field to track if the call is to a voicemail instance.
Refactored common code between CallerInfo and CallerInfoAsyncQuery that deal
with voicemail number comparison.

In CallerInfo.java added a new field mIsVoiceMail to indicate this is a
voicemail call.
Added a new method to convert the CallerInfo into a VM instance.
Added a new method to generate a debug string from an instance.

PhoneNumberUtils has a new method "isVoiceMailNumber" to check if a number
is a VM one. I left the method as hidden. Previously any security exception
failure was cached in a static variable. I removed that and
privilege the optmistic scenario. I am not sure if the security exception
is only for the 'regular' telephony layer and if it applies if a 3rd party
VM app is installed (e.g googlevoice), hence i removed the cashing to make
sure we can pick up new voicemail providers when installed/enabled/disabled.

Bug:2112640
2009-09-16 11:11:05 -07:00
Jack Palevich
113096d5d0 Add EGL call error checking. 2009-09-16 11:08:43 -07:00
Android (Google) Code Review
0abc859e14 Merge change 25299 into eclair
* changes:
  Show keyboard automatically in EditTextPreference dialogs
2009-09-16 14:06:34 -04:00
Android (Google) Code Review
99d20717b7 Merge change 25265 into eclair
* changes:
  Fix issue 2123668: Class scope typo in AudioFlinger.cpp.
2009-09-16 13:56:12 -04:00
Amith Yamasani
1d45857075 Show keyboard automatically in EditTextPreference dialogs 2009-09-16 10:51:56 -07:00
Karl Rosaen
1ca654e119 Address romain's code review comments 2009-09-16 10:51:10 -07:00
Cynthia Wong
cac138274c Add new Gservices setting for discarding uphill ops for eclair and future devices. 2009-09-16 10:47:42 -07:00
Evan Millar
2c867f9b7f Fix a handful of bugs in the ContactHeaderWidget
-http://b/issue?id=2074981 fixed
-http://b/issue?id=2088564 fixed.
-http://b/issue?id=2097374 fixed.
-http://b/issue?id=2095896 fixed.
-http://b/issue?id=2093734 fixed.

-Use FasttrackBadgeWidget.

-Also changes api in ContactsHeaderWidget to accept contact uri instead
of contact id.

Change-Id: I6623a99c7f5011387c57fc9a6861eef63174ca6e
2009-09-16 10:43:45 -07:00
Eric Fischer
ee452ee535 Combine the "Permission Requested" title and subtitle into one string.
The translators don't get the strings in order, so having a single sentence
split across two strings makes it difficult to get good translations.
2009-09-16 10:33:47 -07:00
Android (Google) Code Review
4f8bb4c8a0 Merge change 25276 into eclair
* changes:
  Use separate resources to control orientation change for car and desk docks.
2009-09-16 13:29:29 -04:00
Android (Google) Code Review
fc5f10265f Merge change 25291 into eclair
* changes:
  Try to fix sdk build again.
2009-09-16 13:23:35 -04:00
Chih-Chung Chang
9081aec61f Try to fix sdk build again. 2009-09-17 01:20:05 +08:00
Android (Google) Code Review
de88c515ce Merge change 25286 into eclair
* changes:
  Fix sdk build.
2009-09-16 13:15:45 -04:00
Android (Google) Code Review
9f28d9008b Merge change 25280 into eclair
* changes:
  Don't scroll on load if titlebar is visible
2009-09-16 13:12:56 -04:00
Chih-Chung Chang
7b886f9e8c Fix sdk build. 2009-09-17 01:09:08 +08:00
Android (Google) Code Review
f7c3679f89 Merge change 25158 into eclair
* changes:
  Another software color conversion implementation, this time OMX_QCOM_COLOR_FormatYVU420SemiPlanar => rgb565.
2009-09-16 13:01:57 -04:00
Cary Clark
5b28c36644 Don't scroll on load if titlebar is visible
If the restore requests a scroll to zero and the titlebar is
partially or fully visible, skip the scroll altogether.

This fixes http://b/issue?id=2123079
2009-09-16 12:52:24 -04:00
Android (Google) Code Review
2a66eee3ef Merge change 25157 into eclair
* changes:
  Remove deadlock in PackageManager when installing or upgrading packages. PM first creates a temporary file from the input package uri before installing it. if the package uri points to a content uri, the content provider  has to be retrieved via the ActivityManager which could cause deadlocks with the package manager locks being held. Clean up by always copying or creating temporary files before acquiring these locks. Fix issue when restoring a failed upgrade for third party apps.
2009-09-16 12:36:36 -04:00
Android (Google) Code Review
d3ba4811d4 Merge change 25272 into eclair
* changes:
  Make ExifInterface public.
2009-09-16 12:12:03 -04:00
Mike Lockwood
268a573aed Use separate resources to control orientation change for car and desk docks.
Also set default values to -1 (no orientation change).
Specific products should use overlays to customize dock orientation behavior.

Change-Id: Iae26939295842b9ac2f48fdcc23ea01dafec10fe
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-09-16 12:11:05 -04:00
Android (Google) Code Review
b53eaac659 Merge change 25155 into eclair
* changes:
  Fix bug 2115258 where the AudioManager javadoc doesn't warn against misuse of some of the methods that should only be used to implement the Settings and Phone apps, and the audio service.
2009-09-16 12:07:37 -04:00
Android (Google) Code Review
57384101b9 Merge change 25270 into eclair
* changes:
  Use Resources to load search icons with android.resource URIs
2009-09-16 12:03:52 -04:00
Chih-Chung Chang
017bb4ccf7 Make ExifInterface public. 2009-09-16 23:38:34 +08:00
Bjorn Bringert
4c87a3f26a Use Resources to load search icons with android.resource URIs
Before, all icon URIs were opened with
ContentResolver.openInputStream(Uri), but that does not
include the density information from the source
application.

Now, if the URI uses the android.resource scheme,
we resolve the URI to a Resources and a resource ID,
and load it with Resources.getDrawable(int).
This requires making OpenResourceIdResult and getResourceId()
in ContentResolver public (but hidden).

This change also caches icons that were specified using just a
resource ID.

Since loading a Drawable from a URI is a generally useful operation,
it would be good to make it easy for apps to do it in the proper
density-independent way. We could add a getDrawable(Uri)
method to the framework. The question is where.

It would be easiest to add it to ContentResolver, but that may be a
bit odd since there is no other code for dealing with Drawables in
ContentResolver. Another alternative is in Resources, since
getDrawable(int) is there, but that class deals with the resources
for a single app, whereas getDrawable(Uri) can open a drawable
from any app. Putting it in Context may be the best choice,
since that's in android.content, and can thus access package
private members in ContentResolver, and since it's already
a dumping place for random useful high-level methods.
Opinions?

Fixes http://b/issue?id=2034526
"Icons on search do not scale for wide VGA"

Change-Id: I44de0b74826e5560141a3174bcbba991ba6264ac
2009-09-16 16:31:57 +01:00
Chih-Chung Chang
46ad796186 Unhide cancelAutoFocus API in Camera.
Change-Id: I29450867edf9c68ac06e6d76fae0ad93ea89b632
2009-09-16 22:43:46 +08:00
Eric Laurent
2bb6b2a11f Fix issue 2123668: Class scope typo in AudioFlinger.cpp. 2009-09-16 06:02:45 -07:00
Android (Google) Code Review
ccd064d411 Merge change 25255 into eclair
* changes:
  Clean ExifInterface. Prepare to make it public.
2009-09-16 08:14:53 -04:00
Chih-Chung Chang
700beb4846 Clean ExifInterface. Prepare to make it public.
Change-Id: Ibff719d02f525c1e8583d1892737224a0cc42c37
2009-09-16 20:03:48 +08:00
Wu-cheng Li
7478ea6848 Remove trailing spaces. 2009-09-16 18:52:55 +08:00
Chung-yih Wang
8e9ef0e789 Add the hide for the inner class definition. 2009-09-16 15:18:11 +08:00
Guang Zhu
6bf18bae60 Refactor logic for starting forward servers and http test cases hacking, so that they can be shared between automated test mode and UI launch mode. 2009-09-15 23:47:20 -07:00
Chung-yih Wang
4337476a66 Fix the missing part for reading enterprise fields in wifi configuration
+ refactor the enterprise fields.
2009-09-16 14:28:42 +08:00
Android (Google) Code Review
85628188e7 Merge change 25244 into eclair
* changes:
  Flag indicating if Contacts source has any unsynced groups.
2009-09-16 02:16:05 -04:00
Jeff Sharkey
97bda4c5ae Flag indicating if Contacts source has any unsynced groups.
Part of fixing http://b/2084771
2009-09-15 23:15:23 -07:00
Android (Google) Code Review
7fc39b26fc Merge change 25238 into eclair
* changes:
  Implement issue #1780928: Need support hiding nav keys.
2009-09-16 02:04:45 -04:00
Dianne Hackborn
93e462b79d Implement issue #1780928: Need support hiding nav keys.
This implements support for devices whose hardware can hide
their navigation keys.  It works much like the existing keyboardHidden
configuration, and for compatibility uses the same configuration
change bit.

Also add FLAG_TURN_ON_SCREEN for windows, which has the system
cause the screen to be turned on when the window is displayed.
Great fun when used with FLAG_SHOW_WHEN_LOCKED!

Change-Id: I0b867f19af85cfd8786a14cea194b34f7bdd9b7a
2009-09-15 22:50:40 -07:00
Android (Google) Code Review
9352b9fb9e Merge change 25232 into eclair
* changes:
  Fix NPE when provider returns null cursor.
2009-09-16 00:58:06 -04:00
Yu Shan Emily Lau
20a6b955fe modified: MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java
Added the error callback to handle the media server crash.

	modified:   MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaRecorderStressTest.java
2009-09-15 21:42:07 -07:00
Yu Shan Emily Lau
610e3595d2 modified: MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
Fixed the meta data duration
2009-09-15 20:40:07 -07:00
Jeff Sharkey
42fc2c6f0a Fix NPE when provider returns null cursor.
Fixes http://b/2051283
2009-09-15 19:53:51 -07:00