Report fully drawn when all settings are loaded.
We do not want to wait for contextual cards in app start instrumentation, as user can already do everything in settings without them. Change-Id: I57d59aa3d623bf6911972ec310d558c25e44bf14 Fixes: 117494071 Fixes: 118495692 Test: perftest
This commit is contained in:
@@ -321,6 +321,12 @@ public abstract class DashboardFragment extends SettingsPreferenceFragment
|
||||
displayResourceTiles();
|
||||
|
||||
refreshDashboardTiles(TAG);
|
||||
|
||||
final Activity activity = getActivity();
|
||||
if (activity != null) {
|
||||
Log.d(TAG, "All preferences added, reporting fully drawn");
|
||||
activity.reportFullyDrawn();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user