diff options
| author | 2017-03-24 22:58:11 +0000 | |
|---|---|---|
| committer | 2017-03-24 22:58:16 +0000 | |
| commit | ed6a3875c58cad27588fc426899115ca1285deaf (patch) | |
| tree | bcde94b38059f3e515a072e0a396032ac60a30c2 | |
| parent | 84acb2e042ce65863b37dcfca4903e3404c6e593 (diff) | |
| parent | d7ff177924baf47575f485c4f2c91007616b99aa (diff) | |
Merge "Fix companion device feature presence check"
| -rw-r--r-- | core/java/android/companion/CompanionDeviceManager.java | 2 |
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"); |