I used this function to restrict the system setting of font size.
And this is perfectly working fine in iOS devices but for Android this is not working properly in several devices.
I tested in One Plus 3 (Android Version: 9.0.0) and Samsung Galaxy J7 Crown (Android Version: 8.0.0) and MobileAccessibility.usePreferredTextZoom(false) is not working in these devices.