mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-04 15:06:08 +00:00
Fix state loss crashes
This commit is contained in:
@@ -124,7 +124,7 @@ public class PcView extends Activity implements AdapterFragmentCallbacks {
|
||||
});
|
||||
|
||||
getFragmentManager().beginTransaction()
|
||||
.add(R.id.pcFragmentContainer, new AdapterFragment()).commit();
|
||||
.add(R.id.pcFragmentContainer, new AdapterFragment()).commitAllowingStateLoss();
|
||||
|
||||
noPcFoundLayout = (RelativeLayout) findViewById(R.id.no_pc_found_layout);
|
||||
if (pcGridAdapter.getCount() == 0) {
|
||||
|
||||
Reference in New Issue
Block a user