Make the 'try again' device management option actually try again.

Fixes #4648
Closes #4882
This commit is contained in:
David Novák 2015-12-14 16:26:56 +01:00 committed by Moxie Marlinspike
parent 0caad7f348
commit ee9b89c4d4

View File

@ -142,6 +142,7 @@ public class DeviceListFragment extends ListFragment
new DialogInterface.OnClickListener() { new DialogInterface.OnClickListener() {
@Override @Override
public void onClick(DialogInterface dialog, int which) { public void onClick(DialogInterface dialog, int which) {
getLoaderManager().getLoader(0).forceLoad();
getLoaderManager().initLoader(0, null, DeviceListFragment.this); getLoaderManager().initLoader(0, null, DeviceListFragment.this);
} }
}); });