I'm trying to simulate the split screen action through adb by doing a long press on Overview virtual button.
adb shell input keyevent 187 ; sleep 2
The result is recents menu is shown only, but when I long press the Overview button myself it splits the screen. what's missing ?
Edit: longpress parameter isn't working too.
adb shell input keyevent --longpress 187 ; sleep 2
input tap is out of the scope