Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e2e5722 authored by Adam Cohen's avatar Adam Cohen
Browse files

Fix uncaught exception in WindowManager#setWallpaperOffsets (issue 5613241)

Change-Id: I4646095f4cde9514425be8ab2dbf805d9788aa5c
parent 041a0bab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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.
                }
            }
        });