@Implements(value=android.app.slice.SliceManager.class, minSdk=28) public class ShadowSliceManager extends Object
Shadow of SliceManager
.
Constructor and Description |
---|
ShadowSliceManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
__constructor__(Context context,
Handler handler) |
protected int |
checkSlicePermission(Uri uri,
int pid,
int uid) |
protected List<Uri> |
getPinnedSlices() |
protected void |
grantSlicePermission(String toPackage,
Uri uri) |
static void |
reset() |
protected void |
revokeSlicePermission(String toPackage,
Uri uri) |
@Implementation protected void __constructor__(Context context, Handler handler)
@Implementation protected List<Uri> getPinnedSlices()
@Implementation protected void grantSlicePermission(String toPackage, Uri uri)
@Implementation protected void revokeSlicePermission(String toPackage, Uri uri)
@Implementation protected int checkSlicePermission(Uri uri, int pid, int uid)
@Resetter public static void reset()