Merge "Fix "don't leak AUDIO_INPUT_FLAG_DIRECT to HAL version <= 5"" am: 406621c63e

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1629265

Change-Id: If6bce8ad8379ab0f6eb7c8afa6ce7c54401973fe