commit | 2d736276a9f1bad51e4f1eabd7a46e3a31f0ae0a | [log] [tgz] |
---|---|---|
author | Suprabh Shukla <suprabh@google.com> | Tue Apr 13 18:37:02 2021 -0700 |
committer | Suprabh Shukla <suprabh@google.com> | Wed Apr 14 15:48:46 2021 -0700 |
tree | 2a341477d666377ddc61075e79e561dc70978153 | |
parent | f9139ded2a68dada4be9fdc53c885151351b1a68 [diff] |
Enforcing a minimum window on inexact alarms Any non-exact alarms with window > 0, should have a specific minimum window length. Otherwise, very small windows, say 1ms, are pratically indistinguishable from exact alarms. Test: atest FrameworksMockingServicesTests:com.android.server.alarm Bug: 185199076 Bug: 185199018 Change-Id: Idf933b70a66f2a749cdb2689ab68a80204d212b1