su-vikas / conbeerlib

Android library for detecting Android virtual containers.
MIT License
67 stars 18 forks source link

Broadcast Receiver is Disabled so it always says running in a container #5

Open blundell opened 3 years ago

blundell commented 3 years ago

https://github.com/su-vikas/conbeerlib/blob/master/conbeerlib/src/main/AndroidManifest.xml#L8

image

https://github.com/su-vikas/conbeerlib/blob/master/conbeerlib/src/main/java/com/suvikas/conbeer/ConBeer.java#L400-L417

image

The code above will always return true for isContainer because the BroadcastReceiver in the Manifest is disabled.

or am I missing something?