public class LocalPermissionGranter
extends java.lang.Object
implements androidx.test.internal.platform.content.PermissionGranter
A PermissionGranter
that runs on a local JVM with Robolectric.
Constructor and Description |
---|
LocalPermissionGranter() |
Modifier and Type | Method and Description |
---|---|
void |
addPermissions(java.lang.String... permissions) |
void |
requestPermissions() |
public void addPermissions(java.lang.String... permissions)
addPermissions
in interface androidx.test.internal.platform.content.PermissionGranter
public void requestPermissions()
requestPermissions
in interface androidx.test.internal.platform.content.PermissionGranter