The AnkiDroid coding conventions specify that you should always include braces.
```java
  if (cmp != 0) {
    return cmp;
  }
```

docs/code_conventions/AnkiDroid_code_conventions.html