mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 18:45:19 +00:00
f092e85b62
See: https://code.google.com/p/android/issues/detail?id=78154 Fixes #2424 Closes #2428 // FREEBIE
43 lines
905 B
Java
43 lines
905 B
Java
package org.thoughtcrime.securesms;
|
|
|
|
import android.os.Bundle;
|
|
|
|
import org.thoughtcrime.securesms.crypto.MasterSecret;
|
|
|
|
public class PassphraseRequiredActionBarActivity extends BaseActionBarActivity implements PassphraseRequiredActivity {
|
|
|
|
private final PassphraseRequiredMixin delegate = new PassphraseRequiredMixin();
|
|
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
delegate.onCreate(this);
|
|
}
|
|
|
|
@Override
|
|
protected void onResume() {
|
|
super.onResume();
|
|
delegate.onResume(this);
|
|
}
|
|
|
|
@Override
|
|
protected void onPause() {
|
|
super.onPause();
|
|
delegate.onPause(this);
|
|
}
|
|
|
|
@Override
|
|
protected void onDestroy() {
|
|
super.onDestroy();
|
|
delegate.onDestroy(this);
|
|
}
|
|
|
|
@Override
|
|
public void onMasterSecretCleared() {
|
|
finish();
|
|
}
|
|
|
|
@Override
|
|
public void onNewMasterSecret(MasterSecret masterSecret) {}
|
|
}
|