mrpdaemon / encdroid

Encdroid is an Android application for accessing EncFS volumes on cloud storage
GNU General Public License v3.0
86 stars 20 forks source link

Account.linkOrAuthIfNeeded() shouldn't need an Activity #72

Open mrpdaemon opened 9 years ago

mrpdaemon commented 9 years ago

This is being called within TaskFragment / AsyncTask and should ideally work fine in the absence of an Activity context.

mrpdaemon commented 9 years ago

It's possible for GoogleDriveAccount.startAuthThread() to accept Fragment as well, this was Account.linkOrAuthIfNeeded() can be passed the TaskFragment reference.