QuickTileService: Update the tile once on service init
This makes the tile show the correct info when it is first added. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
353028420b
commit
3a264f7020
@ -38,6 +38,7 @@ public class QuickTileService extends TileService {
|
||||
if (service == null)
|
||||
bindService(new Intent(this, VpnService.class), new ServiceConnectionCallbacks(),
|
||||
Context.BIND_AUTO_CREATE);
|
||||
TileService.requestListeningState(this, new ComponentName(this, getClass()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user