mirror of
				https://github.com/mihonapp/mihon.git
				synced 2025-10-31 14:27:57 +01:00 
			
		
		
		
	lock no longer requires usage access
This commit is contained in:
		| @@ -52,6 +52,7 @@ fun lockEnabled(prefs: PreferencesHelper = Injekt.get()) | ||||
|  */ | ||||
| fun notifyLockSecurity(context: Context, | ||||
|                        prefs: PreferencesHelper = Injekt.get()): Boolean { | ||||
|     return false | ||||
|     if (!prefs.eh_lockManually().getOrDefault() | ||||
|             && Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP | ||||
|             && !hasAccessToUsageStats(context)) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user