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
Constructors Constructor Description ShadowTileService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Tile
getQsTile()
protected boolean
isLocked()
void
setLocked(boolean locked)
protected void
startActivityAndCollapse(Intent intent)
Starts an activity without collapsing the quick settings panel.protected void
unlockAndRun(Runnable runnable)
-
-
-
Method Detail
-
getQsTile
@Implementation protected final Tile getQsTile()
-
unlockAndRun
@Implementation protected final void unlockAndRun(Runnable runnable)
-
startActivityAndCollapse
@Implementation protected void startActivityAndCollapse(Intent intent)
Starts an activity without collapsing the quick settings panel.
-
isLocked
@Implementation protected boolean isLocked()
-
setLocked
public void setLocked(boolean locked)
-
-