summaryrefslogtreecommitdiff
path: root/core/java/android/widget/TextView.java
diff options
context:
space:
mode:
authorWill Burr <wgb@google.com>2022-03-09 16:45:03 +0000
committerWill Burr <wgb@google.com>2022-03-10 20:35:15 +0000
commitca1205969908e07ce0c78a4a51177314f89fbfe4 (patch)
tree63ca85a9adb104688cba73b80cb40bfc06218479 /core/java/android/widget/TextView.java
parent1c8eb0109f716c7949a8ec09c1ece986f45e5c31 (diff)
Allow profiling, dumpheap, attach-agent for sdk sandbox
This CL adds cases for the sdk sandbox when performing debuggable checks for profiling, dumpheap and attach-agent adb commands. To achieve this, the CL adds a getClientInfoForSdkSandbox method to the ProcessRecord. isDebuggable() has also been added as a method to ProcessRecord to make the checks readable. To support profiling, the CL also ensures the correct zygote flags are set when the client app of a sdk sandbox is profileable/debuggable. Test: w/ debuggable client app (adb shell am dumpheap sdk_sandbox_[x]) Test: w/ debuggable client app (adb shell am attach-agent sdk_sandbox_[x] [filepath]) Test: w/ debuggable/profileable client app (adb shell am profile start sdk_sandbox_[x] [filepath]) Fixes: 222670584 Fixes: 221004701 Change-Id: I72bf66906ba1b8283474345562ed43fdf433e793
Diffstat (limited to 'core/java/android/widget/TextView.java')
0 files changed, 0 insertions, 0 deletions