OSDN Git Service

android-x86/frameworks-base.git
14 years agoMerge change 24805 into eclair
Android (Google) Code Review [Sat, 12 Sep 2009 01:08:38 +0000 (21:08 -0400)]
Merge change 24805 into eclair

* changes:
  Don't init wifiChannels until after supplicant up

14 years agoMerge change 22561 into eclair
Android (Google) Code Review [Sat, 12 Sep 2009 01:02:54 +0000 (21:02 -0400)]
Merge change 22561 into eclair

* changes:
  Performance measurement framework:

14 years agoMerge change 24789 into eclair
Android (Google) Code Review [Sat, 12 Sep 2009 00:59:42 +0000 (20:59 -0400)]
Merge change 24789 into eclair

* changes:
   modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java  modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java Fix the m4a1 duration and the also fix the random_seek time error in the stress test.

14 years agoMerge change 24754 into eclair
Android (Google) Code Review [Sat, 12 Sep 2009 00:53:43 +0000 (20:53 -0400)]
Merge change 24754 into eclair

* changes:
  Handle secondary APN connect failures.

14 years agoHandle secondary APN connect failures.
Robert Greenwalt [Fri, 11 Sep 2009 18:27:04 +0000 (11:27 -0700)]
Handle secondary APN connect failures.

Without this we'd only try a secondary APN once and the stop silently, leaving
no APN connected.

Adds a second retry manager with configuration strings to do a more approriate
retry.  Don't retry secondary apn forever.

On permanent failure or retry count hit, we send a Phone.REASON_APN_FAILED
disconnect status.

bug: 2112114

14 years agoDon't init wifiChannels until after supplicant up
Robert Greenwalt [Sat, 12 Sep 2009 00:23:35 +0000 (17:23 -0700)]
Don't init wifiChannels until after supplicant up

The supplicant can take up to 15 seconds to start - setting the number of wifi channels
immediately after requested wifi start often will fail.

Changed to set the number of channels when the supplicant is reported as alive.

bug:2083601

14 years agoPerformance measurement framework:
Jack Wang [Thu, 27 Aug 2009 00:19:13 +0000 (17:19 -0700)]
Performance measurement framework:

+ For bug 1810508
  - Added PerformanceCollector class to collect runtime and memory usage data
    * Moved performance snapshotting from Intrumentation to PerformanceCollector
  - Added PerformanceResultsWriter interface which defines functions for
    reporting performance data

+ Framework integration
  - Added TimedTest annotation to automatically time tests and write results
    to instrumentation output
  - Modified PerformanceTestBase to add collection hooks and wrapper methods
  - Modified WatcherResultPrinter in InstrumentationTestRunner to implement
    PerformanceResultsWriter for instrumentation output of performance data
  - Modified InstrumentationTestRunner and AndroidTestRunner to pass writer
    instance to test

14 years agoMerge change 24797 into eclair
Android (Google) Code Review [Sat, 12 Sep 2009 00:04:01 +0000 (20:04 -0400)]
Merge change 24797 into eclair

* changes:
  Don't backup/restore telephony material from secure settings

14 years ago modified: tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames...
Yu Shan Emily Lau [Fri, 11 Sep 2009 23:23:23 +0000 (16:23 -0700)]
modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/MediaNames.java
modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java
Fix the m4a1 duration and the also fix the random_seek time error in the stress test.

        modified:   tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/MediaPlayerStressTest.java

14 years agoDon't backup/restore telephony material from secure settings
Christopher Tate [Fri, 11 Sep 2009 23:35:39 +0000 (16:35 -0700)]
Don't backup/restore telephony material from secure settings

* Remove several nonportable telephony settings from the set to be included in
  the backed-up dataset

* Explicitly ignore those settings if they're encountered during a restore
  operation, so that we don't inadvertently do things like configure a GSM
  phone to use CDMA logic.

14 years agoMerge change 24609 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 23:24:44 +0000 (19:24 -0400)]
Merge change 24609 into eclair

* changes:
  If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.

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

