projects
/
platform
/
core
/
api
/
mediatransporter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee89bd6
)
[1.0.28] Fix coverity issue (MISSING_LOCK)
36/305136/1
author
Gilbok Lee
<gilbok.lee@samsung.com>
Tue, 23 Jan 2024 00:36:03 +0000
(09:36 +0900)
committer
Gilbok Lee
<gilbok.lee@samsung.com>
Mon, 29 Jan 2024 06:25:17 +0000
(06:25 +0000)
Change-Id: Ie2e4b59d94cc7bab537861cd142d97b0d3bfe406
(cherry picked from commit
7eeeb0e41ca68ac651948a6692fb982e5f74bfe0
)
include/MediaTransporterDisplay.h
patch
|
blob
|
history
diff --git
a/include/MediaTransporterDisplay.h
b/include/MediaTransporterDisplay.h
index 639d89ba93381a6540950e942fdf7d04314de292..c79b7a4e22fec3d4028c3c2cb77ed90d906f9f33 100644
(file)
--- a/
include/MediaTransporterDisplay.h
+++ b/
include/MediaTransporterDisplay.h
@@
-41,10
+41,10
@@
public:
mtprDisplayType getType() { return _type; };
void setVisible(bool visible);
- bool getVisible() { return _visible; };
+ bool getVisible() {
std::lock_guard<std::mutex> mutex(_mutex);
return _visible; };
void setMode(mtprDisplayMode mode);
- mtprDisplayMode getMode() { return _mode; };
+ mtprDisplayMode getMode() {
std::lock_guard<std::mutex> mutex(_mutex);
return _mode; };
private:
void applyVisibleProperty();