diff options
author | Yuri Lin <yurilin@google.com> | 2021-04-28 11:41:24 -0400 |
---|---|---|
committer | Yuri Lin <yurilin@google.com> | 2021-05-05 11:34:17 -0400 |
commit | db04053cb8d8c9118da398ab4cf9128e7adbbcc1 (patch) | |
tree | 0f6a65cdd996b4c3d46ac5c1e48e1a2fe9199776 /packages/SystemUI/src/com/android/systemui/Dependency.java | |
parent | 94592d369e325eafbcc1a3d242bd7475f4bf2528 (diff) |
Add UiEvent logging for NOTIFICATION_REMOTE_INPUT_(OPEN|CLOSE|SEND|FAILURE).
This adds the logging to RemoteInputView.java, where ACTION_REMOTE_INPUT_* were logged for Tron, in the same places as the existing Tron logging that this will eventually replace.
Test: atest RemoteInputViewTest; statsd_testdrive verified that events were logged with new IDs
Bug: 159697717
Change-Id: Ice4c274bfb114f90006a02dd895d92bbb701ecae
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/Dependency.java')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/Dependency.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/Dependency.java b/packages/SystemUI/src/com/android/systemui/Dependency.java index 351ae8298ff4..67cf4812ba6b 100644 --- a/packages/SystemUI/src/com/android/systemui/Dependency.java +++ b/packages/SystemUI/src/com/android/systemui/Dependency.java @@ -28,6 +28,7 @@ import android.view.IWindowManager; import com.android.internal.annotations.VisibleForTesting; import com.android.internal.logging.MetricsLogger; +import com.android.internal.logging.UiEventLogger; import com.android.internal.statusbar.IStatusBarService; import com.android.internal.util.Preconditions; import com.android.keyguard.KeyguardSecurityModel; @@ -358,6 +359,7 @@ public class Dependency { @Inject Lazy<SystemStatusAnimationScheduler> mSystemStatusAnimationSchedulerLazy; @Inject Lazy<PrivacyDotViewController> mPrivacyDotViewControllerLazy; @Inject Lazy<EdgeBackGestureHandler> mEdgeBackGestureHandler; + @Inject Lazy<UiEventLogger> mUiEventLogger; @Inject public Dependency() { @@ -571,6 +573,7 @@ public class Dependency { mSystemStatusAnimationSchedulerLazy::get); mProviders.put(PrivacyDotViewController.class, mPrivacyDotViewControllerLazy::get); mProviders.put(EdgeBackGestureHandler.class, mEdgeBackGestureHandler::get); + mProviders.put(UiEventLogger.class, mUiEventLogger::get); Dependency.setInstance(this); } |