Commit 313f4dbf by sikang

bug fix FB 热切换

parent 6a7cc917
......@@ -9,12 +9,6 @@ public class AccountKitUtils {
public static boolean initAccountKit(String facebookAppId, String appName, String accoutkitClientToken) {
try {
if (facebookAppId.equals(PreferencesManager.get().getAccountAppId()) && accoutkitClientToken.equals(PreferencesManager.get().getAccountKitToken())) {
return false;
}
PreferencesManager.get().saveAccountAppId(facebookAppId);
PreferencesManager.get().saveAccountKitToken(accoutkitClientToken);
Class clazz = AccountKitController.class;
Field initializerField = clazz.getDeclaredField("initializer");
initializerField.setAccessible(true);
......
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