OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change 26050 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 23:59:16 +0000 (19:59 -0400)]
Merge change 26050 into eclair

* changes:
  Track CPU speed stepping to get more accurate CPU cost per app.

14 years agoUnhide Camera lock and unlock API.
Wu-cheng Li [Thu, 10 Sep 2009 08:49:17 +0000 (16:49 +0800)]
Unhide Camera lock and unlock API.

14 years agoMaintain pending outgoing bonding address.
Jaikumar Ganesh [Sun, 20 Sep 2009 19:56:21 +0000 (12:56 -0700)]
Maintain pending outgoing bonding address.

This helps us to distinguish between incoming and outgoing Bonding requests.

Change-Id: I69e6a269b7dd6aad60e6f5711cad812291a7d313

14 years agoMerge change 26060 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 23:09:29 +0000 (19:09 -0400)]
Merge change 26060 into eclair

* changes:
  log an error when loading an existing GL driver fails

14 years agolog an error when loading an existing GL driver fails
Mathias Agopian [Sun, 20 Sep 2009 23:01:02 +0000 (16:01 -0700)]
log an error when loading an existing GL driver fails

14 years agoTrack CPU speed stepping to get more accurate CPU cost per app.
Amith Yamasani [Fri, 21 Aug 2009 20:11:37 +0000 (13:11 -0700)]
Track CPU speed stepping to get more accurate CPU cost per app.

More CPU speed stepping happening with newer devices, so we need
to qualify CPU time with the CPU speed, since power consumption
varies greatly by speed. Apps that peg the CPU should get a higher
penaltly.

Also, fix for 2062930: NPE at VolumePreference.onKey()

14 years agoMerge change 26047 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 22:35:39 +0000 (18:35 -0400)]
Merge change 26047 into eclair

* changes:
  Fix up the first-backup-ever tracking

14 years agoFix up the first-backup-ever tracking
Christopher Tate [Sun, 20 Sep 2009 22:28:33 +0000 (15:28 -0700)]
Fix up the first-backup-ever tracking

This changes a couple of bits of the Backup Manager's logic around
first-backup-ever handling.  First, it uses the same "what we've ever backed up"
handling as the rest of the system for purposes of instructing the backend to do
a wipe when the metadata is initialized for the device, instead of looking at
the presence of the @pm@ file.  Secondly, for the time being we won't be using
the saved state produced by agents' doRestore() logic.  Until the server is
migrating each restored package's data over to the new dataset, this was
resulting in the client holding an agent state blob for which no data existed on
the server under this device's identity but which the device thought was fully
up to date.

14 years agoMerge change 26034 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 22:09:27 +0000 (18:09 -0400)]
Merge change 26034 into eclair

* changes:
  Clean up spin animation in rotary selector, and be even more generous for triggering.

14 years agoMerge change 26004 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 22:06:23 +0000 (18:06 -0400)]
Merge change 26004 into eclair

* changes:
  Fix issue #1862317: Browser does not appear to honor anchors (#es) in links

14 years agoClean up spin animation in rotary selector, and be even more generous for triggering.
Karl Rosaen [Sun, 20 Sep 2009 22:03:20 +0000 (15:03 -0700)]
Clean up spin animation in rotary selector, and be even more generous for triggering.

14 years agoMerge change 26009 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 21:28:28 +0000 (17:28 -0400)]
Merge change 26009 into eclair

* changes:
  Fix issue with printing gles version in aapt dump badging option If the name attribute for uses-feature or uses-permission is empty the error value is still empty indicating error and preventing the else part from being checked as it should be.

14 years agoMerge change 25746 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 20:48:45 +0000 (16:48 -0400)]
Merge change 25746 into eclair

* changes:
  Fix 2092386: Support yuyv for camera preview format.

14 years agoMerge change 25870 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 20:43:53 +0000 (16:43 -0400)]
Merge change 25870 into eclair

* changes:
  Add ring back tone notification.

14 years agoMerge change 26008 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 20:41:36 +0000 (16:41 -0400)]
Merge change 26008 into eclair

* changes:
  Modified random variable to use java.security.SecureRandom for authentication challenge genration.

14 years agoAdd ring back tone notification.
John Wang [Sat, 19 Sep 2009 00:36:43 +0000 (17:36 -0700)]
Add ring back tone notification.

