title: Android 4.2.1 / 4.2.2 Notifications vibrate in silent mode
body: <p>Prior to Android 4.2.1 the following code worked just fine</p>
  
  <pre><code>notification.audioStreamType = AudioManager.STREAM_RING;
  notification.flags = notification.flags | Notification.FLAG_INSISTENT
          | Notification.FLAG_ONGOING_EVENT;
  notificationManager.notify(ID_NOTIFICATION_SOUND, notification);
  </code></pre>
  
  <p>Vibration is done separately, depending on the state of a preference setting.</p>
  
  <pre><code>vibrator = (Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
  vibrator.vibrate(vibr_pattern1, 0);
  </code></pre>
  
  <p>Now with Android 4.2.1+ there is always vibration even if the phone is set to silent (no vibration) and set to vibrate mode, even if the app settings for vibration are set to off.
  Interestingly there is no vibration when the phone is in normal mode.</p>
  
  <p>As mentioned, everything worked fine before 4.2.1.</p>
  
  <p>Can someone help? What did google change here? Is it related to <a href="http://code.google.com/p/android/issues/detail?id=39592" rel="nofollow">this bug report</a>?</p>
  
  <p>Regards,<br>Andreas</p>