Really this is only a workaround, and not one that I am particularly happy with. The best solution would be to patch the framework. And I've been wanting to do it for a few weeks now. So I'll start working on it tonight.
It's just that on the ROM I'm testing on, which is OneUI 5.1, mock location doesn't want to work at all. It gives me a pop-up notification that the system is using a mock location app and then randomly it just goes away and the app just stops mocking location. Then you have to stop the app and restart it to resume the mock location.
This ONLY happens on OneUI and I can't find any solution to it. If someone has information on it I would really appreciate some advice.
PS: It even happend on OneUI Android 11 with smali patched framework
It's just that on the ROM I'm testing on, which is OneUI 5.1, mock location doesn't want to work at all. It gives me a pop-up notification that the system is using a mock location app and then randomly it just goes away and the app just stops mocking location. Then you have to stop the app and restart it to resume the mock location.
This ONLY happens on OneUI and I can't find any solution to it. If someone has information on it I would really appreciate some advice.
PS: It even happend on OneUI Android 11 with smali patched framework