policy_hal: do not check MODE_IN_COMMUNICATION for voip_rx flag

Some VoIP clients may choose to open the streams as soon as the phone
state is set to MODE_RINGTONE to allow lower start latency when the call
is connected. This patch removes the unnecessary check conditions for
MODE_IN_COMMUNICATION since the stream type is sufficient indicator for
setting the flags for VoIP calls.

Bug: 62782025
Commit: 72ad4b91d6ece44b7967080c44695227c6789147
Change-Id: Idc7e1b6f33921580c0937dee71b2b2105cbd31eb

CRs-Fixed: 2399711
Change-Id: I68b9204210a857cf78e9b7467671cd8013a3d789
1 file changed
tree: 9947916a2031b2a8e87d605f9f4eccaa06b88c96
  1. policy_hal/
  2. Android.mk