From c6a60dcdb23a0bc17e8fdc0e62eaa30e2494d64a Mon Sep 17 00:00:00 2001 From: Ztiany Date: Thu, 7 Nov 2019 10:36:04 +0800 Subject: [PATCH] optimize Environment --- .../src/main/java/com/android/base/utils/debug/Environment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_base/src/main/java/com/android/base/utils/debug/Environment.kt b/lib_base/src/main/java/com/android/base/utils/debug/Environment.kt index 1fbbf65..b690d9e 100644 --- a/lib_base/src/main/java/com/android/base/utils/debug/Environment.kt +++ b/lib_base/src/main/java/com/android/base/utils/debug/Environment.kt @@ -11,7 +11,7 @@ object EnvironmentContext { private val spCache = SpCache(BaseUtils.getAppContext().packageName, false) - private val envMap = HashMap>() + private val envMap = LinkedHashMap>() private fun addEnv(category: String, env: Environment) { envMap[category].ifNonNull {