forked from ElJaviLuki/GrindrPlus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
846bb4d
commit 1db41ee
Showing
6 changed files
with
86 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
package com.eljaviluki.grindrplus | ||
|
||
import de.robv.android.xposed.XC_MethodReplacement | ||
import de.robv.android.xposed.XC_MethodReplacement.* | ||
|
||
object Constants { | ||
const val GRINDR_PKG = "com.grindrapp.android" | ||
|
||
object Returns { | ||
val RETURN_TRUE: XC_MethodReplacement = XC_MethodReplacement.returnConstant(true) | ||
val RETURN_FALSE: XC_MethodReplacement = XC_MethodReplacement.returnConstant(false) | ||
val RETURN_INTEGER_MAX_VALUE: XC_MethodReplacement = XC_MethodReplacement.returnConstant(Int.MAX_VALUE) | ||
val RETURN_LONG_MAX_VALUE: XC_MethodReplacement = XC_MethodReplacement.returnConstant(Long.MAX_VALUE) | ||
val RETURN_TRUE: XC_MethodReplacement = returnConstant(true) | ||
val RETURN_FALSE: XC_MethodReplacement = returnConstant(false) | ||
val RETURN_INTEGER_MAX_VALUE: XC_MethodReplacement = returnConstant(Int.MAX_VALUE) | ||
val RETURN_LONG_MAX_VALUE: XC_MethodReplacement = returnConstant(Long.MAX_VALUE) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.