Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6c484bc9 authored by vadimt's avatar vadimt
Browse files

More logging for a lab-only bug

Bug: 142514365
Change-Id: I9936415fc4f3bfd4676d607f2dfff44070409c0c
parent 8099e194
Loading
Loading
Loading
Loading
+10 −1
Original line number Diff line number Diff line
@@ -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);