AndroidTacticalAssaultKit-CIV icon indicating copy to clipboard operation
AndroidTacticalAssaultKit-CIV copied to clipboard

ANR fixes

Open matt-msi opened this issue 3 years ago • 0 comments

As mentioned on issue #141, this PR is a collection of miscellaneous fixes to resolve ANR issues seen mainly on MSI Android devices after initial launch of ATAK, and include moving file i/o and network processing from UI thread to background threads.

These are just suggested fixes at this point, our AOSP implementation seems to enforce a stricter ANR policy than most Google Android devices but we have noticed ANRs in the latest 4.5+ playstore versions on some Samsung models so perhaps some of these changes might be beneficial.

Feel free to ignore most or all of this PR if there are other changes in the works or planned to revisit the threading model at startup (see this comment: https://github.com/deptofdefense/AndroidTacticalAssaultKit-CIV/blob/366e73c53bf58cc71c28500ed3e345fe9a97e334/atak/ATAK/app/src/main/java/com/atakmap/app/ATAKActivity.java#L866)

matt-msi avatar Mar 08 '22 17:03 matt-msi