Skip to content

Commit

Permalink
Fixing intent bug before alpha/beta and public release
Browse files Browse the repository at this point in the history
  • Loading branch information
BijoySingh committed Feb 11, 2018
1 parent ed7f851 commit 72ad6e8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
applicationId "com.bijoysingh.quicknote"
minSdkVersion 17
targetSdkVersion 27
versionCode 55
versionName "4.3.8"
versionCode 56
versionName "4.4.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
javaCompileOptions {
annotationProcessorOptions {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class ExternalIntentActivity : ThemedActivity() {
fun isCallerKeep(): Boolean {
return when {
Build.VERSION.SDK_INT >= 22 && (referrer?.toString() ?: "").contains(KEEP_PACKAGE) -> true
callingPackage.contains(KEEP_PACKAGE) -> true
callingPackage?.contains(KEEP_PACKAGE) ?: false -> true
(intent?.`package` ?: "").contains(KEEP_PACKAGE) -> true
else -> false
}
Expand Down

0 comments on commit 72ad6e8

Please sign in to comment.