!101 issue#I90MAJ【重要】【生物识别认证】权限设置中取消解锁锁屏,锁屏后仍能使用特征进行认证
Merge pull request !101 from 刘远鹏/openkylin/nile
This commit is contained in:
commit
8a8efe3ffc
|
@ -25,6 +25,7 @@
|
||||||
#include "../dbusifs/biometrichelper.h"
|
#include "../dbusifs/biometrichelper.h"
|
||||||
#include "klabel.h"
|
#include "klabel.h"
|
||||||
#include "common/configuration.h"
|
#include "common/configuration.h"
|
||||||
|
#include "common/global_utils.h"
|
||||||
#include "pluginsloader.h"
|
#include "pluginsloader.h"
|
||||||
#include <QLabel>
|
#include <QLabel>
|
||||||
#include <QVBoxLayout>
|
#include <QVBoxLayout>
|
||||||
|
@ -358,7 +359,12 @@ void LoginOptionsWidget::setUser(int uid)
|
||||||
void LoginOptionsWidget::readDevicesInfo()
|
void LoginOptionsWidget::readDevicesInfo()
|
||||||
{
|
{
|
||||||
m_mapDevices.clear();
|
m_mapDevices.clear();
|
||||||
bool isAuthEnable = getBioAuthEnable(ENABLETYPE_GREETER);
|
bool isAuthEnable;
|
||||||
|
if (isGreeterMode()) {
|
||||||
|
isAuthEnable = getBioAuthEnable(ENABLETYPE_GREETER);
|
||||||
|
} else {
|
||||||
|
isAuthEnable = getBioAuthEnable(ENABLETYPE_SAVER);
|
||||||
|
}
|
||||||
bool isQRCodeEnable = getQRCodeEnable();
|
bool isQRCodeEnable = getQRCodeEnable();
|
||||||
DeviceList deviceList = m_biomericProxy->GetDevList();
|
DeviceList deviceList = m_biomericProxy->GetDevList();
|
||||||
QStringList listDefDevices = getAllDefDevices();
|
QStringList listDefDevices = getAllDefDevices();
|
||||||
|
|
Loading…
Reference in New Issue