Some networks may not play ring back tone, RIL will send UNSOL ringback notification.

Apps can register for ring back tone msg and play tone to user for receiving ALERTING message.

The return value indicates to play or stop ring tone.

14 years agoFix issue with printing gles version in aapt dump badging option
Suchi Amalapurapu [Sun, 20 Sep 2009 20:39:37 +0000 (13:39 -0700)]
Fix issue with printing gles version in aapt dump badging option
If the name attribute for uses-feature or uses-permission is empty
the error value is still empty indicating error and preventing the
else part from being checked as it should be.

14 years agoMerge change 25976 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 20:39:48 +0000 (16:39 -0400)]
Merge change 25976 into eclair

* changes:
  Fix adapter name change problem.

14 years agoFix 2092386: Support yuyv for camera preview format.
Chih-Chung Chang [Fri, 18 Sep 2009 10:37:44 +0000 (18:37 +0800)]
Fix 2092386: Support yuyv for camera preview format.

Change-Id: I3ef821fed2132a9faf92983324c7e036d0f5641e

14 years agoModified random variable to use java.security.SecureRandom for authentication challen...
Oscar Montemayor [Sun, 20 Sep 2009 20:23:36 +0000 (13:23 -0700)]
Modified random variable to use java.security.SecureRandom for authentication challenge genration.

14 years agoMerge change 25970 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 20:14:54 +0000 (16:14 -0400)]
Merge change 25970 into eclair

* changes:
  Make removeBond() call async.

14 years agoMerge change 25992 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 20:10:59 +0000 (16:10 -0400)]
Merge change 25992 into eclair

* changes:
  Add an 'init everything' operation to the first backup pass

14 years agoAdd an 'init everything' operation to the first backup pass
Christopher Tate [Sun, 20 Sep 2009 19:43:58 +0000 (12:43 -0700)]
Add an 'init everything' operation to the first backup pass

IBackupTransport.performBackup() now takes a flag "wipeAllFirst", which if set
will result in the entire restore set for the current device/account being wiped
clean prior to the storage of the provided package.  This ensures that a device
on which backup has just been enabled will not confront potentially-stale
information, nor will the restore set potentially contain mismatched data from
orphaned packages.

The Backup Manager has also been revised to pass this flag when first backing up
its master metadata block (and never pass it thereafter unless something has
caused the backup state tracking to be erased, e.g. the user has opted out of
backup and then later re-enabled it).

14 years agoFix issue #1862317: Browser does not appear to honor anchors (#es) in links
Dianne Hackborn [Sun, 20 Sep 2009 19:40:03 +0000 (12:40 -0700)]
Fix issue #1862317: Browser does not appear to honor anchors (#es) in links

Also a little improved debugging output of bad resource identifiers.

Change-Id: I054064ef22855608ffd722e4ccf12ce57d1992b2

14 years agoMerge change 25885 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 19:14:16 +0000 (15:14 -0400)]
Merge change 25885 into eclair

* changes:
  handle calendars with an access level of "root"

14 years agoFix adapter name change problem.
Jaikumar Ganesh [Sun, 20 Sep 2009 18:48:16 +0000 (11:48 -0700)]
Fix adapter name change problem.

This got introduced as a result of the Bluetooth API changes.

Change-Id: I04ce4a91f0e4f74253407897c2f3973f7b0a0055

14 years agoMake removeBond() call async.
Jaikumar Ganesh [Sun, 20 Sep 2009 18:25:09 +0000 (11:25 -0700)]
Make removeBond() call async.

This call has been synchronus since Bluez3.36.
However, since the semantics for all Bluetooth API calls are
asynchronous make this so too. It does fix an occasional ANR
seen while unpairing.

Change-Id: If81f8ec262ea1f6f62775282ab33855a8669c41a

14 years agoMerge change 25853 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 17:28:41 +0000 (13:28 -0400)]
Merge change 25853 into eclair

* changes:
  Don't back up / restore certain sync-related settings

14 years agoMerge change 25959 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 16:59:59 +0000 (12:59 -0400)]
Merge change 25959 into eclair

* changes:
  Add better transition to rotary lock widget when triggering: spin around instead of snap back.

14 years agoAdd better transition to rotary lock widget when triggering: spin around instead...
Karl Rosaen [Sun, 20 Sep 2009 16:48:53 +0000 (09:48 -0700)]
Add better transition to rotary lock widget when triggering: spin around instead of snap back.

