Skip to content
Commit 35f2ed05 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
atest frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/DomainVerificationProxyTest.kt
Reboot device, observe "tempAllowListReason" in logcat.

BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing public API.

Change-Id: I10ef61049ba72b95e358229df495c90f85b1ed69
parent d7cda89c
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