hidl: fingerprint: Use pragma once

Change-Id: Id3d0a28a94f52a8f9d2c72fe41e633761557951f
tirimbino
Bruno Martins 3 years ago
parent 1e3da86463
commit 44db14cca9
  1. 7
      hidl/fingerprint/BiometricsFingerprint.h
  2. 5
      hidl/fingerprint/VendorConstants.h

@ -1,5 +1,5 @@
/* /*
* Copyright (C) 2019 The LineageOS Project * Copyright (C) 2019-2022 The LineageOS Project
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -14,8 +14,7 @@
* limitations under the License. * limitations under the License.
*/ */
#ifndef ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_3_BIOMETRICSFINGERPRINT_H #pragma once
#define ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_3_BIOMETRICSFINGERPRINT_H
#include <chrono> #include <chrono>
#include <thread> #include <thread>
@ -118,5 +117,3 @@ struct BiometricsFingerprint : public IBiometricsFingerprint {
} // namespace biometrics } // namespace biometrics
} // namespace hardware } // namespace hardware
} // namespace android } // namespace android
#endif // ANDROID_HARDWARE_BIOMETRICS_FINGERPRINT_V2_3_BIOMETRICSFINGERPRINT_H

@ -1,8 +1,7 @@
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
// Copyright (C) 2020 The LineageOS Project // Copyright (C) 2020 The LineageOS Project
#ifndef SAMSUNG_FINGERPRINT_CONSTANTS_H #pragma once
#define SAMSUNG_FINGERPRINT_CONSTANTS_H
// Fingerprint requests // Fingerprint requests
#define FINGERPRINT_REQUEST_ENROLL_SESSION 1002 #define FINGERPRINT_REQUEST_ENROLL_SESSION 1002
@ -100,5 +99,3 @@
#define SEM_SENSOR_STATUS_ERROR 100042 #define SEM_SENSOR_STATUS_ERROR 100042
#define SEM_SENSOR_STATUS_OK 100040 #define SEM_SENSOR_STATUS_OK 100040
#define SEM_SENSOR_STATUS_WORKING 100041 #define SEM_SENSOR_STATUS_WORKING 100041
#endif // SAMSUNG_FINGERPRINT_CONSTANTS_H

Loading…
Cancel
Save