Backend: abstract version information

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld
2018-06-07 04:35:07 +02:00
parent 24605c9c01
commit 8d27570eea
6 changed files with 48 additions and 24 deletions
@@ -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();
}