diff options
author | Danning Chen <danningc@google.com> | 2020-02-18 13:04:39 -0800 |
---|---|---|
committer | Danning Chen <danningc@google.com> | 2020-02-18 13:23:04 -0800 |
commit | 91f90e0fd66d3b78e38028a9af2a0d02116f9dd1 (patch) | |
tree | b3ca5fc1409343a97a5fb3c2a749b90565cc13bf /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 1cc7197864912c164320a5d80a4c22536ace4044 (diff) |
Add getShareTargets() to ShortcutServiceInternal and get caller's user ID from AppPredictionSessionId
Previously, the caller's user ID was got from Binder. But
AppPredictionManager clears caller's identity. The only way to get the
caller's user ID is to get it from session ID.
Bug: 146522621
Test: atest com.android.server.people.data.DataManagerTest
Test: atest com.android.server.people.data.ShareTargetPredictorTest
Change-Id: Ia0dc35879084110849e06e919ff3b3c7241c46fd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions