Skip to content
Permalink
Browse files
Merge pull request #8844 from Ebola16/RGL
Android: Refresh game library when resuming (Tv)MainActivity
  • Loading branch information
JosJuice committed Jun 16, 2020
2 parents d4418a2 + 9ee0740 commit 851b438
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
@@ -86,6 +86,7 @@ protected void onResume()
{
super.onResume();
mPresenter.addDirIfNeeded(this);
GameFileCacheService.startRescan(this);
}

@Override
@@ -112,7 +112,6 @@ public void addDirIfNeeded(Context context)
{
GameFileCache.addGameFolder(mDirToAdd, context);
mDirToAdd = null;
GameFileCacheService.startRescan(context);
}
}

@@ -65,6 +65,7 @@ protected void onResume()
{
super.onResume();
mPresenter.addDirIfNeeded(this);
GameFileCacheService.startRescan(this);
}

@Override

0 comments on commit 851b438

Please sign in to comment.