Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 14cf5944 authored by Ray Chen's avatar Ray Chen
Browse files

Update the VPN icon to reflect the validation status of the VPN network

This change enhance the VPN user experience by introducing a icon in
the system status bar. Upon internet validation failure of an active VPN
connection, this icon seamlessly replaces the original VPN icon,
ensuring users are promptly informed of any connectivity issues.

SecurityControllerImpl#dump now includes network properties
(interface name and validation status) for monitored networks:
...
    SecurityControllerImpl:
    -------------------------------------------------------------------
    SecurityController state:
      mCurrentVpns={0=18c66e22216}
      mNetworkProperties={110={wlan0, true}, 111={ipsec199, true}}
...

The primary focus of this commit is the implementation of the icon
replacement logic. The design of the new icon will be addressed in a
subsequent commit within this Topic.

Bug: 302424768
Test: manual test to verify that the VPN icon accurately reflects the
validation status of the VPN connection.

Change-Id: I8e03af70c0d7080e7f2ef59fabf15608c5a7bfe5
parent e2ae2034
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment