Merge "Fix AppPredictionService callbacks comparison" into tm-qpr-dev

This commit is contained in:
TreeHugger Robot
2023-01-13 01:36:33 +00:00
committed by Android (Google) Code Review

View File

@@ -328,7 +328,7 @@ public abstract class AppPredictionService extends Service {
Slog.e(TAG, "Callback is null, likely the binder has died."); Slog.e(TAG, "Callback is null, likely the binder has died.");
return false; return false;
} }
return mCallback.equals(callback); return mCallback.asBinder().equals(callback.asBinder());
} }
public void destroy() { public void destroy() {