Skip to content

Commit

Permalink
Fix some inspection warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
1951FDG committed Sep 25, 2019
1 parent fcfd5c6 commit aabd172
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import android.net.NetworkInfo;
import android.telephony.TelephonyManager;

@SuppressWarnings({ "deprecation", "RedundantSuppression" })
public class NetUtils {
/**
* 没有网络连接
Expand Down
3 changes: 2 additions & 1 deletion blockcanary-android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@ dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api project(':blockcanary-analyzer')
//implementation 'com.github.markzhai:blockcanary-analyzer:1.5.0'
implementation 'androidx.core:core:1.0.0'
implementation 'androidx.core:core:1.1.0'
implementation "androidx.preference:preference:1.1.0"
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
import android.graphics.Color;
import android.os.Build;
import android.os.Looper;
import android.preference.PreferenceManager;
import androidx.preference.PreferenceManager;

import com.github.moduth.blockcanary.ui.DisplayActivity;

Expand Down
2 changes: 1 addition & 1 deletion blockcanary-sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ dependencies {
debugImplementation project(':blockcanary-android')
releaseImplementation project(':blockcanary-android-no-op')

implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'com.google.android.material:material:1.0.0'
}

0 comments on commit aabd172

Please sign in to comment.