Index: src/org/adblockplus/android/AboutDialog.java |
diff --git a/src/org/adblockplus/android/AboutDialog.java b/src/org/adblockplus/android/AboutDialog.java |
index 1dbadeeb3c13f080cd7920ea63b093d3b4886c1e..5ab890926b304b76a1ad4b313fd38cf1fe0e6726 100644 |
--- a/src/org/adblockplus/android/AboutDialog.java |
+++ b/src/org/adblockplus/android/AboutDialog.java |
@@ -29,12 +29,9 @@ import android.widget.TextView; |
public class AboutDialog extends Dialog |
{ |
- private static Context context = null; |
- |
public AboutDialog(final Context context) |
{ |
super(context); |
- AboutDialog.context = context; |
} |
@Override |
@@ -43,6 +40,7 @@ public class AboutDialog extends Dialog |
requestWindowFeature(Window.FEATURE_NO_TITLE); |
setContentView(R.layout.about); |
+ final Context context = this.getContext(); |
// Get package version code and name |
String versionName = "--"; |
int versionCode = -1; |