Update CTS to reflect recent vibration fixes.

Pre-Froyo, if you set VIBRATE_TYPE_RINGER to
VIBRATE_SETTING_OFF, incoming calls would still vibrate if
the device was in RINGER_MODE_VIBRATE.  This was fixed in
https://android-git.corp.google.com/g/#change,48440 so that
VIBRATE_TYPE_RINGER trumps; this is because we're now
properly treating RINGER_MODE_VIBRATE as sort of an upper
bound: vibrations are *permitted* but not *required*.

Bug: 2639299
Change-Id: I44401d4a9d73fa43e9152da9ffefc6706aa59429
diff --git a/tests/tests/media/src/android/media/cts/AudioManagerTest.java b/tests/tests/media/src/android/media/cts/AudioManagerTest.java
index 6b1f24c..3558fa3 100644
--- a/tests/tests/media/src/android/media/cts/AudioManagerTest.java
+++ b/tests/tests/media/src/android/media/cts/AudioManagerTest.java
@@ -436,7 +436,10 @@
 
         mAudioManager.setRingerMode(RINGER_MODE_VIBRATE);
         assertEquals(RINGER_MODE_VIBRATE, mAudioManager.getRingerMode());
-        assertTrue(mAudioManager.shouldVibrate(VIBRATE_TYPE_RINGER));
+        // Note: as of Froyo, if VIBRATE_TYPE_RINGER is set to OFF, it will
+        // not vibrate, even in RINGER_MODE_VIBRATE. This allows users to
+        // disable the vibration for incoming calls only.
+        assertFalse(mAudioManager.shouldVibrate(VIBRATE_TYPE_RINGER));
 
         // VIBRATE_SETTING_ONLY_SILENT
         mAudioManager.setVibrateSetting(VIBRATE_TYPE_RINGER, VIBRATE_SETTING_ONLY_SILENT);