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

Commit 67ac0304 authored by Diego Perez's avatar Diego Perez
Browse files

Set MockView.setGravity to public

The method is used from Studio so it needs to be public.

Test: N/A
Change-Id: I603de9ae0c8b719f5173eff152cc2558f734017e
parent 8dba8afc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -100,7 +100,8 @@ public class MockView extends FrameLayout {
        mView.setText(text);
    }

    private void setGravity(int gravity) {
    @SuppressWarnings("WeakerAccess") // This method is used from Studio
    public void setGravity(int gravity) {
        mView.setGravity(gravity);
    }
}