Merge pull request #953 from SimonMarquis/fix/warnings-SyncNotificationsService

Declare `SyncNotificationsService` only in `prod` sourceSet
pull/1837/head
Don Turner 2 years ago committed by GitHub
commit bfa5f91b8a

@ -35,10 +35,11 @@ dependencies {
implementation(libs.androidx.lifecycle.livedata.ktx) implementation(libs.androidx.lifecycle.livedata.ktx)
implementation(libs.androidx.tracing.ktx) implementation(libs.androidx.tracing.ktx)
implementation(libs.androidx.work.ktx) implementation(libs.androidx.work.ktx)
implementation(libs.firebase.cloud.messaging)
implementation(libs.hilt.ext.work) implementation(libs.hilt.ext.work)
implementation(libs.kotlinx.coroutines.android) implementation(libs.kotlinx.coroutines.android)
prodImplementation(libs.firebase.cloud.messaging)
kapt(libs.hilt.ext.compiler) kapt(libs.hilt.ext.compiler)
testImplementation(projects.core.testing) testImplementation(projects.core.testing)

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2022 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<application>
<service
android:name=".services.SyncNotificationsService"
android:exported="false"
tools:node="remove" />
</application>
</manifest>
Loading…
Cancel
Save