diff options
author | nxf32288 <ganesh.deva_1@nxp.com> | 2018-05-15 12:21:39 +0530 |
---|---|---|
committer | nxf24591 <nanjesh.s_1@nxp.com> | 2018-06-13 18:04:40 +0530 |
commit | 280c77168ef7317339542ba8a5d58e725b336e35 (patch) | |
tree | 3308adccb83dbf3aa332ddf8d8c9dc0d3ce99c4f /utils/include | |
parent | 0cb95a0cb9bd44f63cb19a5b0af4b68e9ab5512e (diff) | |
download | android_vendor_nxp_opensource_external_libnfc-nci-280c77168ef7317339542ba8a5d58e725b336e35.tar.gz android_vendor_nxp_opensource_external_libnfc-nci-280c77168ef7317339542ba8a5d58e725b336e35.tar.bz2 android_vendor_nxp_opensource_external_libnfc-nci-280c77168ef7317339542ba8a5d58e725b336e35.zip |
Read libnfc-nci.conf file after NFC Toggle.
Configs are cleared when Nfc is disabled. This change reads the
configs again if empty.
Change-Id: I2e115d399db598b78f0be1a8a20af23a71fc31d0
Diffstat (limited to 'utils/include')
-rwxr-xr-x | utils/include/config.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/include/config.h b/utils/include/config.h index a9a16ec..bb3e0dc 100755 --- a/utils/include/config.h +++ b/utils/include/config.h @@ -52,6 +52,7 @@ class ConfigFile { unsigned getUnsigned(const std::string& key); std::vector<uint8_t> getBytes(const std::string& key); + bool isEmpty(); void clear(); private: |