summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Felipe Leme <felipeal@google.com> 2022-01-27 10:44:53 -0800
committer Felipe Leme <felipeal@google.com> 2022-01-28 00:06:24 -0800
commit4381e4f0fabbe94ac6d966dfc62f8ca5dafa27a1 (patch)
treefc63de754b08b36706c0f4db67b0349266dcca94 /api/api.go
parente9b0336a6f2ff9c55d56bd8eb08ae9a934a1c431 (diff)
Improves dump() to handle special cases.
When "dumpsys activity" is called with special arguments (like --list-dumpables), dump() should be handled by Activity itself, not the subclasses, otherwise the end result would be spammed. This CL fixes that behavior, but only for apps targeting T (so it maintains backward compatibility for apps that are explicitly checking for the special values). Bug: 149254050 Test: m update-api Test: manual verification with 'adb dumpsys activity ...' Test: atest CtsAppTestCases:android.app.cts.ActivityDumpTest Test: adb shell dumpsys platform_compat|grep DUMP_IGNORES_SPECIAL_ARGS||echo NOT_FOUND Change-Id: I918c9a6649cb66f9e2b6509a643005fac110d152
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions