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:
Michael Comella 2015-06-09 18:52:12 -07:00
parent 2a93c8fbd6
commit 197bbfbbbf

View File

@ -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) {