- Jul 17, 2017
- 1
- 1
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 8.2.4.0 (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"?
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 8.2.4.0 (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"?