I have an app that I don't want to have network access. It does work when I put the phone in plane mode, but simply blocking it with AFWall causes it to hang, probably waiting for network replies. It seems to check, if the device has an internet connection and switch to an offline mode based on that.
Is there a way to not only block the network access, but also fake the device's connection status for specific apps? Solutions needing root or Xposed are fine with me.