Backend: abstract version information
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
@@ -46,6 +46,10 @@ public class Application extends android.app.Application {
|
||||
return get().asyncWorker;
|
||||
}
|
||||
|
||||
public static Backend getBackend() {
|
||||
return get().backend;
|
||||
}
|
||||
|
||||
public static Class getBackendType() {
|
||||
return get().backend.getClass();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user