Temporarily stop crashing on alarm limit

There are some accounting issues which lead to false crashes. Will
resume once all issues are fixed.

Test: atest CtsAlarmManagerTestCases
UidCapTests should be ignored for now.

Bug: 129995049
Change-Id: I2fa454b4bcdf4398c3c54b6d188bf9aef1709ee6
This commit is contained in:
Suprabh Shukla
2019-04-10 14:00:54 -07:00
parent 17c1af439c
commit a835586bf8

View File

@@ -1764,7 +1764,8 @@ class AlarmManagerService extends SystemService {
+ ", callingPackage: " + callingPackage;
// STOPSHIP (b/128866264): Just to catch breakages. Remove before final release.
Slog.wtf(TAG, errorMsg);
throw new UnsupportedOperationException(errorMsg);
// TODO b/129995049: Resume throwing once issue is resolved.
// throw new UnsupportedOperationException(errorMsg);
}
setImplLocked(type, triggerAtTime, triggerElapsed, windowLength, maxElapsed,
interval, operation, directReceiver, listenerTag, flags, true, workSource,