Skip to content
Snippets Groups Projects
Commit 7bb46435 authored by Xavier Gibert's avatar Xavier Gibert
Browse files

warnings suppression

parent bb0cf63b
No related branches found
No related tags found
No related merge requests found
package cs.si.stavor;
/*import org.xwalk.core.XWalkResourceClient;
import org.xwalk.core.XWalkUIClient;*/
import org.xwalk.core.XWalkResourceClient;
import org.xwalk.core.XWalkUIClient;
import org.xwalk.core.XWalkView;
import cs.si.stavor.R;
import cs.si.stavor.app.Installer;
import cs.si.stavor.app.OrekitInit;
......@@ -44,7 +27,6 @@ import android.app.DialogFragment;
import android.app.FragmentManager;
import android.content.Intent;
import android.database.sqlite.SQLiteDatabase;
import android.graphics.BitmapFactory;
import android.support.v4.widget.DrawerLayout;
import android.os.Bundle;
import android.view.Menu;
......
......@@ -8,7 +8,6 @@ import android.app.DialogFragment;
import android.content.DialogInterface;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.widget.TextView;
/**
......@@ -22,13 +21,7 @@ public class WelcomeDialogFragment extends DialogFragment {
// Use the Builder class for convenient dialog construction
String data_path = Installer.getOrekitDataRoot(this.getActivity()).getPath();
AlertDialog.Builder builder = new AlertDialog.Builder(getActivity());
// Get the layout inflater
//LayoutInflater inflater = getActivity().getLayoutInflater();
// Inflate and set the layout for the dialog
// Pass null as the parent view because its going in the dialog layout
//builder.setView(inflater.inflate(R.layout.welcome, null));
builder.setIcon(R.drawable.ic_launcher);
TextView tx_path = new TextView(getActivity());
tx_path.setText(data_path);
......
......@@ -6,7 +6,6 @@ import org.xwalk.core.XWalkView;
import cs.si.stavor.R;
import cs.si.stavor.MainActivity;
import cs.si.stavor.StavorApplication;
import cs.si.stavor.web.MyResourceClient;
import cs.si.stavor.web.MyUIClient;
import cs.si.stavor.app.Parameters;
......@@ -37,6 +36,7 @@ import android.widget.SlidingDrawer.OnDrawerOpenListener;
* @author Xavier Gibert
*
*/
@SuppressWarnings("deprecation")
public final class HudFragment extends Fragment {
/**
* The fragment argument representing the section number for this
......@@ -69,7 +69,6 @@ public final class HudFragment extends Fragment {
*/
public XWalkView mXwalkView;
@SuppressWarnings("deprecation")
@SuppressLint({ "JavascriptInterface", "SetJavaScriptEnabled", "NewApi" })
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment