summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2019-03-19 10:21:28 -0700
committerFelipe Leme <felipeal@google.com>2019-03-19 11:18:13 -0700
commita70dd8c952f33b18534dcc707e334ae13dac0e3e (patch)
tree02b28455fbe6101b169cb46817e80013564186fa /tools/aapt2/java/JavaClassGenerator_test.cpp
parent6625e37e17c8c441b6518c408d79b0094377e4f0 (diff)
New autofill cmds to enable / disable / check default augmented service.
Also fixed FrameworkResourcesServiceNameResolver so setDefaultServiceEnabled(true) doesn't thrown and exception when it's already true. Example: adb shell cmd content_capture set default-service-enabled 0 true Exception occurred while executing: java.lang.ArrayIndexOutOfBoundsException: src.length=11 srcPos=1 dst.length=11 dstPos=0 length=-1 at java.lang.System.arraycopy(Native Method) at android.util.SparseBooleanArray.removeAt(SparseBooleanArray.java:127) at com.android.server.infra.FrameworkResourcesServiceNameResolver.setDefaultServiceEnabled(FrameworkResourcesServiceNameResolver.java:180) Test: adb shell cmd autofill set default-augmented-service-enabled 0 false Test: adb shell cmd autofill get default-augmented-service-enabled 0 Test: atest CtsAutoFillServiceTestCases Bug: 123952975 Bug: 126266412 Change-Id: If24c69f4451a82c803a7f067956454f93b722f8f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions