[AA+] Fixing missing logs forr keyboard close interactions.

Bug: 178562918
Test: Manual
Change-Id: Id5a7fc3d8ded675c6a64de7416fade74ae2bacd1
This commit is contained in:
thiruram authored and Thiru Ramasamy committed 2021-06-06 21:26:31 +00:00
1 parent 6f3081affa
commit 5435b07ed4
2 files changed
+8 -3

No files matched your search

@@ -15,6 +15,7 @@
*/
package com.android.launcher3.util;
import static com.android.launcher3.logging.StatsLogManager.LauncherEvent.LAUNCHER_ALLAPPS_KEYBOARD_CLOSED;
import static com.android.launcher3.util.Executors.UI_HELPER_EXECUTOR;
import android.annotation.SuppressLint;
@@ -27,6 +28,7 @@ import android.view.View;
import android.view.WindowInsets;
import android.view.inputmethod.InputMethodManager;
import com.android.launcher3.Launcher;
import com.android.launcher3.Utilities;
import com.android.launcher3.views.ActivityContext;
@@ -57,6 +59,8 @@ public class UiThreadHelper {
Message.obtain(HANDLER.get(root.getContext()),
MSG_HIDE_KEYBOARD, token).sendToTarget();
Launcher.cast(activityContext).getStatsLogManager().logger().log(
LAUNCHER_ALLAPPS_KEYBOARD_CLOSED);
}
public static void setOrientationAsync(Activity activity, int orientation) {