File tree Expand file tree Collapse file tree 3 files changed +20
-5
lines changed
firebase-components/firebase-dynamic-module-support
src/main/java/com/google/firebase/dynamicloading Expand file tree Collapse file tree 3 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ plugins {
16
16
id ' firebase-library'
17
17
}
18
18
19
+ group = ' com.google.firebase'
20
+
19
21
firebaseLibrary {
20
22
testLab. enabled = false
21
23
publishSources = true
@@ -43,5 +45,5 @@ android {
43
45
dependencies {
44
46
implementation project(' :firebase-common' )
45
47
implementation project(' :firebase-components' )
46
- implementation ' com.google.android.play:core:1.8.2 '
48
+ implementation ' com.google.android.play:core:1.9.0 '
47
49
}
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ version =0.1.0
Original file line number Diff line number Diff line change 15
15
package com .google .firebase .dynamicloading ;
16
16
17
17
import android .content .Context ;
18
- import com .google .android .play .core .splitinstall .SplitInstallManagerFactory ;
18
+ import com .google .android .play .core .splitinstall .InternalFrameworkListenerExtensions ;
19
19
import com .google .android .play .core .splitinstall .SplitInstallSessionState ;
20
20
import com .google .android .play .core .splitinstall .SplitInstallStateUpdatedListener ;
21
21
import com .google .android .play .core .splitinstall .model .SplitInstallSessionStatus ;
@@ -26,9 +26,7 @@ class DynamicLoadingSupport implements SplitInstallStateUpdatedListener {
26
26
27
27
DynamicLoadingSupport (Context applicationContext , ComponentLoader loader ) {
28
28
this .loader = loader ;
29
- // TODO(vkryachko): make sure this listener runs before any developers' listeners.
30
- // TODO(vkryachko): we should probably postpone this via Handler#post(Runnable).
31
- SplitInstallManagerFactory .create (applicationContext ).registerListener (this );
29
+ InternalFrameworkListenerExtensions .registerFrameworkListener (applicationContext , this );
32
30
}
33
31
34
32
@ Override
You can’t perform that action at this time.
0 commit comments