This commit is contained in:
ligi 2015-11-15 23:04:31 +01:00
parent d9d7ad8338
commit 83c914cb2b

View file

@ -16,12 +16,12 @@ import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.widget.TextView;
import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.squareup.otto.Subscribe;
import net.i2p.android.ext.floatingactionbutton.FloatingActionButton;
import net.i2p.android.ext.floatingactionbutton.FloatingActionsMenu;
import org.ligi.axt.AXT;
import org.ligi.passandroid.App;
import org.ligi.passandroid.R;
@ -35,10 +35,13 @@ import org.ligi.passandroid.model.PassStore;
import org.ligi.snackengage.SnackEngage;
import org.ligi.snackengage.snacks.DefaultRateSnack;
import org.ligi.tracedroid.TraceDroid;
import org.ligi.tracedroid.sending.TraceDroidEmailSender;
import javax.inject.Inject;
import butterknife.Bind;
import butterknife.ButterKnife;
import butterknife.OnClick;
public class PassListActivity extends AppCompatActivity {
private static final int OPEN_FILE_READ_REQUEST_CODE = 1000;
@ -162,7 +165,7 @@ public class PassListActivity extends AppCompatActivity {
// don't want too many windows in worst case - so check for errors first
if (TraceDroid.getStackTraceFiles().length > 0) {
Tracker.get().trackEvent("ui_event", "send", "stacktraces", null);
TraceDroidEmailSender.sendStackTraces("ligi@ligi.de", this);
// TraceDroidEmailSender.sendStackTraces("ligi@ligi.de", this);
} else { // if no error - check if there is a new version of the app
Tracker.get().trackEvent("ui_event", "processFile", "updatenotice", null);