Deprecate unsupported AlarmManager#set System API
This .set system API has many undesirable traits: 1. It accepts an interval, when providing any interval except 0 will result in an Exception. 2. It doesn't allow the caller to pass a tag to help identify the listener that may be involved in an issue. 3. The window length parameter is redundant as there are already better named APIs to use for windowed or exact alarms. Using WINDOW_HEURISTIC as window length is an internal implementation detail and its usage is not supported. Test: atest CtsAlarmManagerTestCases:BasicApiTests Bug: 141785404 Change-Id: Iaa0e4e914db6cd957885b431b8a1c1175afba13e
Loading
Please register or sign in to comment