commit | 2ae8ddaa68ee6f67e407987314ea8112e3144908 | [log] [tgz] |
---|---|---|
author | Hui Yu <huiyu@google.com> | Thu Feb 25 22:18:31 2021 -0800 |
committer | Hui Yu <huiyu@google.com> | Fri Feb 26 06:40:03 2021 +0000 |
tree | 435b2ba73a8701fff7c246d0a682c276471e155d | |
parent | 24eadb70cec319f2f434e1a5bbd3b004b85edefc [diff] |
Specify temp-allowlist reasonCode while calling addPowerSaveTempWhitelistApp(). Deprecate the overloaded addPowerSaveTempWhitelistApp() version that has no reasonCode. Bug: 171305836 Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java Reboot device, observe "tempAllowListReason" in logcat. Change-Id: Id8ce4a2ac029b0cf33b2787f601d798f046bf2be BYPASS_INCLUSIVE_LANGUAGE_REASON=Existing public API.