* changes:
  Fix NPE in TelephonyManager.

14 years agoFix NPE in TelephonyManager.
johnwang [Fri, 11 Sep 2009 21:49:47 +0000 (14:49 -0700)]
Fix NPE in TelephonyManager.

It is for bug 1971628 but affects almost every API function in TelephonyManager. When phone is not ready (for example, after crash and restart) the getSubscriberInfo and getITelephony returns null and causes NPE.

14 years agoMerge change 24762 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 21:45:10 +0000 (17:45 -0400)]
Merge change 24762 into eclair

* changes:
  dumpstate: Switch back to running as non-root

14 years agoMerge change 24764 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 21:30:46 +0000 (17:30 -0400)]
Merge change 24764 into eclair

* changes:
  Add @Widget annotation to GestureOverlayView to make it usable in ADT.

14 years agoAdd @Widget annotation to GestureOverlayView to make it usable in ADT.
Romain Guy [Fri, 11 Sep 2009 21:29:15 +0000 (14:29 -0700)]
Add @Widget annotation to GestureOverlayView to make it usable in ADT.

Change-Id: I86251f0d35e38460f09779f047aabfa99d2e97ae

14 years agoChanges for BT 2.1
Jaikumar Ganesh [Fri, 11 Sep 2009 05:00:05 +0000 (22:00 -0700)]
Changes for BT 2.1

1) Handle incoming 2.1 pairing requests
2) Modify displaying error messages on bond failures.
3) Add delay while accepting incoming pairing for certain 2.1 devices.
When MITM is on, the link key request might come more than once.
Auto accept with a delay.
4) Handle DisplayPasskey callback for pairing a 2.1 keyboard with
a 2.1 device

14 years agodumpstate: Switch back to running as non-root
Mike Lockwood [Fri, 11 Sep 2009 21:12:27 +0000 (17:12 -0400)]
dumpstate: Switch back to running as non-root

Now that we have straightened out the permissions on /data/dontpanic,
root is no longer necessary.

Change-Id: Ic895d712c2e929e4935707da321e1a2b015285c0
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 24635 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 20:46:19 +0000 (16:46 -0400)]
Merge change 24635 into eclair

* changes:
  Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set

14 years agoVarious cleanup around resources and nine-patches.
Dianne Hackborn [Thu, 10 Sep 2009 21:32:16 +0000 (14:32 -0700)]
Various cleanup around resources and nine-patches.

Remove the stuff that doesn't use preloaded drawables when in
compatibility mode, since this works fine ever since we were able
to deal with drawables in a different density than the canvas.

Change the snapshot function on View to return a snapshot at
the same size that will actually be drawn on screen (when in
compatibility mode), to be able to show scaling artifacts and
all.

This change was original an attempt to fix issue #2101917: Text
field edges appears to be improperly rounded.  That turns out to
probably be something deeper in the graphics system, but also
included here is the debugging code I did to try to track down the
problem to make it easy to turn on again later.

Change-Id: I34bfca629639c7ff103f3989d88874112ef778d9

14 years agoMerge change 24735 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 19:24:01 +0000 (15:24 -0400)]
Merge change 24735 into eclair

* changes:
  Handle DisconnectRequested message sent by Bluez.

14 years agoHandle DisconnectRequested message sent by Bluez.
Jaikumar Ganesh [Fri, 11 Sep 2009 19:16:19 +0000 (12:16 -0700)]
Handle DisconnectRequested message sent by Bluez.

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

* changes:
  change default for dither to true

14 years agochange default for dither to true
Mike Reed [Fri, 11 Sep 2009 13:36:35 +0000 (09:36 -0400)]
change default for dither to true

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

* changes:
  Save and restore partial supplicant data, not the whole file.

14 years agoSave and restore partial supplicant data, not the whole file.
Amith Yamasani [Thu, 10 Sep 2009 01:27:31 +0000 (18:27 -0700)]
Save and restore partial supplicant data, not the whole file.

This makes it compatible between different device types with different
wifi chipsets.

14 years agoam 4d484a82: Merge change 24700 into donut
Scott Main [Fri, 11 Sep 2009 17:49:33 +0000 (10:49 -0700)]
am 4d484a82: Merge change 24700 into donut

Merge commit '4d484a823d336ea587e37508fe73178d711dcdca' into eclair

* commit '4d484a823d336ea587e37508fe73178d711dcdca':
  docs only.

14 years agoMerge change 24700 into donut
Android (Google) Code Review [Fri, 11 Sep 2009 17:44:08 +0000 (13:44 -0400)]
Merge change 24700 into donut

* changes:
  docs only. add android 1.6 video to the highlights doc and featured videos list

14 years agoMerge change 24702 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 17:11:20 +0000 (13:11 -0400)]
Merge change 24702 into eclair

* changes:
  Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true).

14 years agoOnly build the "full" stagefright (including MediaExtractors and MediaPlayer) if...
Andreas Huber [Fri, 11 Sep 2009 16:54:52 +0000 (09:54 -0700)]
Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true).

14 years agodocs only.
Scott Main [Fri, 11 Sep 2009 16:39:40 +0000 (09:39 -0700)]
docs only.
add android 1.6 video to the highlights doc and featured videos list

Change-Id: I8a641a26b7600142af3fbe417fdef89884afb703

14 years agoam 79253f8b: Merge change 24690 into donut
Scott Main [Fri, 11 Sep 2009 16:32:26 +0000 (09:32 -0700)]
am 79253f8b: Merge change 24690 into donut

Merge commit '79253f8b4223976c010e52a34e8785648c8fb074' into eclair

* commit '79253f8b4223976c010e52a34e8785648c8fb074':
  docs only.

14 years agoam 890175db: Merge change 24574 into donut
Scott Main [Fri, 11 Sep 2009 16:32:19 +0000 (09:32 -0700)]
am 890175db: Merge change 24574 into donut

Merge commit '890175db1f425cb92365cc7941c6c64544b2c164' into eclair

* commit '890175db1f425cb92365cc7941c6c64544b2c164':
  docs only.

14 years agoMerge change 24690 into donut
Android (Google) Code Review [Fri, 11 Sep 2009 16:27:49 +0000 (12:27 -0400)]
Merge change 24690 into donut

* changes:
  docs only. update japanese site homepage with 1.6 sdk links

14 years agoMerge change 24574 into donut
Android (Google) Code Review [Fri, 11 Sep 2009 16:27:30 +0000 (12:27 -0400)]
Merge change 24574 into donut

* changes:
  docs only. revise the maxSdkVersion description

14 years agoam 7350ff3d: Merge change 24631 into donut
Dirk Dougherty [Fri, 11 Sep 2009 16:25:45 +0000 (09:25 -0700)]
am 7350ff3d: Merge change 24631 into donut

Merge commit '7350ff3d572624abb5a46c3c4969e0b91cb05109' into eclair

* commit '7350ff3d572624abb5a46c3c4969e0b91cb05109':
  Minor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy Heron.

14 years agoam 18dd1eeb: Merge change 24419 into donut
Dirk Dougherty [Fri, 11 Sep 2009 16:25:38 +0000 (09:25 -0700)]
am 18dd1eeb: Merge change 24419 into donut

Merge commit '18dd1eeb23a700ba37604d521d7eab8a371f9dc5' into eclair

* commit '18dd1eeb23a700ba37604d521d7eab8a371f9dc5':
  Move API change details from highlights doc to version notes doc.

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

* changes:
  Minor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy Heron.

14 years agoMerge change 24419 into donut
Android (Google) Code Review [Fri, 11 Sep 2009 16:16:19 +0000 (12:16 -0400)]
Merge change 24419 into donut

* changes:
  Move API change details from highlights doc to version notes doc.

14 years agodocs only.
Scott Main [Fri, 11 Sep 2009 15:46:21 +0000 (08:46 -0700)]
docs only.
update japanese site homepage with 1.6 sdk links

Change-Id: I95041f67a016edb5bc4c2e2d6e746c98133e32ee

