Created
June 6, 2016 16:08
-
-
Save liangfeidotme/dd019ac2573cf91db4c0815b9afa76de to your computer and use it in GitHub Desktop.
Check whether android debugger is attached.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override public boolean isDebuggerAttached() { | |
return Debug.isDebuggerConnected(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment