Fix of "Connect" button state after restoring of an app
This commit is contained in:
parent
20846c8eff
commit
7167c2f20d
1 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,8 @@ class VPNService : BaseVpnService(), LocalDnsService.Interface {
|
|||
}
|
||||
}
|
||||
set(value) {
|
||||
field = value
|
||||
|
||||
if (value) {
|
||||
mBinder.dispatchEvent(VPNServiceBinder.EVENTS.connected, "")
|
||||
mConnectionTime = System.currentTimeMillis()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue