File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
firebase-sessions/src/main
kotlin/com/google/firebase/sessions Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1717 <!-- <uses-sdk android:minSdkVersion="21"/>-->
1818
1919 <application >
20+ <service
21+ android : name =" com.google.firebase.sessions.SessionLifecycleService"
22+ android : enabled =" false"
23+ android : exported =" false" />
2024 <service
2125 android : exported =" false"
2226 android : name =" com.google.firebase.components.ComponentDiscoveryService" >
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright 2025 Google LLC
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ package com.google.firebase.sessions
18+
19+ import android.app.Service
20+ import android.content.Intent
21+
22+ /* *
23+ * A no-op implementation of SessionLifecycleService.
24+ *
25+ * This service was previously used for session management but has been effectively made a no-op as
26+ * part of the architectural changes introduced in
27+ * [PR #7318](https://github.com/firebase/firebase-android-sdk/pull/7318). It is retained to prevent
28+ * `ClassNotFoundException` for older clients that might still have this service declared in their
29+ * AndroidManifest.xml or for systems attempting to restart a previously running instance of this
30+ * service.
31+ */
32+ internal class SessionLifecycleService : Service () {
33+
34+ override fun onBind (unused : Intent ? ) = null
35+ }
You can’t perform that action at this time.
0 commit comments