14 years agoMove JPEGSource.{cpp,h} into libstagefright.
Andreas Huber [Fri, 11 Sep 2009 14:47:55 +0000 (07:47 -0700)]
Move JPEGSource.{cpp,h} into libstagefright.

14 years agoFix CDMA SMS delivery status reporting.
Tammo Spalink [Thu, 3 Sep 2009 11:05:53 +0000 (19:05 +0800)]
Fix CDMA SMS delivery status reporting.

CDMA SMS status reports are messages with bearer data message type
DELIVERY_ACK.  Identify these messages after parsing during demux,
update the deliveryPendingList and generate a RESULT_OK intent in the
same manner as GSM.

Addresses issue:
http://buganizer/issue?id=2047571

Change-Id: Ia38718b0bb169a0f3398f50c27a95e8bce7e4c99

14 years agoMerge change 24643 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 02:59:12 +0000 (22:59 -0400)]
Merge change 24643 into eclair

* changes:
  fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore

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

* changes:
  make sure conditions will return when the status of a surface is not NO_ERROR

14 years agoam cd419cf8: Merge change 24641 into donut
Scott Main [Fri, 11 Sep 2009 02:51:37 +0000 (19:51 -0700)]
am cd419cf8: Merge change 24641 into donut

Merge commit 'cd419cf89c552479bd382e3e0c554c84375f85f9' into eclair

* commit 'cd419cf89c552479bd382e3e0c554c84375f85f9':
  docs only.

14 years agoMerge change 24641 into donut
Android (Google) Code Review [Fri, 11 Sep 2009 02:46:35 +0000 (22:46 -0400)]
Merge change 24641 into donut

* changes:
  docs only. change the japanese homepage Market link to go to the Market dev site instead of the English market promo site

14 years agodocs only.
Scott Main [Fri, 11 Sep 2009 02:42:39 +0000 (19:42 -0700)]
docs only.
change the japanese homepage Market link
to go to the Market dev site instead of the English market promo site

Change-Id: I81e8675355edee05540f291fdb2654fa44ae1ffa

14 years agofix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore
Mathias Agopian [Fri, 11 Sep 2009 02:41:18 +0000 (19:41 -0700)]
fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore

this also fixes part of [2111536] Device is soft rebooted after ending the call through voice dialer

14 years agoam d27b1083: docs only. add Searchable resource information to the Available Resource...
Scott Main [Fri, 11 Sep 2009 02:33:56 +0000 (19:33 -0700)]
am d27b1083: docs only. add Searchable resource information to the Available Resources doc and update some some of the attribute documentation to indicate that the icon label is not recommended. and fixing merge issue...

Merge commit 'd27b10837525f341eee7d46013e2177b0bad3c60' into eclair

* commit 'd27b10837525f341eee7d46013e2177b0bad3c60':
  docs only.

14 years agodocs only.
Scott Main [Fri, 11 Sep 2009 02:22:48 +0000 (19:22 -0700)]
docs only.
add Searchable resource information to the Available Resources doc
and update some some of the attribute documentation to indicate
that the icon label is not recommended.
and fixing merge issue...

Change-Id: I1b1a62aa9804f4a0bf2f93328dde90b9f7aec50a

14 years agoAPI_CHANGE: Cleanup, javadoc and unhide more Bluetooth API.
Nick Pelly [Thu, 10 Sep 2009 17:21:56 +0000 (10:21 -0700)]
API_CHANGE: Cleanup, javadoc and unhide more Bluetooth API.

This is a large batch, and covers:

-- Bluetooth Device Discovery --
BluetoothAdapter.ACTION_DISCOVERY_STARTED
BluetoothAdapter.ACTION_DISCOVERY_FINISHED
BluetoothAdapter.startDiscovery()
BluetoothAdapter.cancelDiscovery()
BluetoothAdapter.isDiscovering()