Also add some icons and make a layout tweak, used by the lock screen (coming in a commit
to android.policy).

14 years agoMerge change 25894 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 14:49:05 +0000 (10:49 -0400)]
Merge change 25894 into eclair

* changes:
  Adding CONTENT_TYPE to CommonDataKinds.Email

14 years agoMerge change 25938 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 14:48:09 +0000 (10:48 -0400)]
Merge change 25938 into eclair

* changes:
  Don't require WAKE_LOCK permission to enable wifi

14 years agoAdd resources to allow forcing accelerometer based orientation management when docked.
Mike Lockwood [Sun, 20 Sep 2009 04:47:36 +0000 (00:47 -0400)]
Add resources to allow forcing accelerometer based orientation management when docked.

Change-Id: I708507db735e08a13daeff95e106f0a53037f760

Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 25944 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 04:27:28 +0000 (00:27 -0400)]
Merge change 25944 into eclair

* changes:
  Wake the screen if the proximity wakelock is released while the proximity sensor is active.

14 years agoMerge change 25937 into eclair
Android (Google) Code Review [Sun, 20 Sep 2009 04:24:44 +0000 (00:24 -0400)]
Merge change 25937 into eclair

* changes:
  Change the broadcast intent for dock state changes from a sticky broadcast to a sticky ordered broadcast. This is so individual apps can override the default behavior and stop the related dock app from launching.

14 years agoWake the screen if the proximity wakelock is released while the proximity sensor...
Mike Lockwood [Sun, 20 Sep 2009 04:23:59 +0000 (00:23 -0400)]
Wake the screen if the proximity wakelock is released while the proximity sensor is active.

This fixes a problem that resulted in the screen staying off indefinitely if the prox sensor
is active at the beginning of a bluetooth call and could result in the screen staying off
in other similar circumstances.

Change-Id: Icfa0046d3179f9bb2247e7a3c1f9ff073312667a
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoAdd config_use_strict_phone_number_comparation, which will be used by internal applic...
Daisuke Miyakawa [Sun, 20 Sep 2009 01:48:03 +0000 (18:48 -0700)]
Add config_use_strict_phone_number_comparation, which will be used by internal applications.

Related internal issue number: 1892808

14 years agoDon't require WAKE_LOCK permission to enable wifi
Robert Greenwalt [Sun, 20 Sep 2009 01:14:32 +0000 (18:14 -0700)]
Don't require WAKE_LOCK permission to enable wifi

The process for starting wifi was using a wakelock around a message-pass and this was causing
an exception for meer mortals (who don't have WAKE_LOCK permission).

bug: 1750535

14 years agoChange the broadcast intent for dock state changes from a sticky broadcast to
Mike LeBeau [Sun, 20 Sep 2009 01:06:52 +0000 (18:06 -0700)]
Change the broadcast intent for dock state changes from a sticky broadcast to
a sticky ordered broadcast. This is so individual apps can override the default
behavior and stop the related dock app from launching.

14 years agoImplement compareStrictly() using phone_number_compare() written in C.
Daisuke Miyakawa [Sat, 19 Sep 2009 21:25:06 +0000 (14:25 -0700)]
Implement compareStrictly() using phone_number_compare() written in C.

As per several discussions, we stick to the default behavior now.
In stead, we provide compareStrictly() as a hidden method, so that some
internal components are able to use the method if needed.

Since these are static methods, they cannot refer to the configuration files,
whose values can be obtained only via Resources object.

Please make callers' side if you want to use strict version of compare().

Internal issue number: 1892808

14 years agoMerge change 25931 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 21:13:23 +0000 (17:13 -0400)]
Merge change 25931 into eclair

* changes:
  Add better APIs for the battery status, and other cleanup.

14 years agoAdd better APIs for the battery status, and other cleanup.
Dianne Hackborn [Sat, 19 Sep 2009 21:03:05 +0000 (14:03 -0700)]
Add better APIs for the battery status, and other cleanup.

Also add new configs for keeping screen on while docked, which will
be used elsewhere.

Change-Id: Ifaa1118f14fd850ac809895f9a5c9e8c413259b8

14 years agoMerge change 25929 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 19:22:19 +0000 (15:22 -0400)]
Merge change 25929 into eclair

* changes:
  Add API to send an ordered sticky broadcast.

14 years agoAdd API to send an ordered sticky broadcast.
Dianne Hackborn [Sat, 19 Sep 2009 19:03:15 +0000 (12:03 -0700)]
Add API to send an ordered sticky broadcast.

Change-Id: Ida7081204e226db0cd07ff618c08e308a909ec0c

14 years agoMerge change 25779 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 18:30:37 +0000 (14:30 -0400)]
Merge change 25779 into eclair

* changes:
  Add new API for fetching UUIDs using SDP.

14 years agoAdd new API for fetching UUIDs using SDP.
Jaikumar Ganesh [Fri, 18 Sep 2009 18:32:54 +0000 (11:32 -0700)]
Add new API for fetching UUIDs using SDP.

Add new API which clients can use to force an SDP query.
The result is broadcast using an intent having the UUIDs.
The intent is broadcast after a timeout, in case of an error.
This timeout is greater than the page timeout.

Change-Id: I61e6db4c05b34c42f679a66987e37e2063a793b6

14 years agoMoved the toString method in the parent Connection class.
Nicolas Catania [Fri, 18 Sep 2009 20:56:19 +0000 (13:56 -0700)]
Moved the toString method in the parent Connection class.

Beefed up the output to get more info in the logs about
a connection.
Personal data is only logged at debug level.

14 years agoMerge change 25911 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 08:29:22 +0000 (04:29 -0400)]
Merge change 25911 into eclair

* changes:
  Unhide attributes textAppearanceSearchResultSubtitle and attr/textAppearanceSearchResultTitle. We had discussed doing this in Donut but looks like it never happened. We need these attributes for voice search so now's as good a time as any.

14 years agoUnhide attributes textAppearanceSearchResultSubtitle and
Mike LeBeau [Sat, 19 Sep 2009 08:16:30 +0000 (01:16 -0700)]
Unhide attributes textAppearanceSearchResultSubtitle and
attr/textAppearanceSearchResultTitle. We had discussed doing
this in Donut but looks like it never happened. We need these
attributes for voice search so now's as good a time as any.

14 years agoMerge change 25831 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 06:09:44 +0000 (02:09 -0400)]
Merge change 25831 into eclair

* changes:
  When double tap zoom out to overview mode, force reveal the full title bar if it is partial visible.

14 years agoAdding CONTENT_TYPE to CommonDataKinds.Email
Dmitri Plotnikov [Sat, 19 Sep 2009 03:29:11 +0000 (20:29 -0700)]
Adding CONTENT_TYPE to CommonDataKinds.Email

Also removing deprecated API

Change-Id: Ie3bd17282bf57c3a73497c91ce233ed135c79502

14 years agoMerge change 25858 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 03:07:00 +0000 (23:07 -0400)]
Merge change 25858 into eclair

* changes:
  There is a know issue in PV regarding the video size return. Need to put a 1 second sleep before we get the video dimension

14 years agoMerge change 25874 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 02:31:54 +0000 (22:31 -0400)]
Merge change 25874 into eclair

* changes:
  ContactsContract: Adding joined columns to the CommonDataKind class definitions.

14 years agoMerge change 25883 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 01:30:35 +0000 (21:30 -0400)]
Merge change 25883 into eclair

* changes:
  Draw a green triangle using OpenGL 2.0 APIs.

14 years agohandle calendars with an access level of "root"
Debajit Ghosh [Sat, 19 Sep 2009 01:29:37 +0000 (18:29 -0700)]
handle calendars with an access level of "root"

14 years agoDraw a green triangle using OpenGL 2.0 APIs.
Jack Palevich [Sat, 19 Sep 2009 01:27:37 +0000 (18:27 -0700)]
Draw a green triangle using OpenGL 2.0 APIs.

14 years agoMerge change 25873 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 00:56:25 +0000 (20:56 -0400)]
Merge change 25873 into eclair

* changes:
  Fix transformation on windows.

14 years agoContactsContract: Adding joined columns to the CommonDataKind class definitions.
Dmitri Plotnikov [Sat, 19 Sep 2009 00:47:53 +0000 (17:47 -0700)]
ContactsContract: Adding joined columns to the CommonDataKind class definitions.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   Data.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Data.DISPLAY_NAME, // 5
};

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
   Phone._ID, // 0
   Phone.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Phone.DISPLAY_NAME, // 5
};

Change-Id: I2e84bca3277aeef06eec20cee8c2119ef3b90a9f

14 years agoFix transformation on windows.
Dianne Hackborn [Sat, 19 Sep 2009 00:47:02 +0000 (17:47 -0700)]
Fix transformation on windows.

The window offset was being applied incorrectly in relation to the
animation transform.

Change-Id: Ia578129f48cf6c57ae795af862d2b6ce5d447994

14 years agoMerge change 25839 into eclair
Android (Google) Code Review [Sat, 19 Sep 2009 00:09:34 +0000 (20:09 -0400)]
Merge change 25839 into eclair

* changes:
  Fix potential ArrayIndexOutOfBoundsException.

14 years agoThere is a know issue in PV regarding the video size return. Need to put a 1 second...
Yu Shan Emily Lau [Fri, 18 Sep 2009 23:23:09 +0000 (16:23 -0700)]
There is a know issue in PV regarding the video size return. Need to put a 1 second sleep before we get the video dimension

14 years agoMerge change 25826 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 23:14:32 +0000 (19:14 -0400)]
Merge change 25826 into eclair

* changes:
  Suppressed the invalidFrameRate as the framework is not throwing the IOException anymore.

14 years agoMerge change 25847 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 22:59:58 +0000 (18:59 -0400)]
Merge change 25847 into eclair

* changes:
  Fix http://b/issue?id=2099487

14 years agoDon't back up / restore certain sync-related settings
Christopher Tate [Fri, 18 Sep 2009 22:51:15 +0000 (15:51 -0700)]
Don't back up / restore certain sync-related settings

In particular, this no longer attempts to back up the on/off state of specific
backend syncing [gmail/contacts/calendar], nor the "background data" toggle.
The former was causing a great deal of spurious trips through backup as the
notification was being tickled during general sync operation, and the latter
makes little sense at restore time.

Fixes these issues:

b/2097613 - frequent "backup_data_changed" messages in event log
b/2131662 - should not backup background data, master sync settings

14 years agoContactsContract: Adding joined columns to the Data class definition.
Dmitri Plotnikov [Fri, 18 Sep 2009 22:28:22 +0000 (15:28 -0700)]
ContactsContract: Adding joined columns to the Data class definition.

The rationale is this. Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   RawContacts.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Contacts.DISPLAY_NAME, // 5
};

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

private static final String[] PROJECTION_PHONE = {
   Data._ID, // 0
   Data.CONTACT_ID, // 1
   Phone.TYPE, // 2
   Phone.NUMBER, // 3
   Phone.LABEL, // 4
   Data.DISPLAY_NAME, // 5
};

Change-Id: I03bfc700e4c8c58a175bc885bf7b807d7fed0744

14 years agoFix http://b/issue?id=2099487
Evan Millar [Fri, 18 Sep 2009 22:45:42 +0000 (15:45 -0700)]
Fix http://b/issue?id=2099487

Change-Id: Ib5391cc5e9d17bc4ad964471037e7f9819802a64

14 years agoFix potential ArrayIndexOutOfBoundsException.
jsh [Fri, 18 Sep 2009 22:22:48 +0000 (15:22 -0700)]
Fix potential ArrayIndexOutOfBoundsException.

When parsing an SMS message as email, extractEmailAddressFromMessageBody()
checks parts.length >= 1, but then proceeds to access parts[1] (which
may not exist).  Instead, check for parts.length >= 2, and treat
parts.length = 1 as non-email.

b/2122698

14 years agoMerge change 25628 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 22:25:33 +0000 (18:25 -0400)]
Merge change 25628 into eclair

* changes:
  Inefficient but correct fix for 2122381: call finishBackup after every performBackup

14 years agoWhen double tap zoom out to overview mode, force reveal the full
Grace Kloba [Fri, 18 Sep 2009 22:11:51 +0000 (15:11 -0700)]
When double tap zoom out to overview mode, force reveal the full
title bar if it is partial visible.

http://b/issue?id=2110583

14 years agoMerge change 25829 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 22:05:50 +0000 (18:05 -0400)]
Merge change 25829 into eclair

* changes:
  Revert "ContactsContract: Adding joined columns to the Data class definition."

14 years agoRevert "ContactsContract: Adding joined columns to the Data class definition."
Dmitri Plotnikov [Fri, 18 Sep 2009 22:04:58 +0000 (15:04 -0700)]
Revert "ContactsContract: Adding joined columns to the Data class definition."

