diff options
Diffstat (limited to 'system/hwc3/Composer.h')
-rw-r--r-- | system/hwc3/Composer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/hwc3/Composer.h b/system/hwc3/Composer.h index e46e951a..a6286438 100644 --- a/system/hwc3/Composer.h +++ b/system/hwc3/Composer.h @@ -18,7 +18,7 @@ #define ANDROID_HWC_COMPOSER_H #include <aidl/android/hardware/graphics/composer3/BnComposer.h> -#include <utils/Mutex.h> +#include <android-base/thread_annotations.h> #include <memory> @@ -45,7 +45,7 @@ class Composer : public BnComposer { void onClientDestroyed(); std::mutex mClientMutex; - std::weak_ptr<ComposerClient> mClient GUARDED_BY(mClientMutex); + std::weak_ptr<ComposerClient> mClient; std::condition_variable mClientDestroyedCondition; }; |