commit | 22e919d346d991775f598bcfcc16bce44e0657ad | [log] [tgz] |
---|---|---|
author | Christopher Tate <ctate@google.com> | Fri Feb 16 16:16:50 2018 -0800 |
committer | Christopher Tate <ctate@google.com> | Mon Feb 26 13:31:55 2018 -0800 |
tree | a0beb7b6c74c6ca1b6efad4656a8da211a3616bd | |
parent | 17df7fe107ce5685ebac688c579bd3c8d1ee851c [diff] |
Deal with alarm times near MAX_VALUE Avoid overflow across the end of time when calculating window endpoints, and clamp recurrence periods at something workable but too long to be plausible. Bug: 70536740 Bug: 72658919 Test: manual Test: atest CtsAppTestCases:AlarmManagerTest Change-Id: Icb7a571802b722499df09833522d1d3f28607621