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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user