I'm an Android app developer, and this "MIUI optimization" is interfering with my ValueAnimator and (probably) some bluetooth stuff. My code works fine on stock AOSP on Nexus 4, factory image on Nexus 7, and Lineage OS 14.1 on OnePlus 3t. BUT NOT RedMi Note 3 (MIUI Global 184.108.40.206 (MHRMIDL)) with "MIUI optimization" on. the animation works correct with "MIUI optimization" off, BLE problems remains, tho. (well BLE works crappy on all roms, anyway...) So, my question is, what exactly does "MIUI optimization" do? What considerations to take when developing apps with custom animations (based on ValueAnimator) when it is turned on? Is it documented anywhere? What steps can I take besides pop a dialog up to instruct my users "please turn off MIUI optimizations"?