mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-25 02:55:23 +00:00
45 lines
999 B
Java
45 lines
999 B
Java
|
package org.thoughtcrime.securesms;
|
||
|
|
||
|
import android.os.Bundle;
|
||
|
|
||
|
import org.thoughtcrime.securesms.crypto.MasterSecret;
|
||
|
|
||
|
import com.actionbarsherlock.app.SherlockFragmentActivity;
|
||
|
|
||
|
public class PassphraseRequiredSherlockFragmentActivity extends SherlockFragmentActivity implements PassphraseRequiredActivity {
|
||
|
|
||
|
private final PassphraseRequiredMixin delegate = new PassphraseRequiredMixin();
|
||
|
|
||
|
@Override
|
||
|
protected void onCreate(Bundle savedInstanceState) {
|
||
|
super.onCreate(savedInstanceState);
|
||
|
delegate.onCreate(this, this);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onResume() {
|
||
|
super.onResume();
|
||
|
delegate.onResume(this, this);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onPause() {
|
||
|
super.onPause();
|
||
|
delegate.onPause(this, this);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
protected void onDestroy() {
|
||
|
super.onDestroy();
|
||
|
delegate.onDestroy(this, this);
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void onMasterSecretCleared() {
|
||
|
finish();
|
||
|
}
|
||
|
|
||
|
@Override
|
||
|
public void onNewMasterSecret(MasterSecret masterSecret) {}
|
||
|
}
|