- Requires shizuku permission:Get Shizuku App
- TargetSdk <= 27 (Android 8.1)
Implement flight mode switch through reflection, setAirplaneMode
method has been removed from the source code since Android 8.1, the targetSdk version at compile time must not be too high, or else you can't find the “setAirplaneMode” method through the reflection class!
通过反射实现飞行模式开关,setAirplaneMode
方法自Android 8.1之后的源码中已移除,编译时的targetSdk版本不能太高,否则无法通过反射类找到"setAirplaneMode"方法!
Old version: https://github.com/iamverycute/TAM