sm6250-common: fingerprint: Clean up duplicated includes

* Move all includes to header.

Change-Id: I36b26dcf16c8b51958129707242cafa712a17bf1
This commit is contained in:
Pig 2020-05-20 02:11:58 +02:00 committed by Demon000
parent fa541228c0
commit 173559b256
3 changed files with 10 additions and 15 deletions

View File

@ -14,18 +14,9 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250"
#include <hardware/hw_auth_token.h>
#include <hardware/hardware.h>
#include <hardware/fingerprint.h>
#include "BiometricsFingerprint.h"
#include <cutils/properties.h>
#include <inttypes.h>
#include <unistd.h>
namespace android {
namespace hardware {
namespace biometrics {

View File

@ -17,12 +17,20 @@
#ifndef ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H
#define ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_1_BIOMETRICSFINGERPRINT_H
#include <log/log.h>
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250"
#include <android/log.h>
#include <cutils/properties.h>
#include <hardware/hardware.h>
#include <hardware/fingerprint.h>
#include <hardware/hw_auth_token.h>
#include <hidl/HidlTransportSupport.h>
#include <hidl/MQDescriptor.h>
#include <hidl/Status.h>
#include <inttypes.h>
#include <log/log.h>
#include <unistd.h>
#include <android/hardware/biometrics/fingerprint/2.1/IBiometricsFingerprint.h>
namespace android {
@ -40,6 +48,7 @@ using ::android::hardware::Void;
using ::android::hardware::hidl_vec;
using ::android::hardware::hidl_string;
using ::android::sp;
using ::android::status_t;
struct BiometricsFingerprint : public IBiometricsFingerprint {
public:

View File

@ -14,11 +14,6 @@
* limitations under the License.
*/
#define LOG_TAG "android.hardware.biometrics.fingerprint@2.1-service.xiaomi_sm6250"
#include <android/log.h>
#include <hidl/HidlTransportSupport.h>
#include "BiometricsFingerprint.h"
// libhwbinder: