AdminControl icon indicating copy to clipboard operation
AdminControl copied to clipboard

[Feature Request] Support to configure StrongAuthTimeout

Open ypid opened this issue 6 years ago • 1 comments

Hi,

I find it useful to disable the forced request for the password every three days and thus patched my Android to behave like that. For more details and discussion see https://github.com/GrapheneOS/platform_frameworks_base/pull/19 I think AdminControl is a good place to implement this feature properly so I want to track it here.

Ref: https://developer.android.com/reference/android/app/admin/DevicePolicyManager.html#setRequiredStrongAuthTimeout(android.content.ComponentName,%20long)

ypid avatar Nov 29 '19 12:11 ypid

I would be interested in a similar feature but for the opposite reason: enable fingerprint-unlock for only a very short period of time.

I tried implementing it myself, but I ran into the issue that the requirements for setRequiredStrongAuthTimeout are much stronger than setKeyguardDisabledFeatures: the admin component needs to be a device or profile owner, which I am not completely sure how that works.

ClearlyClaire avatar Dec 09 '21 22:12 ClearlyClaire