surfaceflinger: fix -Woverloaded-virtual warning
warning: 'android::LayerDim::isOpaque' hides overloaded virtual function
[-Woverloaded-virtual]
Change-Id: Ie27a6c943f485bc89ce11e424a4e7d99805d4dd0
(cherry picked from commit 382574d116
)
This commit is contained in:
parent
1495ceb885
commit
9b901805ed
@ -36,7 +36,7 @@ public:
|
|||||||
virtual const char* getTypeId() const { return "LayerDim"; }
|
virtual const char* getTypeId() const { return "LayerDim"; }
|
||||||
virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
|
virtual void onDraw(const sp<const DisplayDevice>& hw, const Region& clip,
|
||||||
bool useIdentityTransform) const;
|
bool useIdentityTransform) const;
|
||||||
virtual bool isOpaque() const { return false; }
|
virtual bool isOpaque(const Layer::State&) const { return false; }
|
||||||
virtual bool isSecure() const { return false; }
|
virtual bool isSecure() const { return false; }
|
||||||
virtual bool isFixedSize() const { return true; }
|
virtual bool isFixedSize() const { return true; }
|
||||||
virtual bool isVisible() const;
|
virtual bool isVisible() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user