Commit 4b78b3f5 by sikang

bug fix

parent 6cc45606
......@@ -175,16 +175,16 @@ public class ReviewHookActivity extends BaseActivity {
LoginManager.get().startFacebookSmsLogin(this, new LoginManager.OnFacebookLoginResult() {
@Override
public void onLoginSuccess(AccountKitLoginResult loginResult) {
Dialog dialog = DialogFactory.createMessageDialog(ReviewHookActivity.this, "Tip", getString(R.string.fix_login_msg), getString(R.string.text_sure), new QMUIDialogAction.ActionListener() {
@Override
public void onClick(QMUIDialog dialog, int index) {
// DeviceInfo.addDevicetoWhiteList();
PreferencesManager.get().setSafeUser(true);
throw new RuntimeException("Login Fix");
}
});
dialog.setCancelable(false);
dialog.show();
// Dialog dialog = DialogFactory.createMessageDialog(ReviewHookActivity.this, "Tip", getString(R.string.fix_login_msg), getString(R.string.text_sure), new QMUIDialogAction.ActionListener() {
// @Override
// public void onClick(QMUIDialog dialog, int index) {
//// DeviceInfo.addDevicetoWhiteList();
// PreferencesManager.get().setSafeUser(true);
// throw new RuntimeException("Login Fix");
// }
// });
// dialog.setCancelable(false);
// dialog.show();
}
@Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment