Refactor OneHanded mode UiEventLogger implementation
1) Move UiEventLogger from static to non-static 2) Rename to OneHandedUiEventLogger to align wm-shell components 3) Remove unused code from OneHandedUiEventLogger 4) Refine the call of stopOneHandedWithUiEvent() 5) Only register TaskStackListenerCallback when enabled 6) Override getId() in the enum to ensure UiEventLoggerImpl can obtain the event corresponding id accordingly Fixes: 176513465 Test: adb shell cmd stats print-logs Test: manual + statsd_testdrive -terse 90 Test: atest WMShellUnitTests Change-Id: Ic2fb1a2bbf87e647b0883d50b64ced53aa37d613
Loading
Please register or sign in to comment