Add isInMultiWindowMode bool to all logs.
Example output:
D/UserEvent: action:LONGPRESS
Source child:WORKSPACE id=0
Elapsed container 1850 ms session 1850 ms action 0 ms
isInMultiWindowMode true
Bug: 34250955
Change-Id: If21484e8bbb0f4f311c2eb6e94b7dcea6d2431af
diff --git a/src/com/android/launcher3/Launcher.java b/src/com/android/launcher3/Launcher.java
index 2dba83d..660037e 100644
--- a/src/com/android/launcher3/Launcher.java
+++ b/src/com/android/launcher3/Launcher.java
@@ -366,7 +366,7 @@
// Load configuration-specific DeviceProfile
mDeviceProfile = app.getInvariantDeviceProfile().getDeviceProfile(this);
- if (Utilities.ATLEAST_NOUGAT && isInMultiWindowMode()) {
+ if (isInMultiWindowModeCompat()) {
Display display = getWindowManager().getDefaultDisplay();
Point mwSize = new Point();
display.getSize(mwSize);