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 e3da3269..734a2a0e 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