Skip to content
Commit 3f144642 authored by Hui Yu's avatar Hui Yu
Browse files

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.
parent 24eadb70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment