DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s

Bug: 37773684
Change-Id: Ifeeb26a164c7bab59561721d10a4915ed6d9dcf3
This commit is contained in:
Erik Wolsheimer
2017-05-01 14:58:31 -07:00
parent 4769b54d49
commit a686345759

View File

@@ -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();