Manage POI

This commit is contained in:
2021-06-12 18:56:03 +02:00
parent 49a48fc371
commit 844be6a4a7
6 changed files with 25 additions and 8 deletions

View File

@ -29,7 +29,7 @@ public class ActivityMaintenance extends Activity
final static String prefsFileName = "com.jens.automation2_preferences.xml";
TextView tvFileStoreLocation;
TextView tvFileStoreLocation, tvAppVersion;
Button bVolumeTest, bMoreSettings, bSettingsSetToDefault, bShareConfigAndLog, bImportConfiguration, bExportConfiguration;
@Override
@ -103,6 +103,13 @@ public class ActivityMaintenance extends Activity
});
tvFileStoreLocation = (TextView)findViewById(R.id.tvFileStoreLocation);
tvAppVersion = (TextView)findViewById(R.id.tvAppVersion);
tvAppVersion.setText(
"Version: " + BuildConfig.VERSION_NAME + Miscellaneous.lineSeparator +
"Version code: " + String.valueOf(BuildConfig.VERSION_CODE) + Miscellaneous.lineSeparator +
"Flavor: " + BuildConfig.FLAVOR
);
}
@Override

View File

@ -193,8 +193,8 @@ public class ActivityManagePoi extends Activity
Miscellaneous.logEvent("i", "POI Manager", "Starting timeout for location search: " + String.valueOf(searchTimeout) + " seconds", 5);
TimerTask updateBall = new TimeoutTask();
timer.scheduleAtFixedRate(updateBall, 0, searchTimeout * 1000);
TimerTask timeoutTask = new TimeoutTask();
timer.schedule(timeoutTask, searchTimeout * 1000);
}
private void stopTimeout()