From 6785d8c69fa4a48dc7db6d9bd3b2aae635bdc546 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Wed, 8 May 2019 14:11:06 +0200 Subject: [PATCH] set volume control channel to media volume / default. fixes #3451 --- src/main/java/eu/siacs/conversations/ui/XmppActivity.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java index 87c417697..1bf41d4d2 100644 --- a/src/main/java/eu/siacs/conversations/ui/XmppActivity.java +++ b/src/main/java/eu/siacs/conversations/ui/XmppActivity.java @@ -25,7 +25,6 @@ import android.graphics.Color; import android.graphics.Point; import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.Drawable; -import android.media.AudioManager; import android.net.ConnectivityManager; import android.net.Uri; import android.os.AsyncTask; @@ -39,7 +38,6 @@ import android.preference.PreferenceManager; import android.support.annotation.BoolRes; import android.support.annotation.NonNull; import android.support.annotation.StringRes; -import android.support.v4.content.ContextCompat; import android.support.v7.app.AlertDialog; import android.support.v7.app.AlertDialog.Builder; import android.support.v7.app.AppCompatDelegate; @@ -393,7 +391,6 @@ public abstract class XmppActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setVolumeControlStream(AudioManager.STREAM_NOTIFICATION); metrics = getResources().getDisplayMetrics(); ExceptionHelper.init(getApplicationContext()); new EmojiService(this).init();