mentat/sdks/android/Mentat
Nick Alexander 190e05e360 [sdks/android] Part 2: Replace Expectation/wait/notify with CountDownLatch.
Locally, I witnessed very slow tests.  Profiling with Visual VM
revealed a lot of time spent in `wait`.

Digging in, we were trying to be clever, with a `wait(1000)/notify`
mechanism.  However, there were never multiple threads in play, so the
waiter wasn't waiting when `notify` was invoked.  That means we always
timed out.  I think this never worked and using bare `wait()` would
have revealed that.

Anyway, `CountDownLatch` maintains the one bit of state (was I
notified) and generalizes smoothly to when we have threads.
2018-07-27 10:43:53 -07:00
..
gradle/wrapper [sdks/android] Build Mentat Android SDK in TaskCluster; publish org.mozilla.mentat to nalexander's personal Bintray repo. 2018-07-25 20:50:44 -07:00
library [sdks/android] Part 2: Replace Expectation/wait/notify with CountDownLatch. 2018-07-27 10:43:53 -07:00
samples/basic [sdks] Make store_open{_encrypted} return useful errors. 2018-07-26 13:01:53 -07:00
.gitignore iOS and Android (Java) sdk framework (#643) 2018-05-14 16:20:36 +01:00
.project iOS and Android (Java) sdk framework (#643) 2018-05-14 16:20:36 +01:00
build.gradle Bump to version 0.10.0. 2018-07-26 13:09:18 -07:00
gradle.properties [sdks/android] Build Mentat Android SDK in TaskCluster; publish org.mozilla.mentat to nalexander's personal Bintray repo. 2018-07-25 20:50:44 -07:00
gradlew Min SDK 16, bump dependency versions, update gradle & wrapper, fix linter error (#717) r= fluffyemily 2018-05-29 10:16:32 -07:00
gradlew.bat Min SDK 16, bump dependency versions, update gradle & wrapper, fix linter error (#717) r= fluffyemily 2018-05-29 10:16:32 -07:00
publish.gradle [sdks/android] Include vcsTag when uploading to bintray. 2018-07-27 10:43:52 -07:00
settings.gradle Android SDK basic sample project and symlinked SDK Mentat binaries (#729) r=nalexander 2018-06-01 12:44:31 -07:00