livedisplay: Migrate to ioctl()
Change-Id: I2039c94eb3239f2d88ab67076b52f58493d9b43e
This commit is contained in:
@@ -32,9 +32,14 @@ using ::android::hardware::Void;
|
||||
|
||||
class AntiFlicker : public IAntiFlicker {
|
||||
public:
|
||||
AntiFlicker();
|
||||
|
||||
// Methods from ::vendor::lineage::livedisplay::V2_1::IAntiFlicker follow.
|
||||
Return<bool> isEnabled() override;
|
||||
Return<bool> setEnabled(bool enabled) override;
|
||||
|
||||
private:
|
||||
int mOplusDisplayFd;
|
||||
};
|
||||
|
||||
} // namespace implementation
|
||||
|
||||
@@ -32,9 +32,14 @@ using ::android::hardware::Void;
|
||||
|
||||
class SunlightEnhancement : public ISunlightEnhancement {
|
||||
public:
|
||||
SunlightEnhancement();
|
||||
|
||||
// Methods from ::vendor::lineage::livedisplay::V2_0::ISunlightEnhancement follow.
|
||||
Return<bool> isEnabled() override;
|
||||
Return<bool> setEnabled(bool enabled) override;
|
||||
|
||||
private:
|
||||
int mOplusDisplayFd;
|
||||
};
|
||||
|
||||
} // namespace implementation
|
||||
|
||||
Reference in New Issue
Block a user