mirror of
https://github.com/xdsopl/robot36.git
synced 2025-12-06 07:12:07 +01:00
use default settings from the previous implementation
This commit is contained in:
parent
c6b9809a09
commit
2ed8f98594
|
|
@ -334,9 +334,9 @@ public class MainActivity extends AppCompatActivity {
|
|||
|
||||
@Override
|
||||
protected void onCreate(Bundle state) {
|
||||
final int defaultSampleRate = 8000;
|
||||
final int defaultSampleRate = 44100;
|
||||
final int defaultChannelSelect = 0;
|
||||
final int defaultAudioSource = MediaRecorder.AudioSource.DEFAULT;
|
||||
final int defaultAudioSource = MediaRecorder.AudioSource.MIC;
|
||||
if (state == null) {
|
||||
SharedPreferences pref = getPreferences(Context.MODE_PRIVATE);
|
||||
AppCompatDelegate.setDefaultNightMode(pref.getInt("nightMode", AppCompatDelegate.getDefaultNightMode()));
|
||||
|
|
|
|||
Loading…
Reference in a new issue