Gustavo Temple

Results 6 comments of Gustavo Temple

Hi, Like here https://github.com/aws/aws-sdk-java-v2/issues/1874, we are trying: "_perform a transactional write to two tables_" And the behavior is the same: "_About 50% of the time we get the following error....

@Fleker, I tried to do this approach (Handler.post) too: https://github.com/androidthings/drivers-samples/blob/32f4ef79318afc922ba902da5524e709d16feb30/pwmspeaker/src/main/java/com/example/androidthings/driversamples/SpeakerActivity.java#L54 But the result was the same (the error happen just when I put inside a firebase callback)

Yes, because of this line: https://github.com/androidthings/drivers-samples/blob/32f4ef79318afc922ba902da5524e709d16feb30/pwmspeaker/src/main/java/com/example/androidthings/driversamples/SpeakerActivity.java#L98 The speaker stop and restart by itself, there isn't something external controlling the flow.

@Fleker, do you mean in the Firebase ValueEventListener thread?

The same thing happen, the "stop" only works once: ```java package com.example.androidthings.doorbell; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.HandlerThread; import android.util.Log; import com.google.android.things.contrib.driver.pwmspeaker.Speaker; import com.google.firebase.database.DataSnapshot; import com.google.firebase.database.DatabaseError; import com.google.firebase.database.DatabaseReference;...

@jtk54, is this issue related to the file below? https://github.com/spinnaker/spin/blob/master/gateapi/api_task_controller.go#L489 (TaskUsingPOST1)