7482 Commits

Author SHA1 Message Date
Mathias Agopian
3e63f9173a fix [2111536] [FAST BLOCKER] Device is soft rebooted after ending the call through voice dialer 2009-09-11 19:18:20 -07:00
Jaikumar Ganesh
32d8571f50 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
2009-09-11 14:12:48 -07:00
Android (Google) Code Review
162ec9993e Merge change 24635 into eclair
* changes:
  Fix issue #1983406: Soft keyboard doesn't show up in an EditText with "digits" attribute set
2009-09-11 16:46:19 -04:00
Dianne Hackborn
8cae124af2 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
2009-09-11 13:31:45 -07:00
Android (Google) Code Review
7ff269f359 Merge change 24735 into eclair
* changes:
  Handle DisconnectRequested message sent by Bluez.
2009-09-11 15:24:01 -04:00
Jaikumar Ganesh
5e59ca8ae4 Handle DisconnectRequested message sent by Bluez. 2009-09-11 12:16:19 -07:00
Android (Google) Code Review
d68781ace1 Merge change 24675 into eclair
* changes:
  change default for dither to true
2009-09-11 14:56:14 -04:00
Mike Reed
211db4a287 change default for dither to true 2009-09-11 14:40:15 -04:00
Android (Google) Code Review
b14a14194c Merge change 24475 into eclair
* changes:
  Save and restore partial supplicant data, not the whole file.
2009-09-11 14:23:33 -04:00
Amith Yamasani
2cfab84458 Save and restore partial supplicant data, not the whole file.
This makes it compatible between different device types with different
wifi chipsets.
2009-09-11 11:21:19 -07:00
Scott Main
aab72e7c77 am 4d484a82: Merge change 24700 into donut
Merge commit '4d484a823d336ea587e37508fe73178d711dcdca' into eclair

* commit '4d484a823d336ea587e37508fe73178d711dcdca':
  docs only.
2009-09-11 10:49:33 -07:00
Android (Google) Code Review
4d484a823d Merge change 24700 into donut
* changes:
  docs only. add android 1.6 video to the highlights doc and featured videos list
2009-09-11 13:44:08 -04:00
Android (Google) Code Review
e1a9de7a2e 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).
2009-09-11 13:11:20 -04:00
Andreas Huber
2aa39c4507 Only build the "full" stagefright (including MediaExtractors and MediaPlayer) if BUILD_WITH_FULL_STAGEFRIGHT define is set (to true). 2009-09-11 09:54:52 -07:00
Scott Main
94443320ee docs only.
add android 1.6 video to the highlights doc and featured videos list

Change-Id: I8a641a26b7600142af3fbe417fdef89884afb703
2009-09-11 09:45:31 -07:00
Scott Main
764b0c6c66 am 79253f8b: Merge change 24690 into donut
Merge commit '79253f8b4223976c010e52a34e8785648c8fb074' into eclair

* commit '79253f8b4223976c010e52a34e8785648c8fb074':
  docs only.
2009-09-11 09:32:26 -07:00
Scott Main
a1103f336d am 890175db: Merge change 24574 into donut
Merge commit '890175db1f425cb92365cc7941c6c64544b2c164' into eclair

* commit '890175db1f425cb92365cc7941c6c64544b2c164':
  docs only.
2009-09-11 09:32:19 -07:00
Android (Google) Code Review
79253f8b42 Merge change 24690 into donut
* changes:
  docs only. update japanese site homepage with 1.6 sdk links
2009-09-11 12:27:49 -04:00
Android (Google) Code Review
890175db1f Merge change 24574 into donut
* changes:
  docs only. revise the maxSdkVersion description
2009-09-11 12:27:30 -04:00
Dirk Dougherty
40351ecec8 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.
2009-09-11 09:25:45 -07:00
Dirk Dougherty
8a948de56d 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.
2009-09-11 09:25:38 -07:00
Android (Google) Code Review
7350ff3d57 Merge change 24631 into donut
* changes:
  Minor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy Heron.
2009-09-11 12:19:28 -04:00
Android (Google) Code Review
18dd1eeb23 Merge change 24419 into donut
* changes:
  Move API change details from highlights doc to version notes doc.
2009-09-11 12:16:19 -04:00
Scott Main
46f2c55f9a docs only.
update japanese site homepage with 1.6 sdk links

Change-Id: I95041f67a016edb5bc4c2e2d6e746c98133e32ee
2009-09-11 08:46:21 -07:00
Andreas Huber
6026a51424 Move JPEGSource.{cpp,h} into libstagefright. 2009-09-11 07:49:50 -07:00
Tammo Spalink
d304ae583d 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
2009-09-11 13:42:31 +08:00
Android (Google) Code Review
f84a21820b Merge change 24643 into eclair
* changes:
  fix [2112575] stuck on DequeueCondition for a surface that doesn't exist anymore
2009-09-10 22:59:12 -04:00
Android (Google) Code Review
12d2cdcdb0 Merge change 24642 into eclair
* changes:
  make sure conditions will return when the status of a surface is not NO_ERROR
2009-09-10 22:59:02 -04:00
Scott Main
8905daa068 am cd419cf8: Merge change 24641 into donut
Merge commit 'cd419cf89c552479bd382e3e0c554c84375f85f9' into eclair

* commit 'cd419cf89c552479bd382e3e0c554c84375f85f9':
  docs only.
2009-09-10 19:51:37 -07:00
Android (Google) Code Review
cd419cf89c 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
2009-09-10 22:46:35 -04:00
Scott Main
9ce433f08d 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
2009-09-10 19:42:39 -07:00
Mathias Agopian
248b5bd51e 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
2009-09-10 19:41:18 -07:00
Scott Main
f65bc1823a 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.
2009-09-10 19:33:56 -07:00
Scott Main
d27b108375 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
2009-09-10 19:22:48 -07:00
Nick Pelly
005b228cdf 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
2009-09-10 18:52:21 -07:00
Dianne Hackborn
7ed6ee5692 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
2009-09-10 18:41:28 -07:00
Android (Google) Code Review
9b6911cb85 Merge change 24630 into eclair
* changes:
  resolved conflicts for merge of e0408aa1 to eclair
2009-09-10 21:27:20 -04:00
Dirk Dougherty
4c8a16a439 Minor changes to api levels doc and upgrading doc. Change Linux "tested on" to Hardy Heron.
Change-Id: I24a0c3cb5c15e3725fecb5c64d8aa6de17c76cbd
2009-09-10 18:23:12 -07:00
Android (Google) Code Review
38a1081cad Merge change 24514 into eclair
* changes:
  Add smallIcon and accountPreferences references to AuthenticatorDescription. Update after path conflict.
2009-09-10 21:12:11 -04:00
Android (Google) Code Review
f3f7200319 Merge change 24588 into eclair
* changes:
  Fix for multi-apn MMS access.
2009-09-10 21:10:58 -04:00
Jim Miller
70e1ad7d99 Add smallIcon and accountPreferences references to AuthenticatorDescription. Update after path conflict.
Update API for new AuthenticatorDescription preferences.xml
2009-09-10 18:10:53 -07:00
Scott Main
da0a56df96 resolved conflicts for merge of e0408aa1 to eclair 2009-09-10 18:08:37 -07:00
Robert Greenwalt
8206ff30c2 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
2009-09-10 18:01:01 -07:00
Android (Google) Code Review
ebebf9c36c Merge change 24618 into eclair
* changes:
  AGL's glCompressedTexImage2D now checks the imageSize parameter.
2009-09-10 20:45:00 -04:00
Scott Main
d56760ce1e docs only.
revise the maxSdkVersion description

Change-Id: Id71f685fad5d08abc5c07af35edf49f0aa8b0914
2009-09-10 17:39:37 -07:00
Android (Google) Code Review
e0408aa119 Merge change 24559 into donut
* changes:
  docs only. add documentation to notify developers about variable camera specifications and add some more links
2009-09-10 20:17:52 -04:00
Jack Palevich
fb5ea2e579 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.
2009-09-10 17:13:28 -07:00
Mathias Agopian
436c627ca4 make sure conditions will return when the status of a surface is not NO_ERROR 2009-09-10 16:55:13 -07:00
Android (Google) Code Review
68f591b175 Merge change 24607 into eclair
* changes:
  Try not to crash the system server because of corrupt restore data
2009-09-10 19:13:52 -04:00
Christopher Tate
5a8a1151e2 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.
2009-09-10 16:08:47 -07:00