1
0
mirror of https://github.com/etesync/android synced 2024-11-16 04:49:06 +00:00

Suppress XSS warning.

We are only loading external websites, no use controlled data.
This commit is contained in:
Tom Hacohen 2017-03-10 14:36:53 +00:00
parent 838cc2a79d
commit e4043642db

View File

@ -1,5 +1,6 @@
package com.etesync.syncadapter.ui;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.content.Context;
import android.content.Intent;
@ -36,6 +37,7 @@ public class WebViewActivity extends AppCompatActivity {
}
@Override
@SuppressLint("SetJavaScriptEnabled")
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_webview);