Commit d6b79f80 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf
Browse files

Thumbnailer: don't store the context

parent df6442ef
......@@ -56,17 +56,15 @@ public class Thumbnailer implements Runnable {
protected Thread mThread;
private LibVLC mLibVlc;
private final Context mContext;
private int totalCount;
private final float mDensity;
private final String mPrefix;
public Thumbnailer(Context context, Display display) {
mContext = context;
DisplayMetrics metrics = new DisplayMetrics();
mDensity = metrics.density;
mPrefix = mContext.getResources().getString(R.string.thumbnail);
mPrefix = context.getResources().getString(R.string.thumbnail);
public void start(VideoGridFragment videoGridFragment) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment