|
|
|
@ -9,16 +9,20 @@ import android.util.Log;
|
|
|
|
|
import android.view.MenuItem;
|
|
|
|
|
import android.widget.Toast;
|
|
|
|
|
|
|
|
|
|
import org.thoughtcrime.securesms.util.DynamicTheme;
|
|
|
|
|
import org.whispersystems.libpastelog.SubmitLogFragment;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Activity for submitting logcat logs to a pastebin service.
|
|
|
|
|
*/
|
|
|
|
|
public class LogSubmitActivity extends BaseActionBarActivity implements SubmitLogFragment.OnLogSubmittedListener {
|
|
|
|
|
|
|
|
|
|
private static final String TAG = LogSubmitActivity.class.getSimpleName();
|
|
|
|
|
private DynamicTheme dynamicTheme = new DynamicTheme();
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
protected void onCreate(Bundle icicle) {
|
|
|
|
|
dynamicTheme.onCreate(this);
|
|
|
|
|
super.onCreate(icicle);
|
|
|
|
|
setContentView(R.layout.log_submit_activity);
|
|
|
|
|
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
|
|
|
|
@ -30,6 +34,7 @@ public class LogSubmitActivity extends BaseActionBarActivity implements SubmitLo
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
protected void onResume() {
|
|
|
|
|
dynamicTheme.onResume(this);
|
|
|
|
|
super.onResume();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|