commit | 3279591343ef0f07c77fe81301e3a23302ed1a75 | [log] [tgz] |
---|---|---|
author | Roshan Pius <rpius@google.com> | Tue Feb 21 11:55:21 2023 -0800 |
committer | Roshan Pius <rpius@google.com> | Wed Feb 22 16:46:27 2023 +0000 |
tree | f4d463e9b6cfbe7336fa45893b8eeccb52e57f04 | |
parent | 44350f5b7b8d6b5daac28bd363e454c2a6dd7011 [diff] |
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