Merge "Enhance battery usage refresh content log for performance testing" into sc-v2-dev
This commit is contained in:
@@ -332,9 +332,12 @@ public class BatteryChartPreferenceController extends AbstractPreferenceControll
|
||||
|
||||
mTrapezoidIndex = trapezoidIndex;
|
||||
mHandler.post(() -> {
|
||||
final long start = System.currentTimeMillis();
|
||||
removeAndCacheAllPrefs();
|
||||
addAllPreferences();
|
||||
refreshCategoryTitle();
|
||||
Log.d(TAG, String.format("refreshUi is finished in %d/ms",
|
||||
(System.currentTimeMillis() - start)));
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
Reference in New Issue
Block a user