-- Bluetooth bonding (pairing) --
BluetoothAdapter.getBondedDevices()
BluetoothDevice.ACTION_BOND_STATE_CHANGED
BluetoothDevice.EXTRA_BOND_STATE
BluetoothDevice.EXTRA_PREVIOUS_BOND_STATE
BluetoothDevice.BOND_NONE
BluetoothDevice.BOND_BONDING
BluetoothDevice.BOND_BONDED
BluetoothDevice.getBondState()
BluetoothDevice.createBond()
BluetoothDevice.cancelBondProcess()
BluetoothDevice.removeBond()

-- BluetoothClass --
BluetoothDevice.ACTION_CLASS_CHANGED
BluetoothDevice.EXTRA_CLASS
BluetoothDevice.getBluetoothClass()
BluetoothClass.Service.*
BluetoothClass.Device.Major.*
BluetoothClass.Device.*
BluetoothClass.getDeviceClass()
BluetoothClass.getMajorDeviceClass()
BluetoothClass.hasService()

-- Misc BluetoothDevice --
BluetoothDevice.ACTION_ACL_CONNECTED
BluetoothDevice.ACTION_ACL_DISCONNECTED_REQUESTED
BluetoothDevice.ACTION_ACL_DISCONNECTED
BluetoothDevice.ACTION_DISCOVERED
BluetoothDevice.ACTION_NAME_CHANGED
BluetoothDevice.EXTRA_DEVICE
BluetoothDevice.EXTRA_NAME
BluetoothDevice.EXTRA_RSSI

-- Misc BluetoothAdapter --
BluetoothAdapter.ACTION_LOCAL_NAME_CHANGED
BluetoothAdapter.EXTRA_LOCAL_NAME
BluetoothAdapter.checkBluetoothAddress()

I deprecated BluetoothIntent and moved each intent into the class it relates
to.

Change-Id: I877b1280428ab46278b2bc25668bb44cda22dc36

14 years agoFix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attrib...
Dianne Hackborn [Fri, 11 Sep 2009 01:41:28 +0000 (18:41 -0700)]
Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set

Also pretend to fix #2054990 (com.android.frameworktest: java.lang.NullPointerException
at android.accessibilityservice.AccessibilityService$IEventListenerWrapper.executeMessage(
AccessibilityService.java:215))...  simply by making the variable that apparently was
null final, to assure myself that there is no possible way in the world for it to be
null. :p

Change-Id: I73e337d65b8360721896a0296691257b3e47564b

14 years agoMerge change 24630 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 01:27:20 +0000 (21:27 -0400)]
Merge change 24630 into eclair

* changes:
  resolved conflicts for merge of e0408aa1 to eclair

14 years agoMinor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy...
Dirk Dougherty [Thu, 10 Sep 2009 17:45:41 +0000 (10:45 -0700)]
Minor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy Heron.

Change-Id: I24a0c3cb5c15e3725fecb5c64d8aa6de17c76cbd

14 years agoMerge change 24514 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 01:12:11 +0000 (21:12 -0400)]
Merge change 24514 into eclair

* changes:
  Add smallIcon and accountPreferences references to AuthenticatorDescription. Update after path conflict.

14 years agoMerge change 24588 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 01:10:58 +0000 (21:10 -0400)]
Merge change 24588 into eclair

* changes:
  Fix for multi-apn MMS access.

14 years agoAdd smallIcon and accountPreferences references to AuthenticatorDescription. Update...
Jim Miller [Thu, 10 Sep 2009 05:45:47 +0000 (22:45 -0700)]
Add smallIcon and accountPreferences references to AuthenticatorDescription. Update after path conflict.

Update API for new AuthenticatorDescription preferences.xml

14 years agoresolved conflicts for merge of e0408aa1 to eclair
Scott Main [Fri, 11 Sep 2009 01:08:37 +0000 (18:08 -0700)]
resolved conflicts for merge of e0408aa1 to eclair

14 years agoFix for multi-apn MMS access.
Robert Greenwalt [Thu, 10 Sep 2009 22:06:20 +0000 (15:06 -0700)]
Fix for multi-apn MMS access.

Mark cellular variants with the same availability, regardless of which are currently in use.
Availability just means the radio is enabled and sees the network, but has no guarantees that
we could connect to an APN if requested.

