summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAmy Zhang <amyjojo@google.com>2020-08-12 13:54:32 -0700
committerAmy Zhang <amyjojo@google.com>2020-08-13 02:46:08 +0000
commit028023b9a0727fc067782466a7a9ebed53d15f18 (patch)
tree6e9ef58c667d5381d56cdc163ebca191a69369dc /tools/aapt2/java/JavaClassGenerator_test.cpp
parent3cfbdd8add2743a8d2b125b9806864808d1bf63d (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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions