Skip to content
Snippets Groups Projects
Commit 7b0a1489 authored by Kurt Partridge's avatar Kurt Partridge Committed by Android (Google) Code Review
Browse files

Merge "Rename a var to match semantics"

parents b2d53be7 b5c39f45
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,7 @@ public final class Uploader { ...@@ -49,7 +49,7 @@ public final class Uploader {
private static final boolean DEBUG = false private static final boolean DEBUG = false
&& ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS_DEBUG; && ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS_DEBUG;
// Set IS_INHIBITING_AUTO_UPLOAD to true for local testing // Set IS_INHIBITING_AUTO_UPLOAD to true for local testing
private static final boolean IS_INHIBITING_AUTO_UPLOAD = false private static final boolean IS_INHIBITING_UPLOAD = false
&& ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS_DEBUG; && ProductionFlag.USES_DEVELOPMENT_ONLY_DIAGNOSTICS_DEBUG;
private static final int BUF_SIZE = 1024 * 8; private static final int BUF_SIZE = 1024 * 8;
...@@ -76,7 +76,7 @@ public final class Uploader { ...@@ -76,7 +76,7 @@ public final class Uploader {
} }
public boolean isPossibleToUpload() { public boolean isPossibleToUpload() {
return hasUploadingPermission() && mUrl != null && !IS_INHIBITING_AUTO_UPLOAD; return hasUploadingPermission() && mUrl != null && !IS_INHIBITING_UPLOAD;
} }
private boolean hasUploadingPermission() { private boolean hasUploadingPermission() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment