Lint
This commit is contained in:
parent
f65074b3c5
commit
65654e7e8a
|
@ -250,7 +250,6 @@ class UnifiedPushHelper @Inject constructor(
|
||||||
private fun isInternalDistributor(): Boolean {
|
private fun isInternalDistributor(): Boolean {
|
||||||
return UnifiedPush.getDistributor(context).isEmpty() ||
|
return UnifiedPush.getDistributor(context).isEmpty() ||
|
||||||
UnifiedPush.getDistributor(context) == context.packageName
|
UnifiedPush.getDistributor(context) == context.packageName
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getPrivacyFriendlyUpEndpoint(): String? {
|
fun getPrivacyFriendlyUpEndpoint(): String? {
|
||||||
|
@ -274,7 +273,7 @@ class UnifiedPushHelper @Inject constructor(
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getPushGateway(): String? {
|
fun getPushGateway(): String? {
|
||||||
return if (isEmbeddedDistributor()) context.getString(R.string.pusher_http_url)
|
return if (isEmbeddedDistributor()) stringProvider.getString(R.string.pusher_http_url)
|
||||||
else unifiedPushStore.getPushGateway()
|
else unifiedPushStore.getPushGateway()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue