We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77cbe4d commit bed85f4Copy full SHA for bed85f4
build.gradle
@@ -87,7 +87,7 @@ android {
87
88
buildTypes {
89
release {
90
- minifyEnabled false
+ minifyEnabled true
91
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
92
signingConfig signingConfigs.release
93
}
src/main/java/ca/yyx/hu/aap/AapTransport.kt
@@ -74,8 +74,11 @@ class AapTransport(
74
if (mHandler == null) {
75
return false
76
77
- if (!mHandler!!.hasMessages(MSG_POLL)) {
78
- mHandler!!.sendEmptyMessage(MSG_POLL)
+ mHandler?.let {
+ if (!it.hasMessages(MSG_POLL))
79
+ {
80
+ it.sendEmptyMessage(MSG_POLL)
81
+ }
82
83
84
if (ret < 0) {
0 commit comments