- contained in:
- Specifies how profilers can access this application.
Specifies whether the user of the device can profile this application through local debugging
tools. These include
android.os.Tracetracing APIs (Android 11 and lower)
perfetto profilers(native memory, Java memory, CPU).
false, these tools and APIs will work only when an app is
debuggable. Debuggable apps incur significant and varied performance degradation, and are not useful for measuring timing accurately. This element is strongly recommended for local performance measurements, in order to capture accurate results.
Specifies whether the application can be profiled by system services or shell tools
(for the latter, you must also set
android:shell). If false, the application cannot be profiled at all. Defaults to true. This attribute was added in API level 30.
- introduced in:
- API Level 29
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-05-21 UTC.