Skip to content

Conversation

copybara-service[bot]
Copy link

Add shadow for new resolveActivityAsUser variant.

The in-development SDK has added a new PackageManager#resolveActivityAsUser method.
The real implementation of this method calls a system service method, which
fails in Robolectric.

This commit prepares for this change by adding a shadow method to intercept.

The in-development SDK has added a new PackageManager#resolveActivityAsUser method.
The real implementation of this method calls a system service method, which
fails in Robolectric.

This commit prepares for this change by adding a shadow method to intercept.

PiperOrigin-RevId: 769352736
@copybara-service copybara-service bot merged commit ec9c11a into google Jun 10, 2025
@copybara-service copybara-service bot deleted the piper_769268564 branch June 10, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant