[Feature Request] Support to configure StrongAuthTimeout
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)
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.