Set the timeout limit of contextual card loading back to 1 second.
After making card pre binding work in paralell, the loading time is now less than 1 second. Bug: 124366297 Test: robotests Change-Id: Ib5daececa73ed9e9cf62a18971c6042d9150aad7
This commit is contained in:
@@ -49,7 +49,7 @@ public class ContextualCardLoader extends AsyncLoaderCompat<List<ContextualCard>
|
||||
@VisibleForTesting
|
||||
static final int DEFAULT_CARD_COUNT = 4;
|
||||
static final int CARD_CONTENT_LOADER_ID = 1;
|
||||
static final long CARD_CONTENT_LOADER_TIMEOUT_MS = DateUtils.SECOND_IN_MILLIS * 3;
|
||||
static final long CARD_CONTENT_LOADER_TIMEOUT_MS = DateUtils.SECOND_IN_MILLIS;
|
||||
|
||||
private static final String TAG = "ContextualCardLoader";
|
||||
private static final long ELIGIBILITY_CHECKER_TIMEOUT_MS = 250;
|
||||
|
Reference in New Issue
Block a user