commit | 1480ed10edc33c8b0d826e60ef9c28d2dcbc0cd6 | [log] [tgz] |
---|---|---|
author | Abodunrinwa Toki <toki@google.com> | Mon Jul 15 16:01:51 2019 +0100 |
committer | Abodunrinwa Toki <toki@google.com> | Thu Aug 01 15:26:19 2019 +0100 |
tree | 9abc9f95ea1ce490242e1fb555723366eaeed02c | |
parent | b93dc48c85e7701cd4411c532e56b506ac14b46c [diff] |
Ensure userId is set in TCEvent. Part of security fix in I2fdffd8eb4221782cb1f34d2ddbe41dd3d36595c TCContexts that existed outside a TC session did not have userId set by the SystemTC. This CL ensures SystemTC always sets the userId for all TCEvents (and deprecated SelectionEvents). Bug: 136483597 Test: atest android.view.textclassifier Manual test ensuring that ConvActions was logging TCEvent with userId. Change-Id: Ie2a362f8f4758d5dc0390aeb2dbf23f9d78a378e