6388 Commits

Author SHA1 Message Date
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
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
Sahil Sachdeva
896fdb3929 am c9706f02: (-s ours) DO NOT MERGE, ALready merged to master. 1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side.
Merge commit 'c9706f0262a2f399f95e0d78ba2b7616e08d0069'

* commit 'c9706f0262a2f399f95e0d78ba2b7616e08d0069':
  DO NOT MERGE, ALready merged to master.
2009-08-14 15:38:30 -07:00
Mike Reed
187f8659af am 87224294: Merge change 21311 into eclair
Merge commit '872242948184d7b6fed8b127d8ba8386487dc826'

* commit '872242948184d7b6fed8b127d8ba8386487dc826':
  fix documentation
2009-08-14 15:13:20 -07:00
Dianne Hackborn
1c44ecd1bc am 410676bb: Merge change 21307 into eclair
Merge commit '410676bbac107726499589b665ef61e3d47355ab'

* commit '410676bbac107726499589b665ef61e3d47355ab':
  Turn off static live wallpaper for now.
2009-08-14 15:13:18 -07:00
Leon Scroggins
70aa8326c0 am f58ffac2: Hide the title bar when zoomed in.
Merge commit 'f58ffac202b5a15f4bbfd5512c58f202a992f594'

* commit 'f58ffac202b5a15f4bbfd5512c58f202a992f594':
  Hide the title bar when zoomed in.
2009-08-14 15:13:15 -07:00
Sahil Sachdeva
c9706f0262 DO NOT MERGE, ALready merged to master.
1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side.
2009-08-14 14:52:23 -07:00
Android (Google) Code Review
8722429481 Merge change 21311 into eclair
* changes:
  fix documentation
2009-08-14 12:38:51 -07:00
Mike Reed
e14e70a1b0 fix documentation 2009-08-14 15:34:36 -04:00
Android (Google) Code Review
410676bbac Merge change 21307 into eclair
* changes:
  Turn off static live wallpaper for now.
2009-08-14 12:24:02 -07:00
Dianne Hackborn
b1ac1a86dc Turn off static live wallpaper for now. 2009-08-14 12:12:31 -07:00
Mike Lockwood
0f79b54c3a ConnectivityService: Do not send broadcasts until the system is ready.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-08-14 15:09:11 -04:00
Android (Google) Code Review
4c6c5b0386 Merge change 21018
* changes:
  1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side.
2009-08-14 12:08:34 -07:00
Leon Scroggins
f58ffac202 Hide the title bar when zoomed in. 2009-08-14 14:47:27 -04:00
Sahil Sachdeva
077f90f6ef 1440173 [NJ-1331] MetaData utility parse the wrong m4a meta data. Changes to Java, application side. 2009-08-14 11:34:33 -07:00
Leon Scroggins
c392af2ca7 Hide the title bar when zoomed in. 2009-08-14 13:53:20 -04:00
Android (Google) Code Review
1718c45d79 Merge change 21154
* changes:
  PowerManager: Fix problem waking screen from negative proximity sensor events.
2009-08-14 09:46:06 -07:00
Steve Block
cd5109ae1b am a8dfe24d: Adds the ability to configure the mock Geolocation service from DumpRenderTree.
Merge commit 'a8dfe24da014b52d7ae93c3fbd7a8b88ec336572'

* commit 'a8dfe24da014b52d7ae93c3fbd7a8b88ec336572':
  Adds the ability to configure the mock Geolocation service from DumpRenderTree.
2009-08-14 09:39:21 -07:00
Steve Block
a8dfe24da0 Adds the ability to configure the mock Geolocation service from DumpRenderTree. 2009-08-14 16:43:28 +01:00
Patrick Scott
6327ef8bd8 am 68e53004: The local loaders assume the url given to them is decoded.
Merge commit '68e530047786b4f9d219d17652d7429e6e5a21bd'

* commit '68e530047786b4f9d219d17652d7429e6e5a21bd':
  The local loaders assume the url given to them is decoded.
2009-08-14 05:19:03 -07:00
Patrick Scott
68e5300477 The local loaders assume the url given to them is decoded.
Decode the url before passing down to the local loaders since they do not decode
the url themselves. This was creating a crash on youtube.com since the data url
was percent-encoded and failing to parse from base64.
2009-08-14 08:15:30 -04:00
Android (Google) Code Review
d8a7fe45ec Merge change 21073
* changes:
  Log more information to help us debug which ListView has IllegalStateException in monkey tests. (bug 1995826)
2009-08-13 23:41:58 -07:00
Mathias Agopian
697987701d am a31deaf4: Merge change 21225 into eclair
Merge commit 'a31deaf4a960058e533da35d6229f7aa8d4f00c1'

* commit 'a31deaf4a960058e533da35d6229f7aa8d4f00c1':
  fix a bug that could cause a window to be hidden in some cases.
2009-08-13 22:39:56 -07:00
Android (Google) Code Review
a31deaf4a9 Merge change 21225 into eclair
* changes:
  fix a bug that could cause a window to be hidden in some cases.
2009-08-13 22:36:05 -07:00
Jared Suttles
7c2eb4c688 am 185a5133: Merge change 21235 into eclair
Merge commit '185a5133cf4c805d3996a7f8fc3912a072f60f18'

* commit '185a5133cf4c805d3996a7f8fc3912a072f60f18':
  Change the number of volume steps from 6 to 7 per Verizon Requirements
2009-08-13 21:40:45 -07:00
Android (Google) Code Review
185a5133cf Merge change 21235 into eclair
* changes:
  Change the number of volume steps from 6 to 7 per Verizon Requirements
2009-08-13 21:33:57 -07:00
Jared Suttles
5982013cfc Change the number of volume steps from 6 to 7 per Verizon Requirements
Submitted on behalf of Helen Tran <Helen.Tran@motorola.com>
Signed-off-by: Jared Suttles <jared.suttles@motorola.com>
2009-08-13 21:27:55 -07:00
Dianne Hackborn
f109c05931 am 0cd48879: A little more wallpaper robustness.
Merge commit '0cd48879dca53a9f4d449126d406527bc4b94baf'

* commit '0cd48879dca53a9f4d449126d406527bc4b94baf':
  A little more wallpaper robustness.
2009-08-13 19:28:29 -07:00
Dianne Hackborn
0cd48879dc A little more wallpaper robustness.
- Recover if a live wallpaper is crashing repeatedly.
- Don't crash when someone tries to set a static wallpaper.
- Make the static wallpaper update correctly when the image changes.
2009-08-13 19:24:07 -07:00
Mathias Agopian
c4915de8bb fix a bug that could cause a window to be hidden in some cases.
this would happen is the window is made visible but the client didn't render yet into it. This happens often with SurfaceView.
Instead of filling the window with solid black, SF would simply ignore it which could lead to more disturbing artifacts.

in theory the window manager should not display a window before it has been drawn into, but it does happen occasionnaly.
2009-08-13 19:08:00 -07:00
Xavier Ducrohet
c2b6b637b5 am 1d47a514: am 94ff3f1f: Merge change 21063 into donut
Merge commit '1d47a5142682c1f9f9a04fdbe1ec863fd5550c30'

* commit '1d47a5142682c1f9f9a04fdbe1ec863fd5550c30':
  Fix handling of reference XML file in layout files
2009-08-13 19:01:18 -07:00
Xavier Ducrohet
6878194d63 am 314e0226: am e1b63d22: Merge change 21033 into donut
Merge commit '314e0226a26cd79b5080dcb76d566fa6f83ff695'

* commit '314e0226a26cd79b5080dcb76d566fa6f83ff695':
  Mock ServiceManager and AccesibilityManager to make the view renders in ADT
2009-08-13 19:01:15 -07:00