policy_hal: close input descriptor during device switch

closeAllInputs is not closing the input descriptor of all the
inputs before clearing input list. current active input count
on the profile is not getting decremented due to this reason

Called close on input descriptor to update curActiveCount
correctly

CRs-Fixed: 2217362
Change-Id: I8b0739ab179d2f9eaf92ee105d6bcfdcfca34de0
1 file changed
tree: d04cfee738521593dcd0edb87cb1455783da2a2b
  1. policy_hal/
  2. Android.mk