Skip redundant SuggestionLoader run during app start.
also skip DiffUtil when drawing first frame. Fix: 34103984 Test: make RunSettingsRoboTests Change-Id: I4891d1bca1f17c437444761eaf3002624934014d
This commit is contained in:
@@ -527,8 +527,9 @@ public class SettingsActivity extends SettingsDrawerActivity
|
||||
}
|
||||
}
|
||||
|
||||
if (DEBUG_TIMING) Log.d(LOG_TAG, "onCreate took " + (System.currentTimeMillis() - startTime)
|
||||
+ " ms");
|
||||
if (DEBUG_TIMING) {
|
||||
Log.d(LOG_TAG, "onCreate took " + (System.currentTimeMillis() - startTime) + " ms");
|
||||
}
|
||||
}
|
||||
|
||||
public void setDisplaySearchMenu(boolean displaySearch) {
|
||||
|
Reference in New Issue
Block a user