sensors: adapt and rebrand for hardware/samsung

Change-Id: I6c0521888ad60e5ecdd967809f91d0962a7c08a8
Signed-off-by: Jesse Chan <jc@lineageos.org>
tirimbino
Jesse Chan 5 years ago
parent 8e654496b7
commit 3e3dfb28a9
  1. 3
      hidl/sensors/Android.bp
  2. 2
      hidl/sensors/Sensors.cpp
  3. 6
      hidl/sensors/Sensors.h

@ -1,5 +1,5 @@
cc_library_shared {
name: "android.hardware.sensors@1.0-impl",
name: "android.hardware.sensors@1.0-impl.samsung",
defaults: ["hidl_defaults"],
proprietary: true,
relative_install_path: "hw",
@ -18,5 +18,4 @@ cc_library_shared {
"android.hardware.sensors@1.0-convert",
"multihal",
],
local_include_dirs: ["include/sensors"],
}

@ -15,7 +15,7 @@
*/
#include "Sensors.h"
#include "convert.h"
#include <sensors/convert.h>
#include "multihal.h"
#include <android-base/logging.h>

@ -14,9 +14,9 @@
* limitations under the License.
*/
#ifndef HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_SENSORS_H_
#ifndef HARDWARE_INTERFACES_SENSORS_V1_0_SAMSUNG_SENSORS_H_
#define HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_SENSORS_H_
#define HARDWARE_INTERFACES_SENSORS_V1_0_SAMSUNG_SENSORS_H_
#include <android-base/macros.h>
#include <android/hardware/sensors/1.0/ISensors.h>
@ -85,4 +85,4 @@ extern "C" ISensors *HIDL_FETCH_ISensors(const char *name);
} // namespace hardware
} // namespace android
#endif // HARDWARE_INTERFACES_SENSORS_V1_0_DEFAULT_SENSORS_H_
#endif // HARDWARE_INTERFACES_SENSORS_V1_0_SAMSUNG_SENSORS_H_

Loading…
Cancel
Save