Increase the timeout for contextual card loading.
Some cards require a bit more time to be loaded, so relax the timeout a bit. After tweaking the time, the overall loading time seems decreased. Fixes: 152365480 Test: rebuild and launch Change-Id: Icc2f66b28a377bd8ce230f8a9918b8f1f164f4ff
This commit is contained in:
@@ -57,7 +57,7 @@ public class ContextualCardLoader extends AsyncLoaderCompat<List<ContextualCard>
|
||||
static final int CARD_CONTENT_LOADER_ID = 1;
|
||||
|
||||
private static final String TAG = "ContextualCardLoader";
|
||||
private static final long ELIGIBILITY_CHECKER_TIMEOUT_MS = 250;
|
||||
private static final long ELIGIBILITY_CHECKER_TIMEOUT_MS = 300;
|
||||
|
||||
private final ContentObserver mObserver = new ContentObserver(
|
||||
new Handler(Looper.getMainLooper())) {
|
||||
|
Reference in New Issue
Block a user