|
@@ -373,6 +373,11 @@ public class PsiphonTunnel {
|
|
|
// stopSendFeedback() before the process exits. This ensures that any underlying resources
|
|
// stopSendFeedback() before the process exits. This ensures that any underlying resources
|
|
|
// are cleaned up; failing to do so may result in data store corruption or other undefined
|
|
// are cleaned up; failing to do so may result in data store corruption or other undefined
|
|
|
// behavior.
|
|
// behavior.
|
|
|
|
|
+ // - PsiphonTunnel.startTunneling and startSendFeedback both make an attempt to migrate
|
|
|
|
|
+ // persistent files from legacy locations in a one-time operation. If these functions are
|
|
|
|
|
+ // called in parallel, then there is a chance that the migration attempts could execute at
|
|
|
|
|
+ // the same time and result in non-fatal errors in one, or both, of the migration
|
|
|
|
|
+ // operations.
|
|
|
public void startSendFeedback(Context context, HostFeedbackHandler feedbackHandler, HostLogger logger,
|
|
public void startSendFeedback(Context context, HostFeedbackHandler feedbackHandler, HostLogger logger,
|
|
|
String feedbackConfigJson, String diagnosticsJson, String uploadPath,
|
|
String feedbackConfigJson, String diagnosticsJson, String uploadPath,
|
|
|
String clientPlatformPrefix, String clientPlatformSuffix) {
|
|
String clientPlatformPrefix, String clientPlatformSuffix) {
|