commit | 91f90e0fd66d3b78e38028a9af2a0d02116f9dd1 | [log] [tgz] |
---|---|---|
author | Danning Chen <danningc@google.com> | Tue Feb 18 13:04:39 2020 -0800 |
committer | Danning Chen <danningc@google.com> | Tue Feb 18 13:23:04 2020 -0800 |
tree | b3ca5fc1409343a97a5fb3c2a749b90565cc13bf | |
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