This reverts commit dd768a6a736bc202b62aa20f3282b3cfb285dc7f.

14 years agoSuppressed the invalidFrameRate as the framework is not throwing the IOException...
Yu Shan Emily Lau [Fri, 18 Sep 2009 21:58:56 +0000 (14:58 -0700)]
Suppressed the invalidFrameRate as the framework is not throwing the IOException anymore.

14 years agoMerge change 25818 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 21:25:21 +0000 (17:25 -0400)]
Merge change 25818 into eclair

* changes:
  Clean up some debugging and add 2 math lib routines.

14 years agoClean up some debugging and add 2 math lib routines.
Jason Sams [Fri, 18 Sep 2009 21:24:24 +0000 (14:24 -0700)]
Clean up some debugging and add 2 math lib routines.

14 years agoMerge change 25810 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 21:02:56 +0000 (17:02 -0400)]
Merge change 25810 into eclair

* changes:
  Fix pause-wait dial string conversion error

14 years agoMerge change 25800 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 20:54:34 +0000 (16:54 -0400)]
Merge change 25800 into eclair

* changes:
  ContactsContract: Adding joined columns to the Data class definition.

14 years agoContactsContract: Adding joined columns to the Data class definition.
Dmitri Plotnikov [Fri, 18 Sep 2009 20:24:25 +0000 (13:24 -0700)]
ContactsContract: Adding joined columns to the Data class definition.

The rationale is this.  Since all these joined columns are currently on
different classes, we routinely see code like this:

private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        RawContacts.CONTACT_ID,     // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Contacts.DISPLAY_NAME,      // 5
    };

The most noxious line is RawContacts.CONTACT_ID

After this change, the above declaration changes to:

    private static final String[] PROJECTION_PHONE = {
        Data._ID,                   // 0
        Data.CONTACT_ID,            // 1
        Phone.TYPE,                 // 2
        Phone.NUMBER,               // 3
        Phone.LABEL,                // 4
        Data.DISPLAY_NAME,          // 5
    };

Change-Id: I820e68efd6c1364241596f826c4da1b9c2defe11

14 years agoMerge change 25780 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 20:51:36 +0000 (16:51 -0400)]
Merge change 25780 into eclair

* changes:
  Reject lowercase characters in checkBluetoothAddress().

14 years agoMore hi-res assets, and darken background color to donut level.
Evan Millar [Fri, 18 Sep 2009 20:18:59 +0000 (13:18 -0700)]
More hi-res assets, and darken background color to donut level.

Includes hi-res divider and header assets.

Change-Id: I8fbeb619509886f707fe604a8057c6beda1e03a7

14 years agoMerge change 25785 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 19:23:40 +0000 (15:23 -0400)]
Merge change 25785 into eclair

* changes:
  Fix http://b/2126318 (density test fails due to wrong-size asset stripping)

14 years agoMerge change 25786 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 19:18:27 +0000 (15:18 -0400)]
Merge change 25786 into eclair

* changes:
  Fix http://b/2086471 (list view headers too dark in mdpi).

14 years agoFix http://b/2086471 (list view headers too dark in mdpi).
Daniel Sandler [Fri, 18 Sep 2009 19:17:33 +0000 (15:17 -0400)]
Fix b/2086471 (list view headers too dark in mdpi).

14 years agoFix http://b/2126318 (density test fails due to wrong-size asset stripping)
Daniel Sandler [Fri, 18 Sep 2009 18:06:07 +0000 (14:06 -0400)]
Fix b/2126318 (density test fails due to wrong-size asset stripping)

The density test expects all resources of all densities to be included, but specifying a density for a particular device build kills that. We therefore add all the required densities explicitly to the Makefile to compensate.

14 years agoMerge change 25752 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 19:07:28 +0000 (15:07 -0400)]
Merge change 25752 into eclair

* changes:
  Add a Gservices setting to controll the app error reporting feature.

14 years agoMerge change 25775 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 18:53:46 +0000 (14:53 -0400)]
Merge change 25775 into eclair

* changes:
  Fix typo in SECONDARY_DATA_RETRY_CONFIG

14 years agoMerge change 25464 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 18:38:38 +0000 (14:38 -0400)]
Merge change 25464 into eclair

