forked from mirror/monocles_chat_clean
Fix Restore Backup -> Crash Problem
init the Reference to SharedPerference so that the AppLock won't crash when there is dialog return from System UI(Open Document).
This commit is contained in:
parent
375cf9f115
commit
62f8bcdfef
1 changed files with 2 additions and 0 deletions
|
@ -107,6 +107,7 @@ import eu.siacs.conversations.xmpp.OnKeyStatusUpdated;
|
|||
import eu.siacs.conversations.xmpp.OnUpdateBlocklist;
|
||||
import eu.siacs.conversations.xmpp.XmppConnection;
|
||||
import me.drakeet.support.toast.ToastCompat;
|
||||
import p32929.easypasscodelock.Utils.FayazSP;
|
||||
import pl.droidsonroids.gif.GifDrawable;
|
||||
import android.util.Pair;
|
||||
import net.java.otr4j.session.SessionID;
|
||||
|
@ -493,6 +494,7 @@ public abstract class XmppActivity extends ActionBarActivity {
|
|||
@SuppressLint("UnsupportedChromeOsCameraSystemFeature")
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
FayazSP.init(getApplicationContext());
|
||||
super.onCreate(savedInstanceState);
|
||||
this.mTheme = findTheme();
|
||||
setTheme(this.mTheme);
|
||||
|
|
Loading…
Add table
Reference in a new issue