Removing wtf log when crashing alarm manager client

Removing before final release. Issues with accounting seem to be fixed.
App crashes should serve as a signal now onwards.

Test: Logcat emits no wtf logs when running
CtsAlarmManagerTestCases:UidCapTests#alarmsCannotExceedLimit

Fixes: 128866264
Change-Id: Iad5914ee46baa2b8bd8a596ecd71a5e8bda7b9c8
This commit is contained in:
Suprabh Shukla
2019-06-06 14:19:41 -07:00
parent 6df373efdd
commit 5a6f2b5794

View File

@@ -1767,8 +1767,7 @@ class AlarmManagerService extends SystemService {
+ ", callingPackage: " + callingPackage;
mHandler.obtainMessage(AlarmHandler.UNREGISTER_CANCEL_LISTENER,
operation).sendToTarget();
// STOPSHIP (b/128866264): Just to catch breakages. Remove before final release.
Slog.wtf(TAG, errorMsg);
Slog.w(TAG, errorMsg);
throw new IllegalStateException(errorMsg);
}
setImplLocked(type, triggerAtTime, triggerElapsed, windowLength, maxElapsed,