diff options
| author | Hui Yu <huiyu@google.com> | 2021-02-25 22:33:44 -0800 |
|---|---|---|
| committer | Hui Yu <huiyu@google.com> | 2021-02-25 22:33:44 -0800 |
| commit | f5e73ef9799a8a5cc6c704077e298fb9606e1f3b (patch) | |
| tree | 5320d2388303ad32b52943c18e17825e199d9328 /core/java | |
| parent | 24eadb70cec319f2f434e1a5bbd3b004b85edefc (diff) | |
Specify temp-allowlist reasonCode while calling setPendingIntentAllowlistDuration().
Delete the overloaded version of setPendingIntentAllowlistDuration() without reasonCode.
Bug: 171305836
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Reboot device, observe "tempAllowListReason" in logcat.
Change-Id: Ib8bd22eefb5d5f308d2bcca17221499c2a6adc79
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/app/ActivityManagerInternal.java | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/core/java/android/app/ActivityManagerInternal.java b/core/java/android/app/ActivityManagerInternal.java index 71f164f49262..c812e8e1782a 100644 --- a/core/java/android/app/ActivityManagerInternal.java +++ b/core/java/android/app/ActivityManagerInternal.java @@ -113,10 +113,6 @@ public abstract class ActivityManagerInternal { IBinder allowlistToken, long duration, @TempAllowListType int type, @ReasonCode int reasonCode, @Nullable String reason); - @Deprecated - public abstract void setPendingIntentWhitelistDuration(IIntentSender target, - IBinder allowlistToken, long duration, @TempAllowListType int type); - /** * Returns the flags set for a {@link PendingIntent}. */ |
