commit | d50746529c3582c5d425c2d9b721415700d233dd | [log] [tgz] |
---|---|---|
author | Amy Zhang <amyjojo@google.com> | Wed Aug 12 13:54:32 2020 -0700 |
committer | Henry Fang <quxiangfang@google.com> | Tue Dec 29 21:05:34 2020 +0000 |
tree | 57d5e540c3e0a1f80a650f2bb64c9d526888d48a | |
parent | eec09803da33c931644f8cabfefd0d9a72547862 [diff] |
Use a randomly generated UUID as the TvInputSessionId The current implementation uses uid, pid and the resolvedUser to create the sessionId. But it's not unique when the same app uses the same TvInputService to create multiple input sessions. Also this leaks pid/uid information. Fix this by using a randomly generated UUID instead. Test: make Bug: 163855754 Change-Id: I4369e2645b50d44803f2d393798fa5ea6d1c22bd Merged-In: I4369e2645b50d44803f2d393798fa5ea6d1c22bd