
org.robolectric.shadows.ShadowRoleControllerManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shadows-framework Show documentation
Show all versions of shadows-framework Show documentation
An alternative Android testing framework.
The newest version!
package org.robolectric.shadows;
import static android.os.Build.VERSION_CODES.Q;
import static android.os.Build.VERSION_CODES.S;
import android.app.role.RoleControllerManager;
import android.content.ComponentName;
import android.content.Context;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
/** Shadow for {@link RoleControllerManager} */
@Implements(value = RoleControllerManager.class, minSdk = Q, isInAndroidSdk = false)
public class ShadowRoleControllerManager {
@Implementation(minSdk = S)
protected static ComponentName getRemoteServiceComponentName(Context context) {
return new ComponentName("org.robolectric", "FakeRoleControllerManagerService");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy