mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 16:19:28 +01:00
Android: Refresh game library when resuming (Tv)MainActivity
This commit is contained in:
parent
b3c705fa96
commit
9ee0740c2d
@ -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…
x
Reference in New Issue
Block a user