org.robolectric.shadows.ShadowUserManager Maven / Gradle / Ivy
package org.robolectric.shadows;
import android.os.Bundle;
import android.os.UserHandle;
import android.os.UserManager;
import org.robolectric.annotation.Implementation;
import org.robolectric.annotation.Implements;
import java.util.Collections;
import java.util.List;
@Implements(UserManager.class)
public class ShadowUserManager {
@Implementation
public Bundle getApplicationRestrictions(String packageName) {
return null;
}
@Implementation
public List getUserProfiles(){
return Collections.emptyList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy