A few variable type fixes
This commit is contained in:
parent
ccbfa2744e
commit
a0a2fe4cf0
@ -197,7 +197,7 @@ public class AppDetails extends ListActivity {
|
|||||||
LinearLayout headerView;
|
LinearLayout headerView;
|
||||||
View infoView;
|
View infoView;
|
||||||
|
|
||||||
private Context mctx = this;
|
private final Context mctx = this;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
|
@ -55,7 +55,7 @@ import org.fdroid.fdroid.compat.ContextCompat;
|
|||||||
public class DB {
|
public class DB {
|
||||||
|
|
||||||
private static Semaphore dbSync = new Semaphore(1, true);
|
private static Semaphore dbSync = new Semaphore(1, true);
|
||||||
static DB dbInstance = null;
|
private static DB dbInstance = null;
|
||||||
|
|
||||||
// Initialise the database. Called once when the application starts up.
|
// Initialise the database. Called once when the application starts up.
|
||||||
static void initDB(Context ctx) {
|
static void initDB(Context ctx) {
|
||||||
|
@ -126,7 +126,7 @@ public class FDroidApp extends Application {
|
|||||||
ImageLoader.getInstance().init(config);
|
ImageLoader.getInstance().init(config);
|
||||||
}
|
}
|
||||||
|
|
||||||
Context ctx;
|
private Context ctx;
|
||||||
|
|
||||||
// Global list of all known applications.
|
// Global list of all known applications.
|
||||||
private List<DB.App> apps;
|
private List<DB.App> apps;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user