mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 03:23:07 +00:00
Save the bitrate preference before starting a stream
This commit is contained in:
parent
5efcd606e3
commit
508b855e36
@ -226,6 +226,12 @@ public class Connection extends Activity {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Ensure that the bitrate preference is up to date before
|
||||||
|
// starting the game activity
|
||||||
|
prefs.edit().
|
||||||
|
putInt(Game.BITRATE_PREF_STRING, bitrateSlider.getProgress()).
|
||||||
|
commit();
|
||||||
|
|
||||||
Intent intent = new Intent(Connection.this, Game.class);
|
Intent intent = new Intent(Connection.this, Game.class);
|
||||||
intent.putExtra("host", Connection.this.hostText.getText().toString());
|
intent.putExtra("host", Connection.this.hostText.getText().toString());
|
||||||
Connection.this.startActivity(intent);
|
Connection.this.startActivity(intent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user