OSDN Git Service

Increase timeout waiting for suggestions
authorFan Zhang <zhfan@google.com>
Fri, 9 Feb 2018 20:24:04 +0000 (12:24 -0800)
committerFan Zhang <zhfan@google.com>
Fri, 9 Feb 2018 20:24:04 +0000 (12:24 -0800)
- Experimenting timeout value to figure out what's most common
  end-to-end latency for loading suggestions

Change-Id: Icaa3d4d7a45a05380a9521c961e7213e020601a9
Fixes: 69068691
Test: visual

src/com/android/settings/dashboard/DashboardSummary.java

index 690c795..8ddef1c 100644 (file)
@@ -55,7 +55,7 @@ public class DashboardSummary extends InstrumentedFragment
         FocusListener, SuggestionControllerMixin.SuggestionControllerHost {
     public static final boolean DEBUG = false;
     private static final boolean DEBUG_TIMING = false;
-    private static final int MAX_WAIT_MILLIS = 700;
+    private static final int MAX_WAIT_MILLIS = 3000;
     private static final String TAG = "DashboardSummary";
 
     private static final String EXTRA_SCROLL_POSITION = "scroll_position";