8481 Commits

Author SHA1 Message Date
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
Eric Laurent
917ec94734 am 99d20717: Merge change 25265 into eclair
Merge commit '99d20717b7fea022052bbb36dde468aaad67d8c7' into eclair-plus-aosp

* commit '99d20717b7fea022052bbb36dde468aaad67d8c7':
  Fix issue 2123668: Class scope typo in AudioFlinger.cpp.
2009-09-16 11:00:54 -07: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
Mike Lockwood
f324b2b0fc am 4f8bb4c8: Merge change 25276 into eclair
Merge commit '4f8bb4c8a0ec6fa89857281537ad0c5d12bcff47' into eclair-plus-aosp

* commit '4f8bb4c8a0ec6fa89857281537ad0c5d12bcff47':
  Use separate resources to control orientation change for car and desk docks.
2009-09-16 10:32:21 -07:00
Chih-Chung Chang
d5423a9fc8 am fc5f1026: Merge change 25291 into eclair
Merge commit 'fc5f10265fd676c14554a3c85fb665dfed5efe70' into eclair-plus-aosp

* commit 'fc5f10265fd676c14554a3c85fb665dfed5efe70':
  Try to fix sdk build again.
2009-09-16 10:32:14 -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
8bc2495e5e am de88c515: Merge change 25286 into eclair
Merge commit 'de88c515ce3ba2ca15cfeff632ef80d01bfac4df' into eclair-plus-aosp

* commit 'de88c515ce3ba2ca15cfeff632ef80d01bfac4df':
  Fix sdk build.
2009-09-16 10:22:56 -07:00
Chih-Chung Chang
9081aec61f Try to fix sdk build again. 2009-09-17 01:20:05 +08:00
Cary Clark
a78a157905 am 9f28d900: Merge change 25280 into eclair
Merge commit '9f28d9008b96a1f7f3fd14634664d3991d756abf' into eclair-plus-aosp

* commit '9f28d9008b96a1f7f3fd14634664d3991d756abf':
  Don't scroll on load if titlebar is visible
2009-09-16 10:17:18 -07: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
Andreas Huber
51173401f4 am f7c3679f: Merge change 25158 into eclair
Merge commit 'f7c3679f898cdcb208bc1675c79573e1d637083a' into eclair-plus-aosp

* commit 'f7c3679f898cdcb208bc1675c79573e1d637083a':
  Another software color conversion implementation, this time OMX_QCOM_COLOR_FormatYVU420SemiPlanar => rgb565.
2009-09-16 10:08:13 -07: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
Suchi Amalapurapu
bbfbf187ef am 2a66eee3: Merge change 25157 into eclair
Merge commit '2a66eee3ef88bdc7167e5e5d0471c1e8b2e68fc6' into eclair-plus-aosp

* commit '2a66eee3ef88bdc7167e5e5d0471c1e8b2e68fc6':
  Remove deadlock in PackageManager when installing or upgrading packages.
2009-09-16 09:43:52 -07: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
Chih-Chung Chang
53a673661c am d3ba4811: Merge change 25272 into eclair
Merge commit 'd3ba4811d48e01e85b4faa57da159471022e6daa' into eclair-plus-aosp

* commit 'd3ba4811d48e01e85b4faa57da159471022e6daa':
  Make ExifInterface public.
2009-09-16 09:19:41 -07: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
Jean-Michel Trivi
2edbd217af am b53eaac6: Merge change 25155 into eclair
Merge commit 'b53eaac659f93ae41cac8963c58a12d38e33eac8' into eclair-plus-aosp

* commit 'b53eaac659f93ae41cac8963c58a12d38e33eac8':
  Fix bug 2115258 where the AudioManager javadoc doesn't warn against
2009-09-16 09:10:31 -07:00
Bjorn Bringert
5e3f452c46 am 57384101: Merge change 25270 into eclair
Merge commit '57384101b9757b1c67570fae60cdb8f89c84bf32' into eclair-plus-aosp

* commit '57384101b9757b1c67570fae60cdb8f89c84bf32':
  Use Resources to load search icons with android.resource URIs
2009-09-16 09:10:25 -07: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
146a0fabb2 am 46ad7961: Unhide cancelAutoFocus API in Camera.
Merge commit '46ad796186bdca8bac75607340aa0fac0c34a9d8' into eclair-plus-aosp

* commit '46ad796186bdca8bac75607340aa0fac0c34a9d8':
  Unhide cancelAutoFocus API in Camera.
2009-09-16 07:58:30 -07: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
Chih-Chung Chang
e1c64f8f14 am ccd064d4: Merge change 25255 into eclair
Merge commit 'ccd064d4117bef3fc2a0914f03ccc84a1b50aaa1' into eclair-plus-aosp

* commit 'ccd064d4117bef3fc2a0914f03ccc84a1b50aaa1':
  Clean ExifInterface. Prepare to make it public.
2009-09-16 05:21:54 -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
a326c8160f am 7478ea68: Remove trailing spaces.
Merge commit '7478ea6848c0059e65a4089b4ec2ff4158520870' into eclair-plus-aosp

* commit '7478ea6848c0059e65a4089b4ec2ff4158520870':
  Remove trailing spaces.
2009-09-16 04:06:11 -07:00
Wu-cheng Li
7478ea6848 Remove trailing spaces. 2009-09-16 18:52:55 +08:00
Chung-yih Wang
b8e398abe4 am 8e9ef0e7: Add the hide for the inner class definition.
Merge commit '8e9ef0e78970d0ca399bd3c9aaf9011f0e4aaebe' into eclair-plus-aosp

* commit '8e9ef0e78970d0ca399bd3c9aaf9011f0e4aaebe':
  Add the hide for the inner class definition.
2009-09-16 00:28:52 -07: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
614fd72d21 am 4337476a: Fix the missing part for reading enterprise fields in wifi configuration
Merge commit '4337476a6669ce52549ce4a60f5e4d07f8e3033f' into eclair-plus-aosp

* commit '4337476a6669ce52549ce4a60f5e4d07f8e3033f':
  Fix the missing part for reading enterprise fields in wifi configuration
2009-09-15 23:45:11 -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
Jeff Sharkey
46f116520f am 85628188: Merge change 25244 into eclair
Merge commit '85628188e74c015060e7f315560e659e53294775' into eclair-plus-aosp

* commit '85628188e74c015060e7f315560e659e53294775':
  Flag indicating if Contacts source has any unsynced groups.
2009-09-15 23:21:45 -07: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