diff options
author | Christopher Tate <ctate@google.com> | 2018-02-16 16:16:50 -0800 |
---|---|---|
committer | Christopher Tate <ctate@google.com> | 2018-02-26 13:31:55 -0800 |
commit | 22e919d346d991775f598bcfcc16bce44e0657ad (patch) | |
tree | a0beb7b6c74c6ca1b6efad4656a8da211a3616bd /tools/aapt2/java/JavaClassGenerator.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions