Class ShadowPackageInstaller.ShadowSessionInfo

java.lang.Object
org.robolectric.shadows.ShadowPackageInstaller.ShadowSessionInfo
Enclosing class:
ShadowPackageInstaller

@Implements(value=android.content.pm.PackageInstaller.SessionInfo.class, minSdk=21) public static class ShadowPackageInstaller.ShadowSessionInfo extends Object
Shadow for PackageInstaller.SessionInfo.
  • Constructor Details

    • ShadowSessionInfo

      public ShadowSessionInfo()
  • Method Details

    • getAppIcon

      @Implementation protected Bitmap getAppIcon()
      Real method makes a system call not available in tests.