mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-01 16:26:47 +00:00
More logging for a lab-only bug
Bug: 142514365 Change-Id: I9936415fc4f3bfd4676d607f2dfff44070409c0c
This commit is contained in:
@@ -181,7 +181,16 @@ public class LoaderTask implements Runnable {
|
||||
}
|
||||
|
||||
TraceHelper.INSTANCE.beginSection(TAG);
|
||||
TimingLogger logger = new TimingLogger(TAG, "run");
|
||||
TimingLogger logger = TestProtocol.sDebugTracing ?
|
||||
new TimingLogger(TAG, "run") {
|
||||
@Override
|
||||
public void addSplit(String splitLabel) {
|
||||
super.addSplit(splitLabel);
|
||||
Log.d(TestProtocol.LAUNCHER_DIDNT_INITIALIZE,
|
||||
"LoaderTask.addSplit " + splitLabel);
|
||||
}
|
||||
}
|
||||
: new TimingLogger(TAG, "run");
|
||||
try (LauncherModel.LoaderTransaction transaction = mApp.getModel().beginLoader(this)) {
|
||||
List<ShortcutInfo> allShortcuts = new ArrayList<>();
|
||||
loadWorkspace(allShortcuts);
|
||||
|
||||
Reference in New Issue
Block a user