am dc14dc6d: am bf73bbff: Merge "Some debugging help for issue #2594388" into froyo

Merge commit 'dc14dc6d60675be688c333bbc60a315d2c658054' into kraken

* commit 'dc14dc6d60675be688c333bbc60a315d2c658054':
  Some debugging help for issue #2594388
This commit is contained in:
Dianne Hackborn
2010-04-23 13:06:02 -07:00
committed by Android Git Automerger
2 changed files with 3 additions and 1 deletions

View File

@@ -715,6 +715,8 @@ public abstract class WallpaperService extends Service {
if (mCreated) {
try {
if (DEBUG) Log.v(TAG, "Removing window and destroying surface "
+ mSurfaceHolder.getSurface() + " of: " + this);
mSession.remove(mWindow);
} catch (RemoteException e) {
}

View File

@@ -386,7 +386,7 @@ public class Surface implements Parcelable {
@Override
public String toString() {
return "Surface(native-token=" + mSurfaceControl + ")";
return "Surface(native-token=" + mSurface + ")";
}
private Surface(Parcel source) throws OutOfResourcesException {