Persist classifier model

This commit is contained in:
M66B
2021-01-02 20:42:35 +01:00
parent 1666326c59
commit 5fdc634b2c
2 changed files with 103 additions and 2 deletions

View File

@@ -735,6 +735,17 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
liveAccountNetworkState.postDestroy();
executor.submit(new Runnable() {
@Override
public void run() {
try {
MessageClassifier.save(ServiceSynchronize.this);
} catch (Throwable ex) {
Log.e(ex);
}
}
});
TTSHelper.shutdown();
try {