6580 Commits

Author SHA1 Message Date
Mike Lockwood
eb6ed4b4fd am 06952d92: (-s ours) DO NOT MERGE - cherry-picked from master:
Merge commit '06952d9299c23ee15df0825e75934971cfecf2ba'

* commit '06952d9299c23ee15df0825e75934971cfecf2ba':
  DO NOT MERGE - cherry-picked from master:
2009-08-17 10:59:02 -07:00
Romain Guy
621d0beb96 am 8af2d225: Merge change 21471 into eclair
Merge commit '8af2d22552c61d8d4e09e52287f056428172ab05'

* commit '8af2d22552c61d8d4e09e52287f056428172ab05':
  Add Galaxy wallpaper
2009-08-17 10:58:55 -07:00
Android (Google) Code Review
9dc2355b9b Merge change 21492 into eclair
* changes:
  WifiService: Hash based on both SSID and BSSID in scan result cache.
2009-08-17 10:47:06 -07:00
Dianne Hackborn
7341d7a104 More work on wallpapers.
- Do better about figuring out when to stop them and other related window
  management.
- Fix problem where we were not redrawing the surface when the orientation
  changed.  This was the cause of the device hang.
2009-08-17 10:42:59 -07:00
Romain Guy
dd753ae611 Honor the clickable and enabled properties in ListView. 2009-08-17 10:36:23 -07:00
Nick Pelly
a260f3f725 Update docs: readFromParcel() is not necessary to make a class support
Parcelable.
2009-08-17 10:35:49 -07:00
Android (Google) Code Review
56e7ba2928 Merge change 21510 into eclair
* changes:
  LocationManagerService: Add NullPointerException to avoid change in behavior.
2009-08-17 10:29:23 -07:00
Android (Google) Code Review
ffbd2426f0 Merge change 21340 into eclair
* changes:
  Squashed commit of the following:
2009-08-17 10:27:41 -07:00
Andreas Huber
be06d26cdc Squashed commit of the following:
commit 5bb012f0065f7ffaaeb4f569d71f0e3a8d6b19c3
Author: Andreas Huber <andih@google.com>
Date:   Fri Aug 14 10:40:08 2009 -0700

    An attempt at fixing export using the qcom encoders. More quirks.

commit 0690e76bfa48118a68287ccf1bbfa82febaa620c
Author: Andreas Huber <andih@google.com>
Date:   Fri Aug 14 09:08:28 2009 -0700

    Callbacks are now dispatched from a separate thread in OMX.

commit c6571a039526df29b6343f9a1971dbc019088c61
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 13 15:42:25 2009 -0700

    Massive API changes throughout stagefright, smart pointers everywhere.

commit 900612af6a0555664d9ba195112cd859491265f4
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 13 13:33:12 2009 -0700

    OMXCodecs now properly shutdown.

commit 96732f05e1b0603dcd1b11f16a23512592eeb4f5
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 13 12:04:04 2009 -0700

    More work on JPEG decoding using the hardware OMX component.

commit 63839a073ac393e3a130434ba467969053b694ad
Author: Andreas Huber <andih@google.com>
Date:   Wed Aug 12 13:13:31 2009 -0700

    An attempt to drive the JPEG decoder OMX node.

commit 3ac2fe5ab2926eda81b2123610b2434c645294ff
Author: Andreas Huber <andih@google.com>
Date:   Tue Aug 11 16:38:21 2009 -0700

    Renamed StateMachine to OMXCodec and put it in its proper place.

commit 247da75a96bf8881956413023dd49a84d5b4f5b2
Author: Andreas Huber <andih@google.com>
Date:   Tue Aug 11 16:06:19 2009 -0700

    Statemachine is now a full-fledged MediaSource.

commit 045244f6771fa0b9b329495c953afda900a84b71
Author: Andreas Huber <andih@google.com>
Date:   Fri Aug 7 09:16:54 2009 -0700

    Properly setup the input format when exporting to AMR audio.

commit 271b984cb32c5cd9e46e3f90ae121f334e4b8da9
Author: Andreas Huber <andih@google.com>
Date:   Thu Aug 6 09:59:38 2009 -0700

    Added some code to test audio encoding to the OMX harness.

