mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
fix: fdroid device hardware fallback using bundled JSON for incomplete cache entries (#3844)
This commit is contained in:
parent
d1e7bd1ad5
commit
5a413d07e3
2 changed files with 61 additions and 13 deletions
|
|
@ -30,10 +30,14 @@ import javax.inject.Inject
|
|||
*/
|
||||
class FdroidPlatformAnalytics @Inject constructor() : PlatformAnalytics {
|
||||
init {
|
||||
// For F-Droid builds we don't initialize external analytics services.
|
||||
// In debug builds we attach a DebugTree for convenient local logging.
|
||||
if (BuildConfig.DEBUG) {
|
||||
Timber.plant(Timber.DebugTree())
|
||||
Timber.i("F-Droid platform no-op analytics initialized (DebugTree planted).")
|
||||
} else {
|
||||
Timber.i("F-Droid platform no-op analytics initialized.")
|
||||
}
|
||||
Timber.i("F-Droid platform no-op analytics initialized.")
|
||||
}
|
||||
|
||||
override fun setDeviceAttributes(firmwareVersion: String, model: String) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue