diff options
author | 2022-07-13 10:45:19 -0700 | |
---|---|---|
committer | 2022-07-14 22:55:59 +0000 | |
commit | e192879719b20a97e35d5f0fa00045569ad141eb (patch) | |
tree | 0a628bdb27758bafe0e5ea9bd4f29d2c1434333a | |
parent | 70c84d90c74f5a0b4cb85f3895a417d36650016a (diff) |
update CallScreeningService#setSkipCallLog to address 3rd pty apps
A 3rd party developer reported
CallScreeningService.CallResponse#setSkipCallLog(true) was still
logging the blocked call to Dialer. This turned out to be true.
Turns out we do not allow 3rd party devs from toggling the
setSkipCallLog function. Only carriers are allowed to toggle
the function.
To make this clear, the docs are being updated.
bug: 238892157
130213778 (original)
Test: not required; docs only change.
Change-Id: I6b796421f7f178808eab301e12a4367b67ceaa71
-rw-r--r-- | telecomm/java/android/telecom/CallScreeningService.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/telecomm/java/android/telecom/CallScreeningService.java b/telecomm/java/android/telecom/CallScreeningService.java index 37b4e657973b..d1d16ff8b641 100644 --- a/telecomm/java/android/telecom/CallScreeningService.java +++ b/telecomm/java/android/telecom/CallScreeningService.java @@ -495,6 +495,9 @@ public abstract class CallScreeningService extends Service { * Note: Calls will still be logged with type * {@link android.provider.CallLog.Calls#BLOCKED_TYPE}, regardless of how this property * is set. + * <p> + * Note: Only the carrier and system call screening apps can use this parameter; + * this parameter is ignored otherwise. */ public Builder setSkipCallLog(boolean shouldSkipCallLog) { mShouldSkipCallLog = shouldSkipCallLog; |