Remove new intent debug logs. Update packages in build.gradle
This commit is contained in:
parent
343270b757
commit
f5dc4fa4e7
2 changed files with 8 additions and 8 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
import com.google.gms.googleservices.GoogleServicesPlugin
|
||||||
|
|
||||||
apply plugin: 'com.android.application'
|
apply plugin: 'com.android.application'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
@ -70,9 +72,9 @@ dependencies {
|
||||||
|
|
||||||
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
implementation 'com.github.bumptech.glide:glide:4.11.0'
|
||||||
implementation 'com.squareup.okhttp3:okhttp:4.4.1'
|
implementation 'com.squareup.okhttp3:okhttp:4.4.1'
|
||||||
implementation 'com.google.firebase:firebase-analytics:17.4.0'
|
implementation 'com.google.firebase:firebase-analytics:17.4.1'
|
||||||
implementation 'com.google.android.gms:play-services-base:17.2.1'
|
implementation 'com.google.android.gms:play-services-base:17.2.1'
|
||||||
implementation 'com.google.firebase:firebase-messaging:20.1.6'
|
implementation 'com.google.firebase:firebase-messaging:20.1.7'
|
||||||
|
|
||||||
implementation 'com.google.code.gson:gson:2.8.6'
|
implementation 'com.google.code.gson:gson:2.8.6'
|
||||||
implementation 'com.google.android.exoplayer:exoplayer-core:2.11.4'
|
implementation 'com.google.android.exoplayer:exoplayer-core:2.11.4'
|
||||||
|
@ -103,4 +105,4 @@ dependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.google.gms.google-services'
|
apply plugin: 'com.google.gms.google-services'
|
||||||
com.google.gms.googleservices.GoogleServicesPlugin.config.disableVersionCheck = true
|
GoogleServicesPlugin.config.disableVersionCheck = true
|
||||||
|
|
|
@ -535,8 +535,6 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void onNewIntent(Intent intent) {
|
protected void onNewIntent(Intent intent) {
|
||||||
android.util.Log.d(TAG, String.format("OnNewIntent: %s", intent));
|
|
||||||
|
|
||||||
super.onNewIntent(intent);
|
super.onNewIntent(intent);
|
||||||
checkUrlIntent(intent);
|
checkUrlIntent(intent);
|
||||||
checkNotificationOpenIntent(intent);
|
checkNotificationOpenIntent(intent);
|
||||||
|
@ -914,9 +912,9 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onResume() {
|
protected void onResume() {
|
||||||
android.util.Log.d(TAG, String.format("OnResume: Intent=%s", getIntent() != null ? getIntent().toString() : "NULL"));
|
|
||||||
|
|
||||||
super.onResume();
|
super.onResume();
|
||||||
|
enteringPIPMode = false;
|
||||||
|
|
||||||
applyNavbarSigninPadding();
|
applyNavbarSigninPadding();
|
||||||
checkFirstRun();
|
checkFirstRun();
|
||||||
checkNowPlaying();
|
checkNowPlaying();
|
||||||
|
@ -958,7 +956,7 @@ public class MainActivity extends AppCompatActivity implements SdkStatusListener
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onPause() {
|
protected void onPause() {
|
||||||
if (!enteringPIPMode && appPlayer != null) {
|
if (!enteringPIPMode && !inPictureInPictureMode && appPlayer != null) {
|
||||||
appPlayer.setPlayWhenReady(false);
|
appPlayer.setPlayWhenReady(false);
|
||||||
}
|
}
|
||||||
super.onPause();
|
super.onPause();
|
||||||
|
|
Loading…
Reference in a new issue