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