summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/RenderScript.java
diff options
context:
space:
mode:
authorJoanne Chung <joannechung@google.com>2021-02-26 18:53:36 +0800
committerJoanne Chung <joannechung@google.com>2021-02-26 11:13:39 +0000
commit3a907ab1ebad4184b849aa9a5e69b873ceb12cd3 (patch)
treee3b485755b1aaa27351585277dd088a3293a0eef /rs/java/android/renderscript/RenderScript.java
parentb8737dac2c10558a05a8df5e6882b110136d72f9 (diff)
Add shell commands and dump information for Translation
1. Add shell command to allow a temporary override of the TranslationService that helps e2e CTS tests. 2. Add permission to allow the shell call the UiTranslationManager APIs for the tests. 3. Dump translation systemservice and activity translation related information to help debugging We don't want to leak translation feature now, so we submit the change about Shell in internal branch. Bug: 179047265 Test: manual. 1. Switch to temp TranslationService by "adb shell cmd transformer set <myTranslationService> 12000" and make sure only the same app can access the APIs when switching to the temp service. 2. adb shell dumpsys transformer 3. adb shell dumpsys activity <myactivity> --translation (We set "transformer" now to prevent feature leak, the final value is translation) Change-Id: I2573b7ea226bd805a951f8346d5370d9c9776364
Diffstat (limited to 'rs/java/android/renderscript/RenderScript.java')
0 files changed, 0 insertions, 0 deletions