ADJUST_TOGGLE_MUTE }
)
@Retention(RetentionPolicy.SOURCE)
- public @interface VolumeAdjustement {}
+ public @interface VolumeAdjustment {}
/** @hide */
public static final String adjustToString(int adj) {
public AudioPolicyVolumeCallback() {}
/**
* Called when volume key-related changes are triggered, on the key down event.
- * @param adjustement the type of volume adjustment for the key.
+ * @param adjustment the type of volume adjustment for the key.
*/
- public void onVolumeAdjustment(@AudioManager.VolumeAdjustement int adjustement) {}
+ public void onVolumeAdjustment(@AudioManager.VolumeAdjustment int adjustment) {}
}
private void onPolicyStatusChange() {
} else { // should never be null, but don't crash
Log.e(TAG, "Invalid null volume event");
}
+ break;
default:
Log.e(TAG, "Unknown event " + msg.what);
}