Merge pull request #529 from jotomo/synchronize-for-guard

Add missing synchronized so guard works properly.
This commit is contained in:
Milos Kozak 2017-12-06 14:16:03 +01:00 committed by GitHub
commit 6f172bf084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -290,7 +290,7 @@ public class WizardDialog extends DialogFragment implements OnClickListener, Com
}
@Override
public void onClick(View view) {
public synchronized void onClick(View view) {
switch (view.getId()) {
case R.id.ok:
if (okClicked) {