Handles much of the cruft needed in Android to interface with AccountManager and provides a mechanism for storing a user in your app within AccountManager and automatically refreshing an OAuth2 token when necessary.
I got crash many times from users for this following issue ,
java.util.ConcurrentModificationException
at java.util.ArrayList$ArrayListIterator.next(ArrayList.java:573)
at com.shiftconnects.android.auth.AuthenticationManager.notifyCallbacksAuthenticationSuccessful(AuthenticationManager.java:505)
at com.shiftconnects.android.auth.AuthenticationManager.onGetAuthTokenSuccessful(AuthenticationManager.java:485)
at com.shiftconnects.android.auth.AuthTokenCallback.run(AuthTokenCallback.java:69)
at android.accounts.AccountManager$11.run(AccountManager.java:1427)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5345)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:824)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:640)
at dalvik.system.NativeStart.main(NativeStart.java)
I could not find out the solution . Please help me for this issue .