Cleans up lagecy annotations

Bug: 175334753
Test: None
Change-Id: Id8d60e7bd282a4efcea4eebd4de536e3c4cd63fc
This commit is contained in:
Yi Jiang
2021-04-27 13:23:13 -07:00
parent 7ce25ed80e
commit c9be3d120f

View File

@@ -136,9 +136,6 @@ public abstract class RotationResolverService extends Service {
@MainThread
private void resolveRotation(IRotationResolverCallback callback,
RotationResolutionRequest request, ICancellationSignal transport) {
// TODO(b/175334753): The current behavior of preempted failures is based on the design we
// had in Smart OS exploration. We should revisit it once we have implemented the whole
// feature and tested on devices.
if (mPendingCallback != null
&& (mCancellationSignal == null || !mCancellationSignal.isCanceled())) {
reportFailures(callback, ROTATION_RESULT_FAILURE_PREEMPTED);