Package org.robolectric.shadows
Class ShadowStatusBarManager
- java.lang.Object
-
- org.robolectric.shadows.ShadowStatusBarManager
-
@Implements(value=android.app.StatusBarManager.class, isInAndroidSdk=false) public class ShadowStatusBarManager extends Object
Robolectric implementation ofStatusBarManager.
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_DISABLE_MASKstatic intDEFAULT_DISABLE2_MASKstatic intDISABLE_CLOCKstatic intDISABLE_EXPANDstatic intDISABLE_HOMEstatic intDISABLE_NONEstatic intDISABLE_NOTIFICATION_ALERTSstatic intDISABLE_RECENTstatic intDISABLE_SEARCHstatic intDISABLE2_NONEstatic intDISABLE2_ROTATE_SUGGESTIONS
-
Constructor Summary
Constructors Constructor Description ShadowStatusBarManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddisable(int what)protected voiddisable2(int what)intgetDisable2Flags()Returns the disable flags previously set indisable2(int).intgetDisableFlags()Returns the disable flags previously set indisable(int).protected voidsetDisabledForSetup(boolean disabled)
-
-
-
Field Detail
-
DEFAULT_DISABLE_MASK
public static final int DEFAULT_DISABLE_MASK
- See Also:
- Constant Field Values
-
DEFAULT_DISABLE2_MASK
public static final int DEFAULT_DISABLE2_MASK
- See Also:
- Constant Field Values
-
DISABLE_NOTIFICATION_ALERTS
public static final int DISABLE_NOTIFICATION_ALERTS
- See Also:
- Constant Field Values
-
DISABLE_EXPAND
public static final int DISABLE_EXPAND
- See Also:
- Constant Field Values
-
DISABLE_HOME
public static final int DISABLE_HOME
- See Also:
- Constant Field Values
-
DISABLE_CLOCK
public static final int DISABLE_CLOCK
- See Also:
- Constant Field Values
-
DISABLE_RECENT
public static final int DISABLE_RECENT
- See Also:
- Constant Field Values
-
DISABLE_SEARCH
public static final int DISABLE_SEARCH
- See Also:
- Constant Field Values
-
DISABLE_NONE
public static final int DISABLE_NONE
- See Also:
- Constant Field Values
-
DISABLE2_ROTATE_SUGGESTIONS
public static final int DISABLE2_ROTATE_SUGGESTIONS
- See Also:
- Constant Field Values
-
DISABLE2_NONE
public static final int DISABLE2_NONE
- See Also:
- Constant Field Values
-
-
Method Detail
-
disable
@Implementation protected void disable(int what)
-
disable2
@Implementation(minSdk=23) protected void disable2(int what)
-
setDisabledForSetup
@Implementation(minSdk=29) protected void setDisabledForSetup(boolean disabled)
-
getDisableFlags
public int getDisableFlags()
Returns the disable flags previously set indisable(int).
-
getDisable2Flags
public int getDisable2Flags()
Returns the disable flags previously set indisable2(int).
-
-