Lint
This commit is contained in:
parent
f65074b3c5
commit
65654e7e8a
@ -250,7 +250,6 @@ class UnifiedPushHelper @Inject constructor(
|
||||
private fun isInternalDistributor(): Boolean {
|
||||
return UnifiedPush.getDistributor(context).isEmpty() ||
|
||||
UnifiedPush.getDistributor(context) == context.packageName
|
||||
|
||||
}
|
||||
|
||||
fun getPrivacyFriendlyUpEndpoint(): String? {
|
||||
@ -274,7 +273,7 @@ class UnifiedPushHelper @Inject constructor(
|
||||
}
|
||||
|
||||
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()
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user