Merge "Some debugging help for issue #2594388" into froyo

This commit is contained in:
Dianne Hackborn
2010-04-23 12:59:47 -07:00
committed by Android (Google) Code Review
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 {