AudioPolicyManager: Handle error from setInputDevice in startInput

The error must not be ignored as otherwise the Java layer
thinks that recording has started successfully.

Bug: 136279123
Test: reproduce AudioRecordingConfigurationTest failure on cuttlefish,
      check test failure output, the failure must be
      "junit.framework.AssertionFailedError: expected:<3> but was:<1>"

Change-Id: I82bc3a43bf679cfb03d4246d07615d3fd4dac409
1 file changed