encdroid
encdroid copied to clipboard
Account.linkOrAuthIfNeeded() shouldn't need an Activity
This is being called within TaskFragment / AsyncTask and should ideally work fine in the absence of an Activity context.
It's possible for GoogleDriveAccount.startAuthThread() to accept Fragment as well, this was Account.linkOrAuthIfNeeded() can be passed the TaskFragment reference.