commit 79af4748e4af33bd66d3fbac606e332a69741cf4
Author: Andreas Huber <andih@google.com>
Date:   Wed Aug 5 14:36:22 2009 -0700

    Merge the old OMXDecoder and the new, shiny, StateMachine code.

commit 91cf5dd77a8762bc10a0b2ffce35e3bbeb262231
Author: Andreas Huber <andih@google.com>
Date:   Tue Aug 4 17:41:43 2009 -0700

    A new harness to test OMX node compliance (and quirks).
2009-08-17 10:24:50 -07:00
Mike Lockwood
c6cc836f88 LocationManagerService: Add NullPointerException to avoid change in behavior.
After fixing a null pointer check we were no longer throwing NullPointerExceptions
which caused a CTS test to fail.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-17 13:16:08 -04:00
Jeff Sharkey
fd0d627569 Fix ExpandableListView context menus when has header views.
createContextMenuInfo() should have been subtracting any
header views, similar to performItemClick().  Previously,
this caused getUnflattenedPos() to return invalid positions.

This fixes http://b/issue?id=1778239
2009-08-17 09:53:17 -07:00
Android (Google) Code Review
7d68dae99f Merge change 21494 into eclair
* changes:
  Allow animation styles to be applied to popup windows.
2009-08-17 09:48:55 -07:00
Android (Google) Code Review
86192c614c Merge change 21442 into eclair
* changes:
  Fix a cookie bug. If "secure" is in the end of the string, it was ignored.
2009-08-17 09:19:23 -07:00
Amith Yamasani
d034856ab9 Allow animation styles to be applied to popup windows.
Window params were not carrying the package name required for loading
animation styles from outside of the android package.
2009-08-17 08:08:32 -07:00
Daniel Sandler
3547f859d4 aapt now attempts to process all assets even if some are malformed.
Previously aapt would bail out on the first broken image, making it difficult to compile a comprehensive list of broken images.  Now it will pre- and post-process all of them and report any and all errors (before exiting with an error code if any errors were encountered).

Bug: 2055485
2009-08-17 10:55:47 -04:00
Mike Lockwood
00717e2d04 WifiService: Hash based on both SSID and BSSID in scan result cache.
Fixes problem with base stations that have multiple SSIDs.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-17 10:09:36 -04:00
Mike Lockwood
6ba7ae1e4c LocationManagerService: Fix null pointer check in sendExtraCommand().
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-17 08:39:12 -04:00
Android (Google) Code Review
0ff7a463ad Merge change 21473 into eclair
* changes:
  Fix 1860351: Put datetime in jpeg exif to datetaken field.
2009-08-17 05:16:14 -07:00
Chih-Chung Chang
099397cbd0 Fix 1860351: Put datetime in jpeg exif to datetaken field. 2009-08-17 19:43:24 +08:00
Mike Lockwood
06952d9299 DO NOT MERGE - cherry-picked from master:
PowerManager: Fix problem waking screen from negative proximity sensor events.

Fixes bug b/2048591

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-17 06:56:43 -04:00
Android (Google) Code Review
8af2d22552 Merge change 21471 into eclair
* changes:
  Add Galaxy wallpaper
2009-08-16 23:24:12 -07:00
Romain Guy
81e4640d18 Add Galaxy wallpaper 2009-08-16 23:22:44 -07:00
Fred Quintana
db7dd6b508 am 106278c4: (-s ours) Merge change 21432 into eclair
Merge commit '106278c40271fec941a86e5eac66ae5c8477a56a'

* commit '106278c40271fec941a86e5eac66ae5c8477a56a':
  do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
2009-08-16 17:20:21 -07:00
Android (Google) Code Review
106278c402 Merge change 21432 into eclair
* changes:
  do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch
2009-08-16 17:14:20 -07:00
Jeff Sharkey
bdf0259f83 am 403d7ac7: Bring back SHOULD_SYNC flag so sync groups can be edited.
Merge commit '403d7ac7d14e87ecc7df25a1fbb79649ec5ada90'

* commit '403d7ac7d14e87ecc7df25a1fbb79649ec5ada90':
  Bring back SHOULD_SYNC flag so sync groups can be edited.
2009-08-16 16:39:35 -07:00
Jeff Sharkey
403d7ac7d1 Bring back SHOULD_SYNC flag so sync groups can be edited. 2009-08-16 16:34:35 -07:00
Grace Kloba
dbdad99813 Fix a cookie bug. If "secure" is in the end of the string, it was ignored. 2009-08-16 00:05:01 -07:00
Fred Quintana
ffd0cb04f9 do not merge: cherrypicked 3710f390968e683a0ad3adf0b517dfcade3564ce from master branch 2009-08-15 22:40:25 -07:00
Yong Zhang
d9f532fbf3 am fa2944d9: Replace loop-delay in setPowerStateToDesired() with async approach
Merge commit 'fa2944d93f4c5050fb4a99d90006791c2995b31c'

* commit 'fa2944d93f4c5050fb4a99d90006791c2995b31c':
  Replace loop-delay in setPowerStateToDesired() with async approach
2009-08-15 15:32:21 -07:00
Yong Zhang
fa2944d93f Replace loop-delay in setPowerStateToDesired() with async approach
Issues to be addressed:
The method setPowerStateToDesired() in CdmaServiceStateTracker class sends
a msg to CdmaDataConnectionTracker class to deactive data call, and then starts
a loop which calls SystemClock.sleep() to wait for several seconds.The purpose
of this is to wait for data-disconnection before sending RADIO_POWER off request.
However, the CdmaServiceStateTracker and CdmaDataConnectionTracker are running in
the same process so that the CdmaDataConnectionTracker is not able to process the
message to deactive data before the loop ends.

The patch includes the following changes:
1) In setPowerStateToDesired() in CdmaServiceStateTracker, replace implementation
   of loop-delay by sending a delayed msg to set RADIO_POWER off.

2) In CdmaDataConnectionTracker, when getting EVENT_DISCONNECT_DONE, call a new
   method in CdmaServiceStateTracker to process pending request to turn RADIO_POWER
   off.
2009-08-15 13:01:52 -07:00
Wink Saville
f5e008f0b7 am e6a9bcb7: A hack that when restartRadio is called the CdmaDataConnectionTracker to retry a connection and possibly reconnect after a temporary data loss.
Merge commit 'e6a9bcb7e8280512b0f68230fb72a004f86c8ae1'

* commit 'e6a9bcb7e8280512b0f68230fb72a004f86c8ae1':
  A hack that when restartRadio is called the CdmaDataConnectionTracker
2009-08-15 11:21:41 -07:00
Wink Saville
e6a9bcb7e8 A hack that when restartRadio is called the CdmaDataConnectionTracker
to retry a connection and possibly reconnect after a temporary data loss.

The root cause appears to be because DEACTIVATE and POWER_RADIO_OFF are
sent back to back and POWER_RADIO_OFF completes before DEACTIVATE.
When this happens CdmaDataConnectionTracker won't attempt to reestablish
a data connection until a voice call terminates.

At this time it appears the better solution is have CdmaDataConnectionTracker
wait for DEACTIVATE to complete before issuing POWER_RADIO_OFF, this fix
will be implemented in the near future.
2009-08-15 11:17:18 -07:00
Wink Saville
e2494119f9 am ad4d9e5b: Allow CdmaDataConnectionTracker to handle RIL_UNSOL_OTA_PROVISION_STATUS and when data roaming is enabled reset the retry manager.
Merge commit 'ad4d9e5bebb5a9ba01c1459d941019887f4a7d6d'

* commit 'ad4d9e5bebb5a9ba01c1459d941019887f4a7d6d':
  Allow CdmaDataConnectionTracker to handle RIL_UNSOL_OTA_PROVISION_STATUS
2009-08-15 09:51:29 -07:00
Wink Saville
ad4d9e5beb Allow CdmaDataConnectionTracker to handle RIL_UNSOL_OTA_PROVISION_STATUS
and when data roaming is enabled reset the retry manager.

This change also refactors mRetryMgr to DataConnectionTracker
removing it from Cdma and Gsm data connection trackers child classes.
2009-08-15 08:40:30 -07:00
Dianne Hackborn
53d54234a8 am 549db46c: Merge change 21413 into eclair
Merge commit '549db46cb31725a66cd32ad4e0abb0d60d893fca'

* commit '549db46cb31725a66cd32ad4e0abb0d60d893fca':
  Fix aapt to be able to add configs from overlays.
2009-08-15 00:05:29 -07:00
Android (Google) Code Review
549db46cb3 Merge change 21413 into eclair
* changes:
  Fix aapt to be able to add configs from overlays.
2009-08-15 00:02:36 -07:00
Dianne Hackborn
64551b2e0e Fix aapt to be able to add configs from overlays.
Fixes a bug where any new configurations introduced in an overlay
would be half-way ignored (enough to result in a broken .apk).
2009-08-15 00:00:33 -07:00
Fred Quintana
3710f39096 - changed removeAccount() to be handled by the AccountAuthenticator and to return a boolean
- changed the IAccountManager API to use oneway IPCs
- changed the AccountManager to not have to start a thread for any of the calls (versus every call)
2009-08-14 21:38:58 -07:00
Mathias Agopian
7eacaa6454 am 7193a587: Merge change 21401 into eclair
Merge commit '7193a58763ff73ba84bf4ac1c8f3f745b0a18836'

* commit '7193a58763ff73ba84bf4ac1c8f3f745b0a18836':
  make sure to update a surface's usage bits when it changes, instead of only the first time.
2009-08-14 20:11:09 -07:00
Android (Google) Code Review
7193a58763 Merge change 21401 into eclair
* changes:
  make sure to update a surface's usage bits when it changes, instead of only the first time.
2009-08-14 20:07:51 -07:00
Mathias Agopian
321abdb092 make sure to update a surface's usage bits when it changes, instead of only the first time.
also fixed a few locking issues in Surface and commented how each member is protected.
2009-08-14 18:52:17 -07:00
Mike Lockwood
4e895d35e8 am 82726f04: Merge change 21298 into eclair
Merge commit '82726f045de91b899502a54ca76d234c43a1ba4b'

* commit '82726f045de91b899502a54ca76d234c43a1ba4b':
  ConnectivityService: Do not send broadcasts until the system is ready.
2009-08-14 18:45:40 -07:00
Android (Google) Code Review
82726f045d Merge change 21298 into eclair
* changes:
  ConnectivityService: Do not send broadcasts until the system is ready.
2009-08-14 18:41:56 -07:00
Wei Huang
64e0dbcb99 am c650bf58: Get rid of Settings.getJIDResource(), which really should live in GTalkService. Add API to store the JID resource in IM provider settings.
Merge commit 'c650bf583dbed8701da9a49b9dbd9023768f0df8'

* commit 'c650bf583dbed8701da9a49b9dbd9023768f0df8':
  Get rid of Settings.getJIDResource(), which really should live in GTalkService. Add API to store the JID resource in IM provider settings.
2009-08-14 17:00:02 -07:00
Wei Huang
c650bf583d Get rid of Settings.getJIDResource(), which really should live in GTalkService. Add API to store the JID resource in IM provider settings. 2009-08-14 16:47:10 -07:00
Android (Google) Code Review
d5884a9ba4 Merge change 21358 into donut
* changes:
  Unhide the broadcast intent that signals completion of the TTS language files. This is required for bug 2022435. Correct the javadoc where two intents were mislabelled as broadcast, but were activity actions.
2009-08-14 16:28:12 -07:00
Dmitri Plotnikov
613ad4b8bb am adb4a72d: Merge change 21364 into eclair
Merge commit 'adb4a72d7bcf7351e76ca722b1a9c2a1d5a0d55e'

* commit 'adb4a72d7bcf7351e76ca722b1a9c2a1d5a0d55e':
  Moving contacts-specific strings to donottranslate files.
2009-08-14 16:07:59 -07:00
Android (Google) Code Review
adb4a72d7b Merge change 21364 into eclair
* changes:
  Moving contacts-specific strings to donottranslate files.
2009-08-14 16:04:29 -07:00
Dmitri Plotnikov
bb92af91ce Moving contacts-specific strings to donottranslate files. 2009-08-14 16:01:00 -07:00
Jean-Michel Trivi
9f5eadd2ee Unhide the broadcast intent that signals completion of the TTS language
files. This is required for bug 2022435.
Correct the javadoc where two intents were mislabelled as broadcast,
but were activity actions.
2009-08-14 15:44:31 -07:00