commit | f3eadf62a206cee2a6da970a491b0230dc8d1293 | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Feb 10 08:21:27 2022 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Feb 10 08:21:27 2022 +0000 |
tree | a1e235de10c17df607c91ee63cd5fb5753ce5de6 | |
parent | f6376dbf51760c1b4019c66a88084ef2202d8c23 [diff] | |
parent | c20d70e09f6e8d7b7a51584ec38406b8277b71ed [diff] |
Merge "Assure width and height are always initialized"
diff --git a/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/composer-vts/include/VtsComposerClient.h b/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/composer-vts/include/VtsComposerClient.h index b53edf8..9af867c 100644 --- a/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/composer-vts/include/VtsComposerClient.h +++ b/graphics/composer/aidl/android/hardware/graphics/composer3/vts/functional/composer-vts/include/VtsComposerClient.h
@@ -199,7 +199,7 @@ class VtsDisplay { public: - VtsDisplay(int64_t displayId) : mDisplayId(displayId) {} + VtsDisplay(int64_t displayId) : mDisplayId(displayId), mDisplayWidth(0), mDisplayHeight(0) {} int64_t getDisplayId() const { return mDisplayId; } @@ -237,4 +237,4 @@ int32_t mDisplayHeight; std::unordered_map<int32_t, DisplayConfig> displayConfigs; }; -} // namespace aidl::android::hardware::graphics::composer3::vts \ No newline at end of file +} // namespace aidl::android::hardware::graphics::composer3::vts