audio: fix for mismatched UseCase Type

- useCase name is compared with static string by length of static string
- But, Some useCase names are equal to each other in front string part
- For example, a "HiFi" and a "HiFi rec" are same in part of "HiFi"
- This patch is matched getUseCaseType() function of alsa_ucm.c file

bug: 7294569
related-to-bug: 7263961
Change-Id: Ia83f705756b750798d408a307f0697f9af9ec5dc
Signed-off-by: Iliyan Malchev <malchev@google.com>
1 file changed
tree: 40ecc9b6e1f2a51c5c3ce0dde6e3605a301e55ce
  1. alsa_sound/
  2. libalsa-intf/
  3. Android.mk