Skip to content

Commit 5c44316

Browse files
ut003640deepin-bot[bot]
authored andcommitted
fix: Add WiFi password input flag for lock screen and login interface
Added a flag to the NetManagerFlag enum in nettype.h to enable WiFi password input functionality on lock screen and login interface. When the lock screen or login interface detects this flag, it will display a WiFi password input dialog, allowing users to enter WiFi passwords to connect to networks. This addresses the issue where users couldn't connect to WiFi networks from lock screen or login screen due to missing password input capability. The bug was caused by the lack of proper flag configuration in the Net_LockFlags and Net_GreeterFlags enum values, which prevented the WiFi password input dialog from being triggered in lock screen and login scenarios. Log: Added new flag configuration to enable WiFi password input functionality for lock screen and login interface scenarios. PMG: BUG-350613 fix: 为锁屏和登录界面添加WiFi密码输入标记 在nettype.h文件的NetManagerFlag枚举中添加了标记,用于在锁屏和登录界面启用WiFi密码输入功能。当锁屏或登录界面检测到此标记时,将显示WiFi密码输入对话框,允许用户输入WiFi密码来连接网络。这解决了用户在锁屏或登录界面无法连接WiFi网络的问题。 该bug的原因是Net_LockFlags和Net_GreeterFlags枚举值中缺少适当的标记配置,导致在锁屏和登录场景下无法触发WiFi密码输入对话框。 Log: 添加新的标记配置,启用锁屏和登录界面的WiFi密码输入功能。
1 parent 3991c11 commit 5c44316

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

net-view/operation/nettype.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ class NetType
106106
Net_SysProxyAlwaysShow = 0x08000000,
107107
//
108108
Net_DockFlags = Net_Device | Net_VPN | Net_SysProxy | Net_Airplane | Net_AirplaneTips | Net_VPNTips | Net_tipsLinkEnabled | Net_UseSecretAgent | Net_CheckPortal | Net_8021xToControlCenterUnderConnect | Net_autoUpdateHiddenConfig,
109-
Net_LockFlags = Net_Device | Net_VPN | Net_SysProxy | Net_Airplane | Net_AirplaneTips | Net_VPNTips | Net_UseSecretAgent | Net_CheckPortal | Net_8021xSendNotifyUnderConnect,
110-
Net_GreeterFlags = Net_Device | Net_Airplane | Net_AirplaneTips | Net_ServiceNM | Net_AutoAddConnection | Net_UseSecretAgent | Net_CheckPortal | Net_8021xSendNotifyUnderConnect,
109+
Net_LockFlags = Net_Device | Net_VPN | Net_SysProxy | Net_Airplane | Net_AirplaneTips | Net_VPNTips | Net_UseSecretAgent | Net_CheckPortal | Net_8021xSendNotifyUnderConnect | Net_autoUpdateHiddenConfig,
110+
Net_GreeterFlags = Net_Device | Net_Airplane | Net_AirplaneTips | Net_ServiceNM | Net_AutoAddConnection | Net_UseSecretAgent | Net_CheckPortal | Net_8021xSendNotifyUnderConnect | Net_autoUpdateHiddenConfig,
111111
Net_DccFlags = Net_Device | Net_VPN | Net_VPNChildren | Net_SysProxy | Net_Hotspot | Net_Airplane | Net_DSL | Net_Details | Net_SysProxyAlwaysShow,
112112
//
113113
Net_8021xMask = 0x00000F00,

0 commit comments

Comments
 (0)