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


#1

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.

#2

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