summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-30 23:26:32 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-30 23:26:32 +0000
commitc8a257772ba8284f8624014c5bb9fbeaee44f808 (patch)
treee3ebef4bf689edce575673fcf4e64ca68d2b216e
parentb50f509d86e3653021c3be672be1b10503801cb3 (diff)
parent098a0ef0e9e9ed875a7afe07ee25b19b5011a8af (diff)
downloadcamera-c8a257772ba8284f8624014c5bb9fbeaee44f808.tar.gz
Snap for 10225371 from 098a0ef0e9e9ed875a7afe07ee25b19b5011a8af to udc-release
Change-Id: Ife72bdd1f53c42a1114d8508384ce35d9f9a8d41
-rw-r--r--common/hal/common/hal_types.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/common/hal/common/hal_types.h b/common/hal/common/hal_types.h
index 0f7f9da..8695418 100644
--- a/common/hal/common/hal_types.h
+++ b/common/hal/common/hal_types.h
@@ -386,9 +386,10 @@ struct BufferReturn {
// ::android::hardware::camera::provider::V2_5::DeviceState
enum class DeviceState : uint64_t {
kNormal = 0ull,
- kBackCovered = 1ull,
- kFrontCovered = 2ull,
- kFolded = 4ull
+ kBackCovered = 1 << 0,
+ kFrontCovered = 1 << 1,
+ kFolded = 1 << 2,
+ kMaxDeviceState = 1 << 3 // for data validation
};
// Callback function invoked to process capture results.