You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
954 B
Java
45 lines
954 B
Java
12 years ago
|
package org.thoughtcrime.securesms;
|
||
|
|
||
|
import android.os.Bundle;
|
||
11 years ago
|
import android.support.v7.app.ActionBarActivity;
|
||
12 years ago
|
|
||
12 years ago
|
import org.whispersystems.textsecure.crypto.MasterSecret;
|
||
12 years ago
|
|
||
11 years ago
|
public class PassphraseRequiredActionBarActivity extends ActionBarActivity implements PassphraseRequiredActivity {
|
||
12 years ago
|
|
||
|
private final PassphraseRequiredMixin delegate = new PassphraseRequiredMixin();
|
||
|
|
||
|
@Override
|
||
|
protected void onCreate(Bundle savedInstanceState) {
|
||
|
super.onCreate(savedInstanceState);
|
||
11 years ago
|
delegate.onCreate(this);
|
||
12 years ago
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onResume() {
|
||
|
super.onResume();
|
||
11 years ago
|
delegate.onResume(this);
|
||
12 years ago
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onPause() {
|
||
|
super.onPause();
|
||
11 years ago
|
delegate.onPause(this);
|
||
12 years ago
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onDestroy() {
|
||
|
super.onDestroy();
|
||
11 years ago
|
delegate.onDestroy(this);
|
||
12 years ago
|
}
|
||
|
|
||
|
@Override
|
||
|
public void onMasterSecretCleared() {
|
||
|
finish();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void onNewMasterSecret(MasterSecret masterSecret) {}
|
||
|
|
||
|
}
|