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…
Reference in New Issue