summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author TreeHugger Robot <treehugger-gerrit@google.com> 2017-03-24 22:58:11 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2017-03-24 22:58:16 +0000
commited6a3875c58cad27588fc426899115ca1285deaf (patch)
treebcde94b38059f3e515a072e0a396032ac60a30c2
parent84acb2e042ce65863b37dcfca4903e3404c6e593 (diff)
parentd7ff177924baf47575f485c4f2c91007616b99aa (diff)
Merge "Fix companion device feature presence check"
-rw-r--r--core/java/android/companion/CompanionDeviceManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/companion/CompanionDeviceManager.java b/core/java/android/companion/CompanionDeviceManager.java
index ecdc0ce902ef..78e3de47df06 100644
--- a/core/java/android/companion/CompanionDeviceManager.java
+++ b/core/java/android/companion/CompanionDeviceManager.java
@@ -214,7 +214,7 @@ public final class CompanionDeviceManager {
}
private boolean checkFeaturePresent() {
- boolean featurePresent = mService == null;
+ boolean featurePresent = mService != null;
if (!featurePresent && DEBUG) {
Log.d(LOG_TAG, "Feature " + PackageManager.FEATURE_COMPANION_DEVICE_SETUP
+ " not available");