summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramStore.java
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2021-02-01 19:01:30 +0800
committerJoanne Chung <joannechung@google.com>2021-03-02 06:47:48 +0000
commitaf76755ff76e5e323ee31af593870dcde154b1d2 (patch)
tree57d3ccacc51c3a4912673b4594b12f3040badaec /rs/java/android/renderscript/ProgramStore.java
parentea5f042755856ab9b249f83adcb8e47e64a0cab9 (diff)
Update ContentCaptureContext to have a token information
In order to support auto translation, we need to give information to content capture service to let the app can use this information to find the Activity which needed to be translated. It's not safe to provide an activity token to the client app directly even if it is a privilege app. They can use this activity token to access many activity/windows related functions. We create a new token for use for content capture and translation. This token will be used get the target Activity for translation new APIs. This change focuses on the Content capture API change, the API change about translation will be done in the next change, Bug: 177789967 Test: manual. Make sure cc service can get the information. Test: atest android.view.contentcapture.ContentCaptureContextTest Test: atest CtsContentCaptureServiceTestCases Change-Id: Ife8096a8bd1e71ce4e686d95043e347222ad7ee6
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions