BatteryFu
BatteryFu copied to clipboard
not working on android 8.1
has anyone tested on android 8.1? I'm using lineageOS 15.1 (unnoficial) with aamsung galaxy s6 and is not disabling the data connection
Yup, as far as I know, mobile data toggling is no longer supported by the OS. Only WiFi toggle will work.
I'm not an Android developer... to put in context... I've been reading your code and I can see in MobileDataSwitcher that there are different classes for some of android releases... Maybe there is a way to fix it creating and OreoSwitch with the function calls comented here: https://stackoverflow.com/questions/31120082/latest-update-on-enabling-and-disabling-mobile-data-programmatically
Here there's the reference to the library referenced in the second answer but updated to android 8.1: http://androidxref.com/8.1.0_r33/xref/frameworks/opt/telephony/src/java/com/android/internal/telephony/PhoneInternalInterface.java
thanks for readind this, I find your app very usefull!
Yup, as far as I know, mobile data toggling is no longer supported by the OS. Only WiFi toggle will work.
It's wrong. Mobile data toggling work in LineageOS 17.1 (Android 10).