Android 12 Developer Preview is here! Try it out, and give us your feedback!


<profileable android:shell=["true" | "false"] />
contained in:
Specifies how the following tools can access profiling information:

Unless this element is declared, and the <shell> tag set to true, the above 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.

Indicates whether this application may be profiled by the shell process.
introduced in:
API Level 29