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
Loading
Please register or sign in to comment