commit | 3f144642eb4e8dd067797186508456f9e2151c37 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Thu Feb 25 21:59:45 2021 -0800 |
committer | Hui Yu <huiyu@google.com> | Fri Feb 26 06:43:05 2021 +0000 |
tree | 7277da3234980e9f44663af2baf3933d6af6a2ab | |
parent | 24eadb70cec319f2f434e1a5bbd3b004b85edefc [diff] |
setTemporaryAppWhitelistDuration(long duration) is deprecated. Call new API setTemporaryAppAllowlist() and specify temp-allowlist reasonCode. Bug: 171305836 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java Reboot device, observe "tempAllowListReason" in logcat. Change-Id: I705b97e33a2b28d6f081b1c4679f27ad559ad4df BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing public API.