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

Commit ab4617dd authored by Erik Wolsheimer's avatar Erik Wolsheimer Committed by android-build-merger
Browse files

DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am: a6863457

am: a3997052

Change-Id: I31b67a7bb496051a9062d4770a96119251a1b434
parents db877fa3 a3997052
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -592,9 +592,12 @@ public class WallpaperManagerService extends IWallpaperManager.Stub {
    class WallpaperConnection extends IWallpaperConnection.Stub
            implements ServiceConnection {

        /** Time in milliseconds until we expect the wallpaper to reconnect (unless we're in the
         *  middle of an update). If exceeded, the wallpaper gets reset to the system default. */
        private static final long WALLPAPER_RECONNECT_TIMEOUT_MS = 5000;
        /**
         * Time in milliseconds until we expect the wallpaper to reconnect (unless we're in the
         * middle of an update). If exceeded, the wallpaper gets reset to the system default.
         * FIXME(ewol): Adjusted from 5s to 15s for Wear.
         */
        private static final long WALLPAPER_RECONNECT_TIMEOUT_MS = 15000;

        final WallpaperInfo mInfo;
        final Binder mToken = new Binder();