mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1173228 - Suppress SetJavaScriptEnabled linter warning. r=margaret
The function is required for a greasemonkey script and the code is expected to be secure.
This commit is contained in:
parent
2a93c8fbd6
commit
197bbfbbbf
@ -14,6 +14,7 @@ import org.mozilla.gecko.Telemetry;
|
||||
import org.mozilla.gecko.TelemetryContract;
|
||||
import org.mozilla.search.providers.SearchEngine;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Bitmap;
|
||||
import android.os.Bundle;
|
||||
@ -44,6 +45,7 @@ public class PostSearchFragment extends Fragment {
|
||||
|
||||
private String resultsPageHost;
|
||||
|
||||
@SuppressLint("SetJavaScriptEnabled")
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
|
Loading…
Reference in New Issue
Block a user