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

posta 5 anni fa262 visualizzazioni
2 Risposte
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
con risposta 5 anni fa
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.

con risposta 5 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande