diff options
| author | 2024-11-21 21:31:26 +0000 | |
|---|---|---|
| committer | 2024-12-10 19:45:15 +0000 | |
| commit | d578d7d3b82960cf9ed229a46613c384650961d9 (patch) | |
| tree | 73892236e92772febb2ed246a9bdbb80f3a12738 /libs/androidfw/StringPool.cpp | |
| parent | 367616f2805821f75d2b63521db5080da363f9c9 (diff) | |
[Autofill] Fix overridden metrics
1. AutofillPresentationEventReported.presentation_event_result should not
get overriden by NONE_SHOWN_VIEW_FOCUS_CHANGED when the view has
exited (if there was a valid reason already logged). Previously all
view exits will overide valid reason, which accounted for a majority
of these events.
2. Introduced NONE_SHOWN_SUGGESTION_FILTER_OUT, which will be logged
whenever the View has been entered + there is pre-existing text in
the view.
3. AutofillSessionCommitted.commit_reason will not be overriden by
COMMIT_REASON_SESSION_DESTROYED after sessions are destroyed (if
there was a valid reason already logged). This means
COMMIT_REASON_SESSION_DESTROYED will only be logged in special
circumstances, such as when Session is destroyed because the user
switched providers.
Fixes: 362581326
Fixes: 363011343
Test: atest com.android.server.autofill.PresentationEventLoggerTest
Flag: android.service.autofill.metrics_fixes
Change-Id: If45a3f4a7274f062a6954263995f59ec24b73875
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions