nfc(service): Throw illegal state exception when not in fg

Instead of checking this in the API class, throw a remote exception from
service when we detect that a non-fg app is trying to enable/disable fg
dispatch.

Bug: 263565738
Test: atest CtsNfcTestCases
Test: CtsVerifier tag tests
Change-Id: Id8c39991b29b09ce318555542bf5fc0bb381f0bd
1 file changed
tree: f4d463e9b6cfbe7336fa45893b8eeccb52e57f04
  1. NfcNci/