commit | cc8eb8f29e552407b823c34ab5a252837ebbe7b2 | [log] [tgz] |
---|---|---|
author | Nate Myren <ntmyren@google.com> | Mon Sep 16 16:18:33 2024 -0700 |
committer | Nate Myren <ntmyren@google.com> | Mon Sep 16 16:21:40 2024 -0700 |
tree | b5a90095e1c8afba2eed1afef52457b35cf04611 | |
parent | e69913e61f925f0d7f35b24a91b827c606b8179b [diff] |
Refine relationship between context word and possible OTP Rather than simply looking for a context word anywhere in the message containing a possible OTP, require that A. The two be within 50 characters of each other (the maximum currently seen is 35 characters B. The two be in the same sentence, or the context word be in the preceding sentence. Also removes "confirm" and "confirmation" from the context words, as there are a large number of "confirmation numbers" that are not OTP related Test: atest NotificationOtpDetectionHelperTest Fixes: 367357496 Flag: EXEMPT bugfix Change-Id: I43b291d2fe005147c232011bd525b6c922ffc733
ExtServices is an updatable Mainline module that contains the logic used by Android framework components such as storage cache, autofill, textclassifier, package watchdog, notifications and notification ranking that runs continually. These are algorithms for framework, making the module updatable to introduce the new features or bug fixes more frequently with monthly release than a platform quarter release cycle.
Before you start to develop on ExtServices, please read go/smart-os-extservices to get the guideline.