Merge "Clear registered prediction callbacks on destroy" into rvc-dev am: 086e11fdb6 am: f84af9e79a
Change-Id: I497af5c210d4fcfa6bc4b9c346443c24f6ad0277
This commit is contained in:
@@ -260,6 +260,7 @@ public final class AppPredictor {
|
|||||||
Log.e(TAG, "Failed to notify app target event", e);
|
Log.e(TAG, "Failed to notify app target event", e);
|
||||||
e.rethrowAsRuntimeException();
|
e.rethrowAsRuntimeException();
|
||||||
}
|
}
|
||||||
|
mRegisteredCallbacks.clear();
|
||||||
} else {
|
} else {
|
||||||
throw new IllegalStateException("This client has already been destroyed.");
|
throw new IllegalStateException("This client has already been destroyed.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user