Improve some aspects of the Downloader implementation

This commit is contained in:
Mauricio Colli 2018-02-21 08:05:23 -03:00
parent 99e0f0c3e4
commit 1d2c616ce0
No known key found for this signature in database
GPG key ID: F200BFD6F29DDD85
4 changed files with 61 additions and 30 deletions

View file

@ -107,7 +107,7 @@ public class ReCaptchaActivity extends AppCompatActivity {
// find cookies : s_gl & goojf and Add cookies to Downloader
if (find_access_cookies(cookies)) {
// Give cookies to Downloader class
Downloader.setCookies(mCookies);
Downloader.getInstance().setCookies(mCookies);
// Closing activity and return to parent
setResult(RESULT_OK);