Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 43dee11a authored by Rocky Fang's avatar Rocky Fang
Browse files

Create flag for sensor service

Bug: 307782607
Test: Compile
Change-Id: Idb6f9fea9af3cbcfd829ba177ca531aed5e50009
parent 53e97c92
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -7,6 +7,18 @@ package {
    default_applicable_licenses: ["frameworks_native_license"],
}

aconfig_declarations {
    name: "sensorservice_flags",
    package: "com.android.frameworks.sensorservice.flags",
    srcs: ["senserservice_flags.aconfig"],
}

cc_aconfig_library {
    name: "sensorservice_flags_c_lib",
    aconfig_declarations: "dynamic_sensors_flags",
    host_supported: true,
}

cc_library {
    name: "libsensorservice",

+8 −0
Original line number Diff line number Diff line
package: "com.android.frameworks.sensorservice.flags"

flag {
  name: "dynamic_sensor_hal_reconnect_handling"
  namespace: "sensors"
  description: "This flag controls if the dynamic sensor data will be clean up after HAL is disconnected."
  bug: "307782607"
}
 No newline at end of file