Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26ed7aeb authored by Steve Kondik's avatar Steve Kondik
Browse files

Fix an NPE in AccountManagerService.

parent f3c383ca
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -965,12 +965,14 @@ public class AccountManagerService
                return;
            }

            if (mAuthenticator != null) { 
                try {
                    mAuthenticator.hasFeatures(this, mAccountsOfType[mCurrentAccount], mFeatures);
                } catch (RemoteException e) {
                    onError(AccountManager.ERROR_CODE_REMOTE_EXCEPTION, "remote exception");
                }
            }
        }

        public void onResult(Bundle result) {
            mNumResults++;