OSDN Git Service
Android (Google) Code Review [Mon, 14 Sep 2009 17:08:02 +0000 (13:08 -0400)]
Merge change 24742 into eclair
* changes:
Apparently I must not use OMX_UseBuffer on either input or output ports on any of the TI components... or else.
Android (Google) Code Review [Mon, 14 Sep 2009 16:27:40 +0000 (12:27 -0400)]
Merge change 24747 into eclair
* changes:
Use floor to calculate the range to avoid the rounding error triggered scrollbar. The worst case is that you can never scroll down to the last pixel. The old special case can cause problem when getViewWidth/Height have changed which do not match mLastXXSent any more.
Android (Google) Code Review [Mon, 14 Sep 2009 15:30:43 +0000 (11:30 -0400)]
Merge change 24683 into eclair
* changes:
Tell GlobalSearch about searches without a suggestion
Android (Google) Code Review [Mon, 14 Sep 2009 06:43:52 +0000 (02:43 -0400)]
Merge change 24337 into eclair
* changes:
Fix issue
2107584: media server crash when AudioFlinger fails to allocate memory for track control block.
Bjorn Bringert [Fri, 11 Sep 2009 14:44:51 +0000 (15:44 +0100)]
Deprecate showSearchIconAsBadge and icon search attrs
mlebeau says:
"Basically, because we now show the app icon for in-app
search, showSearchIconAsBadge is a bit unnecessary, but it does in
fact still work. Basically if either showSearchIconAsBadge or
showSearchLabelAsBadge are specified, we grow the height of the search
bar and place the provided icon or the provided label, respectively,
above the text field and app icon. But we do not remove the app icon
if the developer specifies showSearchIconAsBadge - it's still just the
'badge area' above the icon."
Fixes:
http://b/issue?id=
2105329
"Deprecate searchable attributes 'showSearchIconAsBadge' and 'icon'"
Change-Id: Ie2976aafe42b4ab870be9e64b34eb0ed441ebbb0
Android (Google) Code Review [Mon, 14 Sep 2009 03:44:52 +0000 (23:44 -0400)]
Merge change 24673 into eclair
* changes:
Add tests and misc fixes on keystore.
James Dong [Mon, 14 Sep 2009 00:10:24 +0000 (17:10 -0700)]
Pass return code from Camera HAL for setParameters().
bug
2116866
Android (Google) Code Review [Sun, 13 Sep 2009 22:43:38 +0000 (18:43 -0400)]
Merge change 24509 into eclair
* changes:
Addressed reviewer comments.
Ye Wen [Fri, 11 Sep 2009 18:48:19 +0000 (11:48 -0700)]
Moving ImProvider to TalkProvider: Change Im.java to use the new TalkProvider; change the authority
from "im" to "com.google.android.providers.talk"; also change the mime types.
Android (Google) Code Review [Sat, 12 Sep 2009 02:19:10 +0000 (22:19 -0400)]
Merge change 24825 into eclair
* changes:
fix [
2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer
Mathias Agopian [Sat, 12 Sep 2009 02:18:20 +0000 (19:18 -0700)]
fix [
2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer
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
Android (Google) Code Review [Sat, 12 Sep 2009 01:02:54 +0000 (21:02 -0400)]
Merge change 22561 into eclair
* changes:
Performance measurement framework:
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.
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.
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
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
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
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
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
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.
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.
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.
Grace Kloba [Fri, 11 Sep 2009 20:20:39 +0000 (13:20 -0700)]
Use floor to calculate the range to avoid the rounding error triggered
scrollbar. The worst case is that you can never scroll down to the last
pixel. The old special case can cause problem when getViewWidth/Height
have changed which do not match mLastXXSent any more.
Remove FIND_HEIGHT from computeVerticalScrollRange per conversation with Leon.
Change computeMaxScrollY to use computeVerticalScrollRange which matches
how it computes X.
Change onMeasure to use contentToViewDimension() as it has the same logic.
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.
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
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.
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
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
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>
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
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
Andreas Huber [Fri, 11 Sep 2009 19:58:53 +0000 (12:58 -0700)]
Apparently I must not use OMX_UseBuffer on either input or output ports on any of the TI components... or else.
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.
Jaikumar Ganesh [Fri, 11 Sep 2009 19:16:19 +0000 (12:16 -0700)]
Handle DisconnectRequested message sent by Bluez.
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
Mike Reed [Fri, 11 Sep 2009 13:36:35 +0000 (09:36 -0400)]
change default for dither to true
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.
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.
Scott Main [Fri, 11 Sep 2009 17:49:33 +0000 (10:49 -0700)]
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
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).
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).
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
Scott Main [Fri, 11 Sep 2009 16:32:26 +0000 (09:32 -0700)]
Scott Main [Fri, 11 Sep 2009 16:32:19 +0000 (09:32 -0700)]
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
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
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.
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.
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.
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.
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
Andreas Huber [Fri, 11 Sep 2009 14:47:55 +0000 (07:47 -0700)]
Move JPEGSource.{cpp,h} into libstagefright.
Bjorn Bringert [Fri, 11 Sep 2009 11:17:54 +0000 (12:17 +0100)]
Tell GlobalSearch about searches without a suggestion
This is the framework part of http://b/issue?id=
2099399
"executing a search in QSB should create a shortcut (like
when you click on a search suggestion)"
Change-Id: I2d07d9bfc808112948629ca16b24bc870fbd5fa6
Hung-ying Tyan [Fri, 11 Sep 2009 10:34:28 +0000 (18:34 +0800)]
Add tests and misc fixes on keystore.
* Refactor netkeystore.c to make client and server code testable.
* Add a client test for setting new passwd and changing passwd.
* Exclude "." and ".." from reset_keystore().
* Change ServerCommand.executeCommand() to accept variable length of
arguments and add convert() to marshalling the args to bytes.
* Keystore.java is revised accordingly.
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
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
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
Scott Main [Fri, 11 Sep 2009 02:51:37 +0000 (19:51 -0700)]
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
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
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
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.
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
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
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
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
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
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.
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.
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
Scott Main [Fri, 11 Sep 2009 01:08:37 +0000 (18:08 -0700)]
resolved conflicts for merge of
e0408aa1 to eclair
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
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.
Scott Main [Thu, 10 Sep 2009 20:54:48 +0000 (13:54 -0700)]
docs only.
revise the maxSdkVersion description
Change-Id: Id71f685fad5d08abc5c07af35edf49f0aa8b0914
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
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.
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.
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
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
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.
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>
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.
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
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
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.
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
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
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.
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
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
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
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)
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
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)
Scott Main [Thu, 10 Sep 2009 18:40:01 +0000 (11:40 -0700)]
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
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.
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