Bug 2231692 - Turn off launcher2 logging.
This commit is contained in:
1 parent
c23c549af8
commit
a30ce8e6b2
8 files changed
+78
-106
No files matched your search
@@ -495,24 +495,6 @@ public class Workspace extends ViewGroup implements DropTarget, DragSource, Drag
|
||||
return;
|
||||
}
|
||||
|
||||
if (Launcher.lastStartTime != 0) {
|
||||
int itemCount = 0;
|
||||
for (int i=0; i<getChildCount(); i++) {
|
||||
View child = getChildAt(i);
|
||||
if (child instanceof ViewGroup) {
|
||||
itemCount += ((ViewGroup)child).getChildCount();
|
||||
}
|
||||
}
|
||||
if (!mLauncher.isWorkspaceLocked()) {
|
||||
Log.d(Launcher.TAG, "time from start to draw (" + itemCount + " items): "
|
||||
+ (SystemClock.uptimeMillis() - Launcher.lastStartTime) + "ms");
|
||||
Launcher.lastStartTime = 0;
|
||||
} else {
|
||||
Log.d(Launcher.TAG, "drawing but not ready yet (" + itemCount + " items): "
|
||||
+ (SystemClock.uptimeMillis() - Launcher.lastStartTime) + "ms");
|
||||
}
|
||||
}
|
||||
|
||||
boolean restore = false;
|
||||
int restoreCount = 0;
|
||||
|
||||
|
||||
Reference in new issue
Block a user