App wait activity Changes required as per Android "Q" latest version

Appium is using below command to check appWaitActivity in Android.
adb shell dumpsys window windows

But from Android “Q” - Now it is changed to below command.
New command: adb shell dumpsys window displays
Refer to my ticket: https://issuetracker.google.com/issues/128560160

If we use appWaitActivity in capabilities then it is not creating session as the adb shell dumpsys window windows command is not working in “Q”.

  • we can create the session without appWaitActivity as well to over come this issue.
    Please fix this issue in next release.

Added to the tracker: https://github.com/appium/appium/issues/12311#issuecomment-473180326

1 Like