Package org.robolectric.shadows
Class ShadowSliceManager
java.lang.Object
org.robolectric.shadows.ShadowSliceManager
@Implements(value=android.app.slice.SliceManager.class, minSdk=28) public class ShadowSliceManager extends Object
Shadow of
SliceManager
.-
Constructor Summary
Constructors Constructor Description ShadowSliceManager()
-
Method Summary
Modifier and Type Method Description protected void
__constructor__(Context context, Handler handler)
protected int
checkSlicePermission(Uri uri, int pid, int uid)
protected List<Uri>
getPinnedSlices()
protected Set<SliceSpec>
getPinnedSpecs(Uri uri)
protected void
grantSlicePermission(String toPackage, Uri uri)
protected void
pinSlice(Uri uri, Set<SliceSpec> specs)
static void
reset()
protected void
revokeSlicePermission(String toPackage, Uri uri)
protected void
unpinSlice(Uri uri)
-
Constructor Details
-
ShadowSliceManager
public ShadowSliceManager()
-
-
Method Details