9881 Commits

Author SHA1 Message Date
Android (Google) Code Review
7e1af37c31 Merge change Ibe2085be into eclair
* changes:
  Fix issue 2153835: AudioFlinger: setParameters() can remain stuck if output thread is terminated.
2009-09-30 19:19:36 -04:00
Leon Scroggins
10be754232 If the textfield is offscreen at the end of a zoom, remove it.
Fixes http://b/issue?id=2147168

Change-Id: I068746f7a7242bab5bc2116598f0421d7385ce25
2009-09-30 19:03:31 -04:00
Android (Google) Code Review
48e9a0dd66 Merge change Ice5e9209 into eclair
* changes:
  Fix issue #2150258: Suggestions become inactive and do not respond when pressed.
2009-09-30 18:47:45 -04:00
Android (Google) Code Review
78128d721c Merge change I2782ac8c into eclair
* changes:
  Fix regression.
2009-09-30 18:38:55 -04:00
Android (Google) Code Review
094e3e0bcc Merge change Icb89d482 into eclair
* changes:
  Check if rename of backed up file fails before persisting new changes. If not these system services will end up with inconsistent settings files when the device runs out of storage. Delete mangled settings file in PackageManager if the current write fails so that we don't end up overwriting the backed up version with the mangled version Include null check when retrieving fwd locked resource for an existing package
2009-09-30 18:37:45 -04:00
Suchi Amalapurapu
8550f25523 Check if rename of backed up file fails before persisting new changes.
If not these system services will end up with inconsistent settings files
when the device runs out of storage.
Delete mangled settings file in PackageManager if the current write fails
so that we don't end up overwriting the backed up version with the
mangled version
Include null check when retrieving fwd locked resource for an existing package
2009-09-30 15:36:29 -07:00
Nick Pelly
62895a67d2 Fix regression.
When turning off BT while connected to an A2DP/HFP headset we can hit the path

BluetoothHeadsetService.onReceive(BluetoothHeadset.STATE_CHANGED) ->
BluetoothHandsfree.audioOff() ->
BluetoothA2dp.resumeSink() ->
which causes resumeSink() to NPE because mAudioDevices.get() returns null.

It's a race between A2DP marking the device as disconnected, and HFP marking
the device as disconnected.

Fix is to NPE check in resumeSink().

Change-Id: I2782ac8c70ea1678d7de5fcd49bff8e03df36f4e
2009-09-30 15:30:43 -07:00
Jaikumar Ganesh
9d2dc89cc3 am b392c53f: Merge change Iba6fd660 into eclair
Merge commit 'b392c53f1f0bf3c757496295d5ad7a7d00ef151a' into eclair-plus-aosp

* commit 'b392c53f1f0bf3c757496295d5ad7a7d00ef151a':
  Set BondState to Bonding only if it not Bonded already.
2009-09-30 15:29:00 -07:00
Mathias Agopian
4b0ad1359b am 98a9c56a: attempt to work around [2155085, 2150246] stuck in closeTransaction()
Merge commit '98a9c56acf1857adaf1773bd91c88a8364fd3fa8' into eclair-plus-aosp

* commit '98a9c56acf1857adaf1773bd91c88a8364fd3fa8':
  attempt to work around [2155085, 2150246] stuck in closeTransaction()
2009-09-30 15:28:52 -07:00
Android (Google) Code Review
b392c53f1f Merge change Iba6fd660 into eclair
* changes:
  Set BondState to Bonding only if it not Bonded already.
2009-09-30 18:22:46 -04:00
Dianne Hackborn
1bcf5a8a61 Fix issue #2150258: Suggestions become inactive and do not respond when pressed.
Change-Id: Ice5e920998fbe7eb1862f0ee7dca99876482b659
2009-09-30 15:22:29 -07:00
Dianne Hackborn
e67de07627 am a33e3f79: Fix issue #2154794: Force close when start facebook application.
Merge commit 'a33e3f79259b56b03c7912af35944f34ad190e3c' into eclair-plus-aosp

* commit 'a33e3f79259b56b03c7912af35944f34ad190e3c':
  Fix issue #2154794: Force close when start facebook application.
2009-09-30 15:20:10 -07:00
Mathias Agopian
98a9c56acf attempt to work around [2155085, 2150246] stuck in closeTransaction() 2009-09-30 15:15:07 -07:00
Dianne Hackborn
a33e3f7925 Fix issue #2154794: Force close when start facebook application.
I think when we were scanning the updated app in the system image,
from an older version on the data partition, we were not setting
the existing package to have the system flag, so not auto-granting
any new permissions.

This also includes some other cleanup in the package manager to
remove old files in various places, and tighten up logging.

Also similar logging cleanup elsewhere.

Change-Id: I6d113c7cf7e736ab9be512d6d7c94c806a24199a
2009-09-30 15:09:33 -07:00
Dan Egnor
722d67dcb6 am 46e462a3: Merge change I852f8e46 into eclair
Merge commit '46e462a380f90ed8101f9ac3f950a3c702772842' into eclair-plus-aosp

* commit '46e462a380f90ed8101f9ac3f950a3c702772842':
  Only re-initialize backup state if @pm@ metadata is missing,
2009-09-30 14:57:30 -07:00
Eric Laurent
b7d94602e7 Fix issue 2153835: AudioFlinger: setParameters() can remain stuck if output thread is terminated.
Wait for the parameter set completed condition with a time out in ThreadBase::setParameters().
Also lock AudioFlinger mutex before accessing thread list in AudioFlinger::setParameters() and keep a strong reference
on the thread being used in case it is exited while processing the request.
2009-09-30 14:48:20 -07:00
Android (Google) Code Review
46e462a380 Merge change I852f8e46 into eclair
* changes:
  Only re-initialize backup state if @pm@ metadata is missing, to defensively work around a still-mysterious bug where the list of saved packages ends up being empty even though we still have state pending.  If we do re-initialize, then wipe all state to make sure the right thing happens.
2009-09-30 17:48:04 -04:00
Dianne Hackborn
04e8a925c0 am 935cbda0: Merge change I174d16a3 into eclair
Merge commit '935cbda0df2d55247c30d65534ecf31b1ee164b5' into eclair-plus-aosp

* commit '935cbda0df2d55247c30d65534ecf31b1ee164b5':
  Debugging for #2027266: app drawer showing up on the side
2009-09-30 14:41:59 -07:00
Scott Main
3f8e158a9d am d2c494d9: Merge change I8b2e000c into eclair
Merge commit 'd2c494d9be366aed081742c097b97816a6ed9d44' into eclair-plus-aosp

* commit 'd2c494d9be366aed081742c097b97816a6ed9d44':
  add class description and revise descriptions for
2009-09-30 14:41:51 -07:00
Android (Google) Code Review
935cbda0df Merge change I174d16a3 into eclair
* changes:
  Debugging for #2027266: app drawer showing up on the side
2009-09-30 17:36:07 -04:00
Android (Google) Code Review
d2c494d9be Merge change I8b2e000c into eclair
* changes:
  add class description and revise descriptions for get*Drawable and peek*Drawable methods for clarity. also fix some links.
2009-09-30 17:32:01 -04:00
Mathias Agopian
bab6680cde am e4d51bb2: Merge changes I8851617a,Ie1b6f244,I70cab912,Ibd23e30d into eclair
Merge commit 'e4d51bb2a9706a08c3160eb39e076a89c225257c' into eclair-plus-aosp

* commit 'e4d51bb2a9706a08c3160eb39e076a89c225257c':
  fix [2152247] Windows sometimes drawn scaled up.
  invalidate the surface when the physical changes
  introduce the notion of the requested size in the Layer state
  remove unused code
2009-09-30 14:31:22 -07:00
Daisuke Miyakawa
dfe07a850b am 0100fae1: Merge change I1f7c409e into eclair
Merge commit '0100fae14ff12c36eeff07b94cdea5f8756837aa' into eclair-plus-aosp

* commit '0100fae14ff12c36eeff07b94cdea5f8756837aa':
  Make ContactStruct handle Collection properly.
2009-09-30 14:31:15 -07:00
Amith Yamasani
e092e1f531 am 17d262f2: Merge change I69220990 into eclair
Merge commit '17d262f2322258ab88ba2b012c10df37d207ba99' into eclair-plus-aosp

* commit '17d262f2322258ab88ba2b012c10df37d207ba99':
  Fix for 2155255: Revert "Cache inflated view to avoid inflation of layouts in preferences"
2009-09-30 14:31:02 -07:00
Dianne Hackborn
dc6b635cfa Debugging for #2027266: app drawer showing up on the side
Nothing fixed, but this tells us what is going on.

Change-Id: I174d16a3864af2fa235e8cc7b1e74d32a375fb42
2009-09-30 14:28:16 -07:00
Android (Google) Code Review
e4d51bb2a9 Merge changes I8851617a,Ie1b6f244,I70cab912,Ibd23e30d into eclair
* changes:
  fix [2152247] Windows sometimes drawn scaled up.
  invalidate the surface when the physical changes
  introduce the notion of the requested size in the Layer state
  remove unused code
2009-09-30 17:27:18 -04:00
Android (Google) Code Review
0100fae14f Merge change I1f7c409e into eclair
* changes:
  Make ContactStruct handle Collection properly.
2009-09-30 17:27:09 -04:00
Daisuke Miyakawa
1f7c409edc Make ContactStruct handle Collection properly.
Internal Issue number: 2157922
2009-09-30 14:25:48 -07:00
Android (Google) Code Review
17d262f232 Merge change I69220990 into eclair
* changes:
  Fix for 2155255: Revert "Cache inflated view to avoid inflation of layouts in preferences"
2009-09-30 17:22:33 -04:00
Jack Palevich
ebed3c54ba am bcbca57f: Merge change I5ffd6240 into eclair
Merge commit 'bcbca57f4c0da0cee3682c78aacfa081483f0020' into eclair-plus-aosp

* commit 'bcbca57f4c0da0cee3682c78aacfa081483f0020':
  Add a simple test of OpenGL ES 1.x.
2009-09-30 14:21:03 -07:00
Megha Joshi
e8501c84f8 am 523db1c3: Merge change Icf1e2f98 into eclair
Merge commit '523db1c33580f453fd5abd74bede3e0e3e46a825' into eclair-plus-aosp

* commit '523db1c33580f453fd5abd74bede3e0e3e46a825':
  Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.
2009-09-30 14:20:55 -07:00
Mathias Agopian
5bfbe19636 am a015c9be: Merge change I45094a34 into eclair
Merge commit 'a015c9be1b623749320717ad05352eeb76cc6f11' into eclair-plus-aosp

* commit 'a015c9be1b623749320717ad05352eeb76cc6f11':
  remove dead code
2009-09-30 14:20:47 -07:00
Android (Google) Code Review
bcbca57f4c Merge change I5ffd6240 into eclair
* changes:
  Add a simple test of OpenGL ES 1.x.
2009-09-30 17:17:56 -04:00
Jack Palevich
5ffd62405a Add a simple test of OpenGL ES 1.x. 2009-09-30 14:17:12 -07:00
Android (Google) Code Review
523db1c335 Merge change Icf1e2f98 into eclair
* changes:
  Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.
2009-09-30 17:15:54 -04:00
Dan Egnor
852f8e4660 Only re-initialize backup state if @pm@ metadata is missing,
to defensively work around a still-mysterious bug where the
list of saved packages ends up being empty even though we still
have state pending.  If we do re-initialize, then wipe all state
to make sure the right thing happens.

