瀏覽代碼

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>
master
Samuel Holland 7 年之前
父節點
當前提交
3a264f7020
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      app/src/main/java/com/wireguard/android/QuickTileService.java

+ 1
- 0
app/src/main/java/com/wireguard/android/QuickTileService.java 查看文件

@@ -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…
取消
儲存