Modify the API for camera privacy allowlist
After AAOS IVI review, it was recommended to not categorize
the camera privacy allowlisted apps into helpful apps,required apps
and helpful and required apps. Therefore removing those categories and changing the name to be more descriptive.
Bug: 326182516
Test: Build and test using camera privacy settings UI on automotive devices.
Change-Id: Ifa72945b1a7f7985ae4cf4bced0a0bb9f570d178
diff --git a/services/sensorservice/SensorService.h b/services/sensorservice/SensorService.h
index 118d928..bd54d24 100644
--- a/services/sensorservice/SensorService.h
+++ b/services/sensorservice/SensorService.h
@@ -340,8 +340,8 @@
binder::Status onSensorPrivacyChanged(int toggleType, int sensor,
bool enabled);
- // This callback is used for additional automotive-specific states for sensor privacy
- // such as AUTO_DRIVER_ASSISTANCE_APPS. The newly defined states will only be valid
+ // This callback is used for additional automotive-specific state for sensor privacy
+ // such as ENABLED_EXCEPT_ALLOWLISTED_APPS. The newly defined states will only be valid
// for camera privacy on automotive devices. onSensorPrivacyChanged() will still be
// invoked whenever the enabled status of a toggle changes.
binder::Status onSensorPrivacyStateChanged(int, int, int) {return binder::Status::ok();}