Tests fail on Pie: AatpDeviceManager The app was built for an older version

0

On some Android 9.0 devices we see AatpDeviceManager popup window and all tests fail afterwards because of lost window focus.

Link to RUN: https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-west-2#/projects/a5cd451c-6593-4e2d-988d-3cfe012bcdd7/runs/41642dd2-62df-4644-90b6-fcad3f1696a8

Affected devices include
Google Pixel 2
Google Pixel 3
Samsung Galaxy 10+
Samsung Galaxy 10e

Popup dialog that steals the focus has:

  • title: AatpDeviceManager
  • message: The app was built for an older version of Android and may not work properly. Try checking for updates, or contact the developer.
  • buttons: Check for update and OK

Popup appears when "tapping on HOME button". We use following UI Automator commands to simulate HOME button:

UiDevice mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation());
mDevice.pressHome();

We use Gradle plugin and Android instrumentation.
UI Automator version: androidx.test.uiautomator:uiautomator:2.2.0

Since com.amazon.aatp.aatpdevicemanager is an internal Amazon app it would be good that Amazon team have a look into this issue that limits number of usable Android 9 devices heavily to only few. Search/googling didn't reveal anything related to this issue with Aatp.

Edited by: marjanovic on May 16, 2019 3:12 AM

Edited by: marjanovic on May 16, 2019 3:17 AM

Edited by: marjanovic on May 16, 2019 4:54 AM

Edited by: marjanovic on May 16, 2019 4:55 AM

已提问 5 年前262 查看次数
2 回答
0

Thank you for reporting this issue.

Yes you are right, we are working on a fix to get not have this popup appear on these latest devices.

AWS
已回答 5 年前
0

Thank you for fast feedback. Is there maybe a process in place to track the progress on this issue or will there be maybe follow up comment in this thread when issue is solved? We're just wondering if we should recheck affected devices periodically which is time consuming or it's enough to track activity in this thread.

Thank you very much for the support.

已回答 5 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则