Drop location in tracker service (temp) 2'

This commit is contained in:
max-klaus 2021-01-12 21:16:23 +03:00
parent abf390975a
commit 6945aaa77b

View file

@ -505,6 +505,8 @@ class TelegramSettings(private val app: TelegramApplication) {
val currentTimeMillis = System.currentTimeMillis()
val currentTime = currentTimeMillis / 1000
statusChangeTime = currentTimeMillis
val gpsEnabled = false
/*
val lm = app.getSystemService(Context.LOCATION_SERVICE) as LocationManager
val gpsEnabled = try {
if (lm.isProviderEnabled(LocationManager.GPS_PROVIDER)) {
@ -518,6 +520,7 @@ class TelegramSettings(private val app: TelegramApplication) {
} catch (ex: Exception) {
false
}
*/
var initializing = false
var sendChatsErrors = false