Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a7454f03 authored by Eugene Susla's avatar Eugene Susla Committed by Android (Google) Code Review
Browse files

Merge "Re-enable auto revoke for R+ for general population" into rvc-dev

parents f8cf6dfa a20a76eb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -98,8 +98,7 @@ private const val LOG_TAG = "AutoRevokePermissions"
// TODO eugenesusla: temporarily enabled for extra logs during dogfooding
private const val DEBUG = false || DEBUG_OVERRIDE_THRESHOLDS

// TODO eugenesusla: temporarily disabled due to issues in droidfood
private const val AUTO_REVOKE_ENABLED = false
private const val AUTO_REVOKE_ENABLED = true

private val DEFAULT_UNUSED_THRESHOLD_MS =
        if (AUTO_REVOKE_ENABLED) DAYS.toMillis(90) else Long.MAX_VALUE