Merge "Revert "Making software km implementation both backup and default"" am: 24dce34ad5 am: 4f0fd48c01

Change-Id: Ibf9b3f005e55400ac2c2a1f02e499950438a53df
diff --git a/keystore/keystore_main.cpp b/keystore/keystore_main.cpp
index 7b7430f..02c2139 100644
--- a/keystore/keystore_main.cpp
+++ b/keystore/keystore_main.cpp
@@ -114,6 +114,7 @@
         LOG(WARNING) << "No secure Keymaster implementation found, but device offers insecure"
                         " Keymaster HAL. Using as default.";
         result[SecurityLevel::TRUSTED_ENVIRONMENT] = result[SecurityLevel::SOFTWARE];
+        result[SecurityLevel::SOFTWARE] = nullptr;
     }
     if (!result[SecurityLevel::SOFTWARE]) {
         auto fbdev = android::keystore::makeSoftwareKeymasterDevice();