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

asked 5 years ago254 views
2 Answers
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
answered 5 years ago
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.

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions