Skip to content
Commit 22e919d3 authored by Christopher Tate's avatar Christopher Tate
Browse files

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
parent 17df7fe1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment