Merge "Fix uncaught exception in WindowManager#setWallpaperOffsets (issue 5613241)" into ics-mr1

This commit is contained in:
Adam Cohen
2011-11-14 14:33:06 -08:00
committed by Android (Google) Code Review

View File

@@ -635,6 +635,9 @@ public class WallpaperManager {
//Log.v(TAG, "...app returning after sending offsets!");
} catch (RemoteException e) {
// Ignore.
} catch (IllegalArgumentException e) {
// Since this is being posted, it's possible that this windowToken is no longer
// valid, for example, if setWallpaperOffsets is called just before rotation.
}
}
});