* changes:
  Improve ExifInterface API.

14 years agoReject lowercase characters in checkBluetoothAddress().
Nick Pelly [Fri, 18 Sep 2009 18:37:06 +0000 (11:37 -0700)]
Reject lowercase characters in checkBluetoothAddress().

This keeps consistency with Bluez which uses upper case string address. It's
important to keep the case the same so that .equals() in BluetoothService.java
work.

Change-Id: I6404ca137d0aec3cc2e6e7cb79763d5305a03547

14 years agoImprove ExifInterface API.
Chih-Chung Chang [Thu, 17 Sep 2009 09:58:32 +0000 (17:58 +0800)]
Improve ExifInterface API.

Change-Id: Ic6c4df8244b51b9a0d1c73c3797847220d86604d

14 years agoFix pause-wait dial string conversion error
Libin Tang [Wed, 16 Sep 2009 21:46:09 +0000 (16:46 -0500)]
Fix pause-wait dial string conversion error

Resolves these specific cases:
8475766800;,1234
8475766800,;1234

Both of these should be converted to 8475766800;1234

Change-Id: Ic329007a3a6e99b1dd55cd8cdec7239dd734c3ca

14 years agoFix typo in SECONDARY_DATA_RETRY_CONFIG
Robert Greenwalt [Fri, 18 Sep 2009 18:23:58 +0000 (11:23 -0700)]
Fix typo in SECONDARY_DATA_RETRY_CONFIG

The parser doesn't like ';'.

bug: 2130639

14 years agoMerge change 25772 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 18:22:01 +0000 (14:22 -0400)]
Merge change 25772 into eclair

* changes:
  Add progress view and default poster for the <video> implementation

14 years agoAdd progress view and default poster for the <video> implementation
Andrei Popescu [Fri, 18 Sep 2009 17:59:52 +0000 (18:59 +0100)]
Add progress view and default poster for the <video> implementation

14 years agoMerge change 25768 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 17:29:34 +0000 (13:29 -0400)]
Merge change 25768 into eclair

* changes:
  Add one line of logging when SCO SOCKET connect starts.

14 years agoAdd one line of logging when SCO SOCKET connect starts.
Nick Pelly [Fri, 18 Sep 2009 17:17:41 +0000 (10:17 -0700)]
Add one line of logging when SCO SOCKET connect starts.

This is to help collect information from Moto QA about delays connecting BT
audio.

Change-Id: I790c65f5b64c85aaffc0e68ebe8b6202f476b39f
http://b/2129464

14 years agoMerge change 25734 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 17:16:30 +0000 (13:16 -0400)]
Merge change 25734 into eclair

* changes:
  Show the live wallpaper on the lock screen.

14 years agoMerge change 25644 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 17:01:05 +0000 (13:01 -0400)]
Merge change 25644 into eclair

* changes:
  add Eclair to the droiddoc 'since' options so that we can see API Level diffs in the docs.

14 years agoDo not attempt to retry a scrollTo with a negative position.
Leon Scroggins [Thu, 17 Sep 2009 21:27:13 +0000 (17:27 -0400)]
Do not attempt to retry a scrollTo with a negative position.

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

Change-Id: If938c8f6e5d74b91e39a06a5736967663c9800b7

14 years agoShow the live wallpaper on the lock screen.
Dianne Hackborn [Fri, 18 Sep 2009 08:53:49 +0000 (01:53 -0700)]
Show the live wallpaper on the lock screen.

This also takes care of the problem of system dialogs like the
crash dialog causing the status bar to dim behind the lock screen.

On the down side, the fade transition from the lock screen is
now gone, and I'm not sure how likely it is for it to return.

Change-Id: I7f9e6d0f3510a1fdbbe6ad252d986bd85a16475d

14 years agoWhen a WebView starts, we may get first layout before viewSizeChanged()
Grace Kloba [Thu, 17 Sep 2009 22:31:12 +0000 (15:31 -0700)]
When a WebView starts, we may get first layout before viewSizeChanged()
ever get called. Call WebView's getViewWidth() to get the current UI
width. If it is still 0, log a warning.

Fix http://b/issue?id=2128645

14 years agoMerge change 25666 into eclair
Android (Google) Code Review [Fri, 18 Sep 2009 16:11:28 +0000 (12:11 -0400)]
Merge change 25666 into eclair

* changes:
  Save message size