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

Commit 03a8f7ac authored by Demon000's avatar Demon000 Committed by Demon Singur
Browse files

FODCircleView: update position of icon before show

FOD icon can appear in the wrong position when locking
the device while in landscape.
Fix it by updating the position before showing.

Change-Id: I812aa07357eadf8ff371761c041e44f5aab48046
parent 804ed1c7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -321,6 +321,8 @@ public class FODCircleView extends ImageView {

        mIsShowing = true;

        updatePosition();

        dispatchShow();
        setVisibility(View.VISIBLE);
    }