@Implements(value=android.app.StatusBarManager.class, isInAndroidSdk=false) public class ShadowStatusBarManager extends Object
Robolectric implementation of StatusBarManager
.
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DISABLE_MASK |
static int |
DEFAULT_DISABLE2_MASK |
Constructor and Description |
---|
ShadowStatusBarManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
disable(int what) |
protected void |
disable2(int what) |
int |
getDisable2Flags()
Returns the disable flags previously set in
disable2(int) . |
int |
getDisableFlags()
Returns the disable flags previously set in
disable(int) . |
public static final int DEFAULT_DISABLE_MASK
public static final int DEFAULT_DISABLE2_MASK
@Implementation protected void disable(int what)
@Implementation(minSdk=23) protected void disable2(int what)
public int getDisableFlags()
Returns the disable flags previously set in disable(int)
.
public int getDisable2Flags()
Returns the disable flags previously set in disable2(int)
.