diff --git a/common/src/main/java/com/github/kr328/clash/common/constants/Components.kt b/common/src/main/java/com/github/kr328/clash/common/constants/Components.kt index e3da32691a2a598127162b32f271d49183b92920..734a2a0e86c51f2ecf5f6caad45153859f938ac7 100644 --- a/common/src/main/java/com/github/kr328/clash/common/constants/Components.kt +++ b/common/src/main/java/com/github/kr328/clash/common/constants/Components.kt @@ -4,6 +4,8 @@ import android.content.ComponentName import com.github.kr328.clash.common.util.packageName object Components { - val MAIN_ACTIVITY = ComponentName(packageName, "$packageName.MainActivity") - val PROPERTIES_ACTIVITY = ComponentName(packageName, "$packageName.PropertiesActivity") + private const val componentsPackageName = "com.github.kr328.clash" + + val MAIN_ACTIVITY = ComponentName(packageName, "$componentsPackageName.MainActivity") + val PROPERTIES_ACTIVITY = ComponentName(packageName, "$componentsPackageName.PropertiesActivity") } \ No newline at end of file