summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Will Burr <wgb@google.com> 2022-02-16 18:46:26 +0000
committer Will Burr <wgb@google.com> 2022-03-02 17:58:25 +0000
commit6e130b154c74a7a967480b0c650a75111bc9b871 (patch)
tree334ce5bd588a3d353b7d542d6a685d86e0b4a869 /libs/androidfw/StringPool.cpp
parent697c991ab601d11867185a2284532531d8d5c1f6 (diff)
startProcessLocked: Inherit debuggable flag for SDK sandbox
If the process is an SDK sandbox, we use the FLAG_DEBUGGABLE value of the associated app. This allows for attaching debugger to a sandbox (and their SDKs) when the app's manifest specifies android:debuggable is true. To achieve this, we add an isSdkSandbox property to the ProcessRecord which is read when the flags are being set. Bug: 210499058 Test: manual (1. load app with android:debuggable, 2. load SDK, 3. attach debugger in IntelliJ/Android Studio) Change-Id: Id0c6a5914aaabd6db28b562fe17d24396b462779
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions