#46 add missing GBApplication
This commit is contained in:
parent
f143c9ec54
commit
3e79269d43
|
@ -0,0 +1,16 @@
|
|||
package nodomain.freeyourgadget.gadgetbridge;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
|
||||
public class GBApplication extends Application {
|
||||
private static GBApplication context;
|
||||
|
||||
public GBApplication() {
|
||||
context = this;
|
||||
}
|
||||
|
||||
public static Context getContext() {
|
||||
return context;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue