Package org.robolectric.shadows
Class ShadowTileService
java.lang.Object
org.robolectric.shadows.ShadowTileService
@Implements(value=android.service.quicksettings.TileService.class,
minSdk=24)
public class ShadowTileService
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final Tile
protected boolean
isLocked()
void
setLocked
(boolean locked) protected void
startActivityAndCollapse
(Intent intent) Starts an activity without collapsing the quick settings panel.protected final void
unlockAndRun
(Runnable runnable)
-
Constructor Details
-
ShadowTileService
public ShadowTileService()
-
-
Method Details
-
getQsTile
-
unlockAndRun
-
startActivityAndCollapse
Starts an activity without collapsing the quick settings panel. -
isLocked
-
setLocked
public void setLocked(boolean locked)
-