Fix the requestRouteToHost logic to support apn switches without WIFI.

bug:2093841

14 years agoMerge change 24618 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 00:45:00 +0000 (20:45 -0400)]
Merge change 24618 into eclair

* changes:
  AGL's glCompressedTexImage2D now checks the imageSize parameter.

14 years agodocs only.
Scott Main [Thu, 10 Sep 2009 20:54:48 +0000 (13:54 -0700)]
docs only.
revise the maxSdkVersion description

Change-Id: Id71f685fad5d08abc5c07af35edf49f0aa8b0914

14 years agoMerge change 24559 into donut
Android (Google) Code Review [Fri, 11 Sep 2009 00:17:52 +0000 (20:17 -0400)]
Merge change 24559 into donut

* changes:
  docs only. add documentation to notify developers about variable camera specifications and add some more links

14 years agoAGL's glCompressedTexImage2D now checks the imageSize parameter.
Jack Palevich [Fri, 11 Sep 2009 00:13:28 +0000 (17:13 -0700)]
AGL's glCompressedTexImage2D now checks the imageSize parameter.

This parameter indicates how many bytes of the image data are valid.

Previously this parameter was ignored.

14 years agoIf disk-full, don't crash the system server. Still todo: when we have disk we should...
Costin Manolache [Thu, 10 Sep 2009 23:14:12 +0000 (16:14 -0700)]
If disk-full, don't crash the system server. Still todo: when we have disk we should trigger the  event again.

14 years agomake sure conditions will return when the status of a surface is not NO_ERROR
Mathias Agopian [Thu, 10 Sep 2009 23:55:13 +0000 (16:55 -0700)]
make sure conditions will return when the status of a surface is not NO_ERROR

14 years agoMerge change 24607 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 23:13:52 +0000 (19:13 -0400)]
Merge change 24607 into eclair

* changes:
  Try not to crash the system server because of corrupt restore data

14 years agoTry not to crash the system server because of corrupt restore data
Christopher Tate [Thu, 10 Sep 2009 23:08:47 +0000 (16:08 -0700)]
Try not to crash the system server because of corrupt restore data

When we're about to allocate an array based on the restore data for purposes of
unflattening a signature block, don't automatically assume that it's valid.  If
it's corrupt [and we've seen this in practice] we can wind up trying to allocate
an array with 1.8 million objects, and throw an OutOfMemoryError, bringing down
the system.

This change arbitrarily decides that no package should have more than 20
signatures in its block, and aborts the restore if the metadata is thus revealed
to be corrupt.

14 years agoProcess: Add support for using scheduler policies instead of cgroups.
San Mehat [Wed, 9 Sep 2009 03:28:35 +0000 (20:28 -0700)]
Process: Add support for using scheduler policies instead of cgroups.
Preference is given to cgroups if available.

Signed-off-by: San Mehat <san@google.com>
14 years agoMerge change 24583 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 22:08:08 +0000 (18:08 -0400)]
Merge change 24583 into eclair

* changes:
  Media MIME types now have corresponding constants in MediaDefs.h, new codec enumeration API.

14 years agodocs only.
Scott Main [Thu, 10 Sep 2009 19:22:07 +0000 (12:22 -0700)]
docs only.
add documentation to notify developers about variable
camera specifications and add some more links

Change-Id: I46ef9811af17858cbc6547f88e626becb481b043

14 years agoAllow an alternate eri file.
Wink Saville [Thu, 10 Sep 2009 16:34:44 +0000 (09:34 -0700)]
Allow an alternate eri file.

For testing purposes it is deseriable to allow
vendors to provide an alternate eri file. This
fixes Part A of bug 2108379.

Bug:2108379
Change-Id: I51703c9ac211ced053418e28e277dfab68deea21

14 years agoMedia MIME types now have corresponding constants in MediaDefs.h, new codec enumerati...
Andreas Huber [Thu, 10 Sep 2009 21:13:30 +0000 (14:13 -0700)]
Media MIME types now have corresponding constants in MediaDefs.h, new codec enumeration API.

14 years agoMerge change 24567 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 21:28:57 +0000 (17:28 -0400)]
Merge change 24567 into eclair

* changes:
  Fix issue #1943927: need notification in status bar when adb is active

14 years agoFix issue #1943927: need notification in status bar when adb is active
Dianne Hackborn [Thu, 10 Sep 2009 20:28:12 +0000 (13:28 -0700)]
Fix issue #1943927: need notification in status bar when adb is active

Just a string tweak.

Change-Id: I823445a2db80e6101ebb592a5cee05f369dd4d1d

14 years agoMerge change 24581 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 21:26:05 +0000 (17:26 -0400)]
Merge change 24581 into eclair

* changes:
  Dialog titles would sometimes use a font too large.

14 years agoDialog titles would sometimes use a font too large.
Romain Guy [Thu, 10 Sep 2009 21:11:20 +0000 (14:11 -0700)]
Dialog titles would sometimes use a font too large.

This was due to code in DialogTitle.java which would multiply the textSize of
the theme twice.

Change-Id: Id44e39e729ebd43b08c967a67cde0d33dd8f2efb

14 years agoMove API change details from highlights doc to version notes doc.
Dirk Dougherty [Wed, 9 Sep 2009 20:33:45 +0000 (13:33 -0700)]
Move API change details from highlights doc to version notes doc.

Change-Id: I7c9123092742d64d986cdb91803f16987cd6b4da

14 years agoWallpapers, animations, pending intent.
Dianne Hackborn [Thu, 10 Sep 2009 17:54:46 +0000 (10:54 -0700)]
Wallpapers, animations, pending intent.

Some more tweaks and fixes to wallpapers.  Make sure wallpapers are
told they are not visible when the screen is off.  Add some new animations
for transitions across tasks, and fiddle with many of the existing
animations.  Clean up the relationship between translucent activities
and animations.  Add new API to start a PendingIntent from an
activity.

Change-Id: Ie0bf45fe44081bb6982c75361257a55d9cd9d863

14 years agoMerge change 24551 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 18:53:26 +0000 (14:53 -0400)]
Merge change 24551 into eclair

* changes:
  default dithering to ON (cheap, looks good) officially ignore filtering (expensive, no real improvement)

14 years ago[Issue 2099206] Encoding phone number prior to sending it to the phone lookup filter
Dmitri Plotnikov [Thu, 10 Sep 2009 02:35:55 +0000 (19:35 -0700)]
[Issue 2099206] Encoding phone number prior to sending it to the phone lookup filter

Change-Id: I80327febe7134ac1bdef958251943a9777879d53

14 years agodefault dithering to ON (cheap, looks good)
Mike Reed [Thu, 10 Sep 2009 18:46:41 +0000 (14:46 -0400)]
default dithering to ON (cheap, looks good)
officially ignore filtering (expensive, no real improvement)

14 years agoam c2d3fc2c: Merge change 22323 into donut
Scott Main [Thu, 10 Sep 2009 18:40:01 +0000 (11:40 -0700)]
am c2d3fc2c: Merge change 22323 into donut

Merge commit 'c2d3fc2cc1db63e7bb9421878f2959a3936325a9' into eclair

* commit 'c2d3fc2cc1db63e7bb9421878f2959a3936325a9':
  docs only.

14 years agoMerge change 22323 into donut
Android (Google) Code Review [Thu, 10 Sep 2009 18:29:59 +0000 (14:29 -0400)]
Merge change 22323 into donut

* changes:
  docs only. add the 1.6 platform highlights

14 years agoMerge change 24464 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 18:09:54 +0000 (14:09 -0400)]
Merge change 24464 into eclair

* changes:
  Fix for bug # 2023074: settings db updater broken at version 34.

14 years agoMerge change 24530 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 17:27:50 +0000 (13:27 -0400)]
Merge change 24530 into eclair

* changes:
  Add component name to informational logging in OMXCodec.cpp

14 years agoAdd component name to informational logging in OMXCodec.cpp
Andreas Huber [Thu, 10 Sep 2009 16:57:53 +0000 (09:57 -0700)]
Add component name to informational logging in OMXCodec.cpp

14 years agoAdd timestamp support for call history vcard
Lixin Yue [Wed, 9 Sep 2009 08:27:21 +0000 (16:27 +0800)]
Add timestamp support for call history vcard

14 years agoMerge change 24450 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 16:39:26 +0000 (12:39 -0400)]
Merge change 24450 into eclair

* changes:
  Minor API change in MPEG4Writer, support for amr output into MPEG4 containers.

14 years agoMerge change 24448 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 16:39:16 +0000 (12:39 -0400)]
Merge change 24448 into eclair

* changes:
  Support for amr-wb tracks in MPEG4Extractor.

14 years agoMerge change 24447 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 16:39:08 +0000 (12:39 -0400)]
Merge change 24447 into eclair

* changes:
  Added some more verbose output for AMR formats. Properly fill out the output format.

14 years agoMerge change 24527 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 16:20:49 +0000 (12:20 -0400)]
Merge change 24527 into eclair

* changes:
  MountService: Use correct icon for SD card notifications.

14 years agoMerge change 24283 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 15:28:20 +0000 (11:28 -0400)]
Merge change 24283 into eclair

* changes:
  CameraService change for OVERLAY_FORMAT_DEFAULT

14 years agoMountService: Use correct icon for SD card notifications.
Mike Lockwood [Thu, 10 Sep 2009 15:15:26 +0000 (11:15 -0400)]
MountService: Use correct icon for SD card notifications.

Change-Id: Ia15847c48fce7957f1a376e173d39137b661d51c
Signed-off-by: Mike Lockwood <lockwood@android.com>
14 years agoMerge change 24512 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 15:12:03 +0000 (11:12 -0400)]
Merge change 24512 into eclair

* changes:
  Fix issue android.permission.cts.NoAudioPermissionTest:testRouting is failing.

14 years agoMerge change 24499 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 08:22:09 +0000 (04:22 -0400)]
Merge change 24499 into eclair

* changes:
  Modify android.syncml.pim so that no one is going to use.

14 years agoMerge change 24132 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 08:16:56 +0000 (04:16 -0400)]
Merge change 24132 into eclair

* changes:
  Add two CertTool helper classes.

14 years agoFix issue android.permission.cts.NoAudioPermissionTest:testRouting is failing.
Eric Laurent [Thu, 10 Sep 2009 07:48:21 +0000 (00:48 -0700)]
Fix issue android.permission.cts.NoAudioPermissionTest:testRouting is failing.

Add audio permission checks in setSpeakerphoneOn() and setBluetoothScoOn() methods.

14 years agoMerge change 24501 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 07:40:54 +0000 (03:40 -0400)]
Merge change 24501 into eclair

* changes:
  Make Phone.updateServiceLocation acquire a one-shot wake lock.

14 years agoMake Phone.updateServiceLocation acquire a one-shot wake lock.
Tammo Spalink [Tue, 25 Aug 2009 08:15:50 +0000 (16:15 +0800)]
Make Phone.updateServiceLocation acquire a one-shot wake lock.

Phone.updateServiceLocation() is the internal routine triggered by
external calls to CellLocation.requestLocationUpdate().

addresses bug http://b/issue?id=1724246

Change-Id: Id3d5cab1a77df12d3e94373a58ae94688a8630c6

14 years agoModify android.syncml.pim so that no one is going to use.
Daisuke Miyakawa [Thu, 10 Sep 2009 06:13:57 +0000 (15:13 +0900)]
Modify android.syncml.pim so that no one is going to use.

- Remove android.syncml.pim.vcalendar since no one is using it.
-- We have android.pim.ICalendar.java, so handling vCalendar (== ICalendar) is possble without android.syncml.pim
- Mark android.syncml.pim.vcard and related code as obsolete.
-- Refactored version is in android.pim.vcard, which supports new Contacts database schema.

Related issue: 2110530