Skip to content

Commit

Permalink
feat: public access for OkDownloadProvider#context because non-main p…
Browse files Browse the repository at this point in the history
…rocess can't init
  • Loading branch information
Jacksgong committed Dec 24, 2019
1 parent 1b63c82 commit e63def8
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@

public class OkDownloadProvider extends ContentProvider {
@SuppressFBWarnings(value = "ST")
@SuppressLint("StaticFieldLeak") static Context context;
@SuppressLint("StaticFieldLeak")
public static Context context;

@Override
public boolean onCreate() {
Expand Down

0 comments on commit e63def8

Please sign in to comment.