package fuzion24.device.vulnerability.test;

import android.app.Activity;
import android.os.Bundle;
import android.util.Log;
import android.view.Menu;
import android.view.MenuItem;
import android.widget.ListView;

import java.util.List;

import fuzion24.device.vulnerability.vulnerabilities.framework.media.StageFright;
import fuzion24.vulnerability.checker.R;


public class MainActivity extends Activity {

    private static final String LOG_TAG = "VULN_TEST";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        final ListView vulns =  (ListView) findViewById(R.id.vulnList);
        final Activity actCtx = this;

        new VulnerabilityTestRunner(this, true, new ResultsCallback() {
            @Override
            public void finished(List<VulnerabilityTestResult> results) {
                Log.d(LOG_TAG, "finshed callback!!!!!!!!");
                VulnerabilityListAdapter adapter = new VulnerabilityListAdapter(actCtx, results);
                vulns.setAdapter(adapter);
                adapter.notifyDataSetChanged();
            }
        }).execute();
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        int id = item.getItemId();
        if (id == R.id.action_settings) {
            return true;
        }
        return super.onOptionsItemSelected(item);
    }
}

@@ -936,32 +936,47 @@
 G, %22
-finshed callback!!!!!!!!
+Device Vulnerability callback, finished
 %22);%0A
@@ -1207,17 +1207,16 @@
 %0A    %7D%0A%0A
-%0A
     @Ove

Change logging statement