@SuppressWarnings("checkstyle:parameternumber") // Checkstyle should not complain about interface methods. No way to workaround this. @Override public void onLayoutChange(View v, int left, int top, int right, int bottom, int oldLeft, int oldTop, int oldRight, int oldBottom) { if (statusMightBeCorrupted()) { forceAlignNativeMediaPlayerStatus(); } }