Assigned
Status Update
Comments
ra...@google.com <ra...@google.com> #2
Information redacted by Android Beta Feedback.
mu...@gmail.com <mu...@gmail.com> #3
Thank you for reporting this issue. For us to further investigate this issue, please provide the following additional information:
Complete steps to reproduce
What steps do others need to take in order to reproduce the issue themselves?
Current output (Error message if any)
What do you see instead?
Screen Record of the Issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue
Note: Please upload the files to google drive and share the folder to android-bugreport@google.com, then share the link here.
Complete steps to reproduce
What steps do others need to take in order to reproduce the issue themselves?
Current output (Error message if any)
What do you see instead?
Screen Record of the Issue
Please capture screen record or video of the issue using following steps:
adb shell screenrecord /sdcard/video.mp4
Subsequently use following command to pull the recorded file:
adb pull /sdcard/video.mp4
Attach the file to this issue
Note: Please upload the files to google drive and share the folder to android-bugreport@google.com, then share the link here.
Description
2. CTS tool version: 15_r2
3. Module Failing:- CtsDevicePolicyTestCases
4. Steps to reproduce the problem :
run cts --include-filter "CtsDevicePolicyTestCases android.devicepolicy.cts.DefaultDialerApplicationTest#addCrossProfileIntentFilter_switchToOtherProfile_chooserActivityLaunched"
5. Issue description:
My device is Android 15 launch device(with AOSP r1 tag), based on x86_64 architecture.
In this test case "addCrossProfileIntentFilter_switchToOtherProfile_chooserActivityLaunched" after adding an cross-profile intent filter to DevicePolicyManager, it queries for the information of an activity(app) in work profile by passing an intent that the activity can handle using function "queryIntentActivities". But the query returninig null because of that the test is failing. So suspecting that the test is not installing a proper application to handle that intent after creating the work profile.
6. Experiment i did:
If i manually install an application after creating the work profile the test is passing.
7.Cts Failed Log:
android.devicepolicy.cts.CrossProfileSharingTest#addCrossProfileIntentFilter_switchToOtherProfile_chooserActivityLaunched FAILURE: Could not retrieve the switch to other profile resolve info.
expected not to be: null
at android.devicepolicy.cts.CrossProfileSharingTest.getSwitchToOtherProfileIntent(CrossProfileSharingTest.java:268)
at android.devicepolicy.cts.CrossProfileSharingTest.addCrossProfileIntentFilter_switchToOtherProfile_chooserActivityLaunched(CrossProfileSharingTest.java:215)
8. What you think the correct behavior should be?
A proper test application should be installed by cts after creating the work profile to handle the specified intent in testcase.
9.Bug report link: