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
# Save the obfuscation mapping to a file, so we can de-obfuscate any stack | |
# traces later on. Keep a fixed source file attribute and all line number | |
# tables to get line numbers in the stack traces. | |
# You can comment this out if you're not interested in stack traces. | |
-printmapping out.map | |
-keepparameternames | |
-renamesourcefileattribute SourceFile | |
-keepattributes Exceptions,InnerClasses,Signature,Deprecated, | |
SourceFile,LineNumberTable,EnclosingMethod |
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
class LocationDelegate(val activity: Activity) { | |
companion object { | |
val locationPermission = arrayOf(android.Manifest.permission.ACCESS_FINE_LOCATION, android.Manifest.permission.ACCESS_COARSE_LOCATION) | |
const val ACTION_TO_SETTINGS = Settings.ACTION_LOCATION_SOURCE_SETTINGS | |
const val GEO_REQUEST_CODE = 765 | |
} | |
private val locationTurnOnObserver = PublishSubject.create<Boolean>() |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |