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

* commit '6066a2b4de36549b7d8fe36507b7254e501f0b28':
  Fix uncaught exception in WindowManager#setWallpaperOffsets (issue 5613241)
This commit is contained in:
Adam Cohen
2011-11-14 14:35:57 -08:00
committed by Android Git Automerger

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.
}
}
});