public class LocalPermissionGranter extends 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(String... permissions) |
void |
requestPermissions() |
public void addPermissions(String... permissions)
addPermissions
in interface androidx.test.internal.platform.content.PermissionGranter
public void requestPermissions()
requestPermissions
in interface androidx.test.internal.platform.content.PermissionGranter