'Is <profileable> safe in the production build?

For using macrobenchmark, we need to add <profileable> to AndroidManifest.

<profileable
    android:shell="true"
    tools:targetApi="q" />

Is it safe to include <profileable> in the production build?



Solution 1:[1]

Why not merge this manifest node with the debug source-set?
One also could remove it from the release source-set, same effect.
This might not answer the question, but it makes it irrelevant.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Martin Zeitler