mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
24 lines
449 B
Java
24 lines
449 B
Java
import android.webkit.WebView;
|
|
|
|
class Test {
|
|
boolean DEBUG_BUILD;
|
|
|
|
void test1() {
|
|
WebView.setWebContentsDebuggingEnabled(true); // $ Alert
|
|
}
|
|
|
|
void test2(){
|
|
if (DEBUG_BUILD) {
|
|
WebView.setWebContentsDebuggingEnabled(true);
|
|
}
|
|
}
|
|
|
|
void test3(boolean enabled){
|
|
WebView.setWebContentsDebuggingEnabled(enabled); // $ Alert
|
|
}
|
|
|
|
void test4(){
|
|
test3(true); // $ Source
|
|
}
|
|
}
|