commit | a31f4f26c4a73344f4b22710fcddef719c493f0f | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Thu Feb 25 21:19:36 2021 -0800 |
committer | Hui Yu <huiyu@google.com> | Fri Feb 26 18:32:06 2021 +0000 |
tree | 3c28f602dc929393499b49ae154fe1c06c516ebb | |
parent | 24eadb70cec319f2f434e1a5bbd3b004b85edefc [diff] |
Call new API setTemporaryAppAllowlist() and specify temp-allowlist reasonCode. Deprecate/delete setTemporaryAppWhitelistDuration(int type, long duration) which is also a new API added very recently. Bug: 171305836 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java Reboot device, observe "tempAllowListReason" in logcat. Change-Id: I29181ce224c28277db1d45ec7fd0f79e032e5c90 BYPASS_INCLUSIVE_LANGUAGE_REASON=existing public API