Add NotificationOtpDetectionHelper to ExtServices This helper contains methods to extract sensitive text from a notification and determine if a notification should be checked for sensitive text. This may be extracted to an API or shared library in future. Test: atest NotificationOtpDetectionHelperTest Bug: 25361722 Change-Id: I3770ff4617b82b13cb668768f8cb1226e47318e9
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.