Package org.robolectric.android.internal
Class LocalPermissionGranter
java.lang.Object
org.robolectric.android.internal.LocalPermissionGranter
- All Implemented Interfaces:
androidx.test.internal.platform.content.PermissionGranter
public class LocalPermissionGranter extends Object implements androidx.test.internal.platform.content.PermissionGranter
A
PermissionGranter
that runs on a local JVM with Robolectric.-
Constructor Summary
Constructors Constructor Description LocalPermissionGranter()
-
Method Summary
Modifier and Type Method Description void
addPermissions(String... permissions)
void
requestPermissions()
-
Constructor Details
-
LocalPermissionGranter
public LocalPermissionGranter()
-
-
Method Details
-
addPermissions
- Specified by:
addPermissions
in interfaceandroidx.test.internal.platform.content.PermissionGranter
-
requestPermissions
public void requestPermissions()- Specified by:
requestPermissions
in interfaceandroidx.test.internal.platform.content.PermissionGranter
-