Merge "Some debugging help for issue #2594388" into froyo
This commit is contained in:
committed by
Android (Google) Code Review
commit
bf73bbffc1
@@ -715,6 +715,8 @@ public abstract class WallpaperService extends Service {
|
|||||||
|
|
||||||
if (mCreated) {
|
if (mCreated) {
|
||||||
try {
|
try {
|
||||||
|
if (DEBUG) Log.v(TAG, "Removing window and destroying surface "
|
||||||
|
+ mSurfaceHolder.getSurface() + " of: " + this);
|
||||||
mSession.remove(mWindow);
|
mSession.remove(mWindow);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -386,7 +386,7 @@ public class Surface implements Parcelable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "Surface(native-token=" + mSurfaceControl + ")";
|
return "Surface(native-token=" + mSurface + ")";
|
||||||
}
|
}
|
||||||
|
|
||||||
private Surface(Parcel source) throws OutOfResourcesException {
|
private Surface(Parcel source) throws OutOfResourcesException {
|
||||||
|
|||||||
Reference in New Issue
Block a user