Merge pull request #8844 from Ebola16/RGL
Android: Refresh game library when resuming (Tv)MainActivity
This commit is contained in:
commit
851b438419
|
@ -86,6 +86,7 @@ public final class MainActivity extends AppCompatActivity implements MainView
|
|||
{
|
||||
super.onResume();
|
||||
mPresenter.addDirIfNeeded(this);
|
||||
GameFileCacheService.startRescan(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -112,7 +112,6 @@ public final class MainPresenter
|
|||
{
|
||||
GameFileCache.addGameFolder(mDirToAdd, context);
|
||||
mDirToAdd = null;
|
||||
GameFileCacheService.startRescan(context);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -65,6 +65,7 @@ public final class TvMainActivity extends FragmentActivity implements MainView
|
|||
{
|
||||
super.onResume();
|
||||
mPresenter.addDirIfNeeded(this);
|
||||
GameFileCacheService.startRescan(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue