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