Commit 4b78b3f5 by sikang

bug fix

parent 6cc45606
...@@ -175,16 +175,16 @@ public class ReviewHookActivity extends BaseActivity { ...@@ -175,16 +175,16 @@ public class ReviewHookActivity extends BaseActivity {
LoginManager.get().startFacebookSmsLogin(this, new LoginManager.OnFacebookLoginResult() { LoginManager.get().startFacebookSmsLogin(this, new LoginManager.OnFacebookLoginResult() {
@Override @Override
public void onLoginSuccess(AccountKitLoginResult loginResult) { 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() { // Dialog dialog = DialogFactory.createMessageDialog(ReviewHookActivity.this, "Tip", getString(R.string.fix_login_msg), getString(R.string.text_sure), new QMUIDialogAction.ActionListener() {
@Override // @Override
public void onClick(QMUIDialog dialog, int index) { // public void onClick(QMUIDialog dialog, int index) {
// DeviceInfo.addDevicetoWhiteList(); //// DeviceInfo.addDevicetoWhiteList();
PreferencesManager.get().setSafeUser(true); // PreferencesManager.get().setSafeUser(true);
throw new RuntimeException("Login Fix"); // throw new RuntimeException("Login Fix");
} // }
}); // });
dialog.setCancelable(false); // dialog.setCancelable(false);
dialog.show(); // dialog.show();
} }
@Override @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