message: Use synchronous execution for NNAPI 1.2+.
diff: @@ -1053,6 +1053,7 @@ class NNAPIDelegateKernel {
  relative_output_index++;
  }
  // Invoke ANN in blocking fashion.
  + if (nnapi_->android_sdk_version < kMinSdkVersionForNNAPI12) {
  ANeuralNetworksEvent* event = nullptr;
  RETURN_TFLITE_ERROR_IF_NN_ERROR(
  context,
  @@ -1060,6 +1061,11 @@ class NNAPIDelegateKernel {
  RETURN_TFLITE_ERROR_IF_NN_ERROR(context,
  nnapi_->ANeuralNetworksEvent_wait(event));
  nnapi_->ANeuralNetworksEvent_free(event);
  + } else {
  + // Use synchronous execution for NNAPI 1.2+.
  + RETURN_TFLITE_ERROR_IF_NN_ERROR(
  + context, nnapi_->ANeuralNetworksExecution_compute(execution));
  + }
  nnapi_->ANeuralNetworksExecution_free(execution);
  // copy results from shared memory to the destination.
  