removed unnececeary call of setVolumeControlStream()

This commit is contained in:
Christian Schabesberger 2016-02-01 13:45:22 +01:00
parent d3e9f354b3
commit fddcade1fb
2 changed files with 0 additions and 2 deletions

View File

@ -34,7 +34,6 @@ public class PanicResponderActivity extends Activity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setVolumeControlStream(AudioManager.STREAM_MUSIC);
Intent intent = getIntent(); Intent intent = getIntent();
if (intent != null && PANIC_TRIGGER_ACTION.equals(intent.getAction())) { if (intent != null && PANIC_TRIGGER_ACTION.equals(intent.getAction())) {
// TODO explicitly clear the search results once they are restored when the app restarts // TODO explicitly clear the search results once they are restored when the app restarts

View File

@ -55,7 +55,6 @@ public class SettingsActivity extends PreferenceActivity {
getDelegate().installViewFactory(); getDelegate().installViewFactory();
getDelegate().onCreate(savedInstanceBundle); getDelegate().onCreate(savedInstanceBundle);
super.onCreate(savedInstanceBundle); super.onCreate(savedInstanceBundle);
setVolumeControlStream(AudioManager.STREAM_MUSIC);
getSupportActionBar().setDisplayHomeAsUpEnabled(true); getSupportActionBar().setDisplayHomeAsUpEnabled(true);