Don't keep open journal files -- close them after every update.
A bit less efficient, but possibly more reliable (again, this is
defensive programming here).  Also change "rwd" to "rws" mode
for fully synchronous operation.
2009-09-30 14:15:43 -07:00
Android (Google) Code Review
a015c9be1b Merge change I45094a34 into eclair
* changes:
  remove dead code
2009-09-30 17:12:01 -04:00
Amith Yamasani
bae6fc2447 Fix for 2155255: Revert "Cache inflated view to avoid inflation of layouts in preferences"
This introduces problems when scrolling through preference screens, due
to a clash in this cache versus the ListView's cache.

This reverts commit 01dbc2ed55a081d41d233e891ea1ea1b0484f383.
2009-09-30 14:11:57 -07:00
Mathias Agopian
bd23e30de4 fix [2152247] Windows sometimes drawn scaled up. 2009-09-30 14:07:22 -07:00
Jaikumar Ganesh
37686069ae Set BondState to Bonding only if it not Bonded already.
Sometimes we might be paired but the other end might not have stored the link
key. So when we initiate connection the other end will ask for the authorization.
This was setting out Bond State to Bonding.

Change-Id: Iba6fd660ac90a3f48da62e7b6cf479054624a5af
2009-09-30 14:02:36 -07:00
Daniel Sandler
67918d3345 am 15f06995: Merge change I96aad5c6 into eclair
Merge commit '15f0699504e64c1e290ef8955b1306d2a4a08201' into eclair-plus-aosp

* commit '15f0699504e64c1e290ef8955b1306d2a4a08201':
  Updated status bar icons.
2009-09-30 13:44:57 -07:00
Android (Google) Code Review
15f0699504 Merge change I96aad5c6 into eclair
* changes:
  Updated status bar icons.
2009-09-30 16:40:03 -04:00
Romain Guy
2fbdbb657a am 5392556b: Merge change I5910a70c into eclair
Merge commit '5392556b65261b5da86301d9b038a12cf70e6197' into eclair-plus-aosp

* commit '5392556b65261b5da86301d9b038a12cf70e6197':
  Fix documentation.
2009-09-30 13:35:17 -07:00
Android (Google) Code Review
5392556b65 Merge change I5910a70c into eclair
* changes:
  Fix documentation.
2009-09-30 16:29:43 -04:00
Romain Guy
040c218429 Fix documentation.
Change-Id: I5910a70ccc2abd2b52f07d3a7204241e1879099a
2009-09-30 13:29:10 -07:00
Daniel Sandler
de6a077673 Updated status bar icons.
(Statusbar_Icons280909_All drop.)

Still to be tweaked:
	ringer_vibrate
	roaming_cdma_0
	roaming_cdma_flash_anim0
	tty_mode

Change-Id: I96aad5c650bf0022a2c5f03f5f77ab333b834e97
2009-09-30 16:24:36 -04:00
Megha Joshi
cf1e2f98d1 Adds Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET to launch fasttrack intent.
Fixes 2137624
2009-09-30 13:17:33 -07:00
Scott Main
8b2e000c43 add class description and revise descriptions for
get*Drawable and peek*Drawable methods for clarity.
also fix some links.
2009-09-30 13:14:55 -07:00
Andrei Popescu
5b95f83356 am 486733c1: Merge change I94856f6d into eclair
Merge commit '486733c1fd564acd6d1b72e38147eb5e6d3a3d71' into eclair-plus-aosp

* commit '486733c1fd564acd6d1b72e38147eb5e6d3a3d71':
  Update <video> implementation after new IRC discussion with Eric Carlsson.
2009-09-30 13:04:42 -07:00
Android (Google) Code Review
486733c1fd Merge change I94856f6d into eclair
* changes:
  Update <video> implementation after new IRC discussion with Eric Carlsson.
2009-09-30 15:55:41 -04:00