2018-07-04, 14:21
Maybe it is the python code that launches system/bin/am. I compared the code of our three Addons and they are all a bit different.
If I grabbed the correct parts of your addons it looks like this:
IAGL (Non-Android)
IAGL (Android):
RCB
AEL
The difference seems to be the "executable='/system/bin/sh'" part in IAGLs launch code. Maybe thats the trick. But as Wintermute I can't test on Android 8, so I can't tell if this will work.
If I grabbed the correct parts of your addons it looks like this:
IAGL (Non-Android)
Code:
subprocess.call(self.external_launch_command,shell=True)
Code:
subprocess.call(self.external_launch_command,shell=True,executable='/system/bin/sh')
Code:
subprocess.Popen(cmd, shell=True)
Code:
subprocess.call(command, stdout = f, stderr = subprocess.STDOUT, close_fds = True)
The difference seems to be the "executable='/system/bin/sh'" part in IAGLs launch code. Maybe thats the trick. But as Wintermute I can't test on Android 8, so I can't tell if this will work.