2013-09-16 07:55:01 +00:00
|
|
|
package org.thoughtcrime.securesms;
|
|
|
|
|
|
|
|
import android.content.Intent;
|
|
|
|
import android.os.Bundle;
|
|
|
|
import android.widget.Button;
|
|
|
|
|
2015-02-17 04:31:44 +00:00
|
|
|
import org.thoughtcrime.securesms.preferences.MmsPreferencesActivity;
|
|
|
|
|
2019-07-24 02:30:23 +00:00
|
|
|
import network.loki.messenger.R;
|
|
|
|
|
2014-06-29 03:40:57 +00:00
|
|
|
public class PromptMmsActivity extends PassphraseRequiredActionBarActivity {
|
2013-09-16 07:55:01 +00:00
|
|
|
|
|
|
|
@Override
|
2018-02-02 03:22:48 +00:00
|
|
|
protected void onCreate(Bundle bundle, boolean ready) {
|
2013-09-16 07:55:01 +00:00
|
|
|
setContentView(R.layout.prompt_apn_activity);
|
|
|
|
initializeResources();
|
|
|
|
}
|
|
|
|
|
|
|
|
private void initializeResources() {
|
2018-02-02 03:22:48 +00:00
|
|
|
Button okButton = findViewById(R.id.ok_button);
|
|
|
|
Button cancelButton = findViewById(R.id.cancel_button);
|
|
|
|
|
|
|
|
okButton.setOnClickListener(v -> {
|
|
|
|
Intent intent = new Intent(PromptMmsActivity.this, MmsPreferencesActivity.class);
|
|
|
|
intent.putExtras(PromptMmsActivity.this.getIntent().getExtras());
|
|
|
|
startActivity(intent);
|
|
|
|
finish();
|
2013-09-16 07:55:01 +00:00
|
|
|
});
|
|
|
|
|
2018-02-02 03:22:48 +00:00
|
|
|
cancelButton.setOnClickListener(v -> finish());
|
2013-09-16 07:55:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|