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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南