A 
		
				
				
			
		Android Central Question
i need to check which perticuler type of lock is exist in device , Pin type or something more secure (Password, Fingerprint type etc.). I am able to check if there is a Pin, Password or a Pattern.
I have used
KeyguardManager keyguardManager = (KeyguardManager) this.getSystemService(Context.KEYGUARD_SERVICE); //api 23+
return keyguardManager.isDeviceSecure();
it retruns only true or false(if any type password exist or not).
				
			I have used
KeyguardManager keyguardManager = (KeyguardManager) this.getSystemService(Context.KEYGUARD_SERVICE); //api 23+
return keyguardManager.isDeviceSecure();
it retruns only true or false(if any type password exist or not).
 
	 
 
		 
 
		 
 
		 
 
		 
 
		
 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		
 Facebook
Facebook Instagram
Instagram