Forum Discussion
Application report not getting collected on Xiaomi mix fold devices
Thanks for the suggestion. We are currently not in the partner portal. We were able to get someone from Xiaomi to look into the logs and they root caused the issue to be a crash in the ADP app which was then failing to fetch application list. The below was their response.
Hi Developer,
We have analyzed the crash logs you provided for com.google.android.apps.work.clouddpc launching com.amazon.enterprise.access.android.
From the stack trace, the root cause is clear:
android.util.AndroidRuntimeException: FORWARD_RESULT_FLAG used while also requesting a result
at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:2476)
This happens when an activity uses Intent.FLAG_ACTIVITY_FORWARD_RESULT while also calling startActivityForResult(). These two mechanisms are mutually exclusive:
FLAG_ACTIVITY_FORWARD_RESULT indicates that the current activity will forward the result to its caller.
startActivityForResult() indicates that the current activity itself expects to receive a result.
Since the logic conflicts, the framework throws an exception during checkStartActivityResult().
Additionally, we have confirmed that there are no permission restrictions on our system side that would block this behavior.
Lizzie Emilie_B what would be the best way to get the ADP team on this issue?
Thank you for the support.
- Emilie_B2 months agoGoogle Community Manager
Hi Prathik - let me ask the team and I'll get back to you as soon as I hear back!
- Emilie_B2 months agoGoogle Community Manager
Hi Prathik - Happy Wednesday!
I've heard back from the team and they've said the following:
Based on the crash log from Xiaomi, this appears to be a bug within Google's Android Device Policy app (com.google.android.apps.work.clouddpc), not a simple configuration issue.
Unfortunately, we can't provide such advanced support through the community.
So, the official process for a bug of this nature would be for the OEM (Xiaomi) to contact Google directly through their established partner channels.
Xiaomi's engineering team needs to work with Google to resolve this issue in the core app.
I hope this helpful and provides more context :)
Emilie