title: killBackgroundProcesses not working (for other app)
body: <p>I'm trying to have my app turn off a music player using the code below:</p>
  
  <pre><code>import android.app.ActivityManager;
  import android.content.BroadcastReceiver;
  import android.content.Context;
  import android.content.Intent;
  import android.media.AudioManager;
  
  public class MyBroadcastReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
  AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
  audioManager.setStreamVolume(AudioManager.STREAM_MUSIC, 0, 0);
  ActivityManager activityManager = (ActivityManager)      
  context.getSystemService(Context.ACTIVITY_SERVICE);
      String music = "com.sec.android.app.music";
      activityManager.killBackgroundProcesses(music);
    }
  
  } 
  </code></pre>
  
  <p>But it's only turning down the volume, not killing the application. I have added the appropriate permissions to the manifest and I'm targeting higher than API 8 Thanks.</p>