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:
Fan Zhang
2018-10-26 14:53:12 -07:00
parent 0c7c59f1b9
commit 293883b2fe

View File

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