private String getUserAgent() {
if (mUserAgentString == null) {
String productWithVersion = String.format("%s/%s", BuildConfig.APPLICATION_ID, BuildConfig.VERSION_CODE);
String androidUserAgent = System.getProperty("http.agent");
if (androidUserAgent == null && productWithVersion != null) {
mUserAgentString = productWithVersion; // in case null is returned
} else if (productWithVersion != null) {
mUserAgentString = String.format("%s %s", productWithVersion, androidUserAgent);
} else {
This privacy policy has been compiled to better serve those who are concerned with how their 'Personally Identifiable Information' (PII) is being used online. PII, as described in US privacy law and information security, is information that can be used on its own or with other information to identify, contact, or locate a single person, or to identify an individual in context. Please read our privacy policy carefully to get a clear understanding of how we collect, use, protect or otherwise handle your Personally Identifiable Information in accordance with our website.
When ordering or registering on our site, as appropriate, you may be asked to enter your name, email address or other details to help you with your experience.
Make sure these boxes are checked before submitting/approving the PR
- The code works
- The code is easy to understand
- Follows coding conventions
- Names are simple and if possible short
- Names are spelt correctly
- Names contain units where applicable
- There are no usages of magic numbers
- General | |
[ ] The code works | |
[ ] The code is easy to understand | |
[ ] Follows coding conventions | |
[ ] Names are simple and if possible short | |
[ ] Names are spelt correctly | |
[ ] Names contain units where applicable | |
[ ] Enums are used instead of int constants where applicable | |
[ ] There are no usages of 'magic numbers' | |
[ ] All variables are in the smallest scope possible |