@Implements(value=android.app.LoadedApk.class, isInAndroidSdk=false) public class ShadowLoadedApk extends Object
Modifier and Type | Class | Description |
---|---|---|
static interface |
ShadowLoadedApk._LoadedApk_ |
Accessor interface for
LoadedApk 's internals. |
Constructor | Description |
---|---|
ShadowLoadedApk() |
Modifier and Type | Method | Description |
---|---|---|
ClassLoader |
getClassLoader() |
|
ClassLoader |
getSplitClassLoader(String splitName) |
@Implementation public ClassLoader getClassLoader()
@Implementation(minSdk=26) public ClassLoader getSplitClassLoader(String splitName) throws PackageManager.NameNotFoundException