Not anymore. Following the famous ACCC v Apple court case, which was settled in June 2018, the Australian Consumer law was changed. If you replace the screen on your Samsung phone with a third-party repairer, your manufacturer warranty will not be voided.