Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
Expand Up @@ -86,6 +86,7 @@ protected void onResume()
{
super.onResume();
mPresenter.addDirIfNeeded(this);
GameFileCacheService.startRescan(this);
}

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

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

@Override
Expand Down

0 comments on commit 851b438

Please sign in to comment.