Do not coerce timestamp difference into int when sorting otp messages

This has the potential to cause crashes due to overflow

Fixes: 349957570
Flag: EXEMPT bugfix
Test: atest NotificationOtpDetectionHelperTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5648ca72605f009eb5275a3f67fae6db9b43ace9)
Merged-In: If6f6c8947e51b5c20d9a0dd0c90d16598c8ac4f2
Change-Id: If6f6c8947e51b5c20d9a0dd0c90d16598c8ac4f2
1 file changed
tree: 91b0a1a40e680a6ca4d08fba6957745d0c1327de
  1. apex/
  2. java/
  3. jni/
  4. native/
  5. .clang-format
  6. Android.bp
  7. AndroidManifest.xml
  8. EmptyManifest.xml
  9. jarjar-rules.txt
  10. NOTICE
  11. OWNERS
  12. PREUPLOAD.cfg
  13. proguard.proguard
  14. README.md
  15. TEST_MAPPING
README.md

ExtServices module

Introduction

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.

Development (internal)

Before you start to develop on ExtServices, please read go/smart-os-extservices to get the guideline.

Other resources