Reputation: 103
Check if android debuggable property is true or not in manifest.
<application android:allowBackup="true" android:debuggable="true" >
How to get debuggable property value programmatically?
Upvotes: 1
Views: 393
Reputation: 11
this.getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0
Upvotes: 0
Reputation: 472
You check if DEBUGGABLE is true or false using this
(getContext().getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0
Upvotes: 1