Update dependencies

And make the isRunning function in AegisApplication a little easier to read
This commit is contained in:
Alexander Bakker 2018-05-08 19:31:47 +02:00
parent aaf7dbdb85
commit 4cd87b0452
6 changed files with 23 additions and 23 deletions

View file

@ -38,11 +38,11 @@ public class AegisApplication extends Application {
public boolean isRunning() {
// return false the first time this is called
if (_running) {
return true;
if (!_running) {
_running = true;
return false;
}
_running = true;
return false;
return true;
}
@RequiresApi(api = Build.VERSION_CODES.N_MR1)