Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d33d4da5 authored by Ady Abraham's avatar Ady Abraham
Browse files

SurfaceFlinger: remove rounded corner from Refresh Rate Overlay

Rounded corner requires client composition and may change the timing
of frames.

Bug: 131887402
Test: adb shell service call SurfaceFlinger 1034 i32 1
Change-Id: I336823376e982de85f328af96fa5198a90fe6564
parent 6902bb6c
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ bool RefreshRateOverlay::createLayer() {

    mLayer = mClient->getLayerUser(mIBinder);
    mLayer->setCrop_legacy(Rect(50, 70, 200, 100), true);
    mLayer->setCornerRadius(15.0f);
    mLayer->setLayer(INT32_MAX - 2);

    return true;