|
|
@ -2172,12 +2172,12 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences
|
|
|
|
|
|
|
|
|
|
|
|
// Stop watching operations
|
|
|
|
// Stop watching operations
|
|
|
|
Log.i(account.name + " stop watching operations");
|
|
|
|
Log.i(account.name + " stop watching operations");
|
|
|
|
|
|
|
|
final TwoStateOwner _owner = cowner.value;
|
|
|
|
getMainHandler().post(new Runnable() {
|
|
|
|
getMainHandler().post(new Runnable() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void run() {
|
|
|
|
public void run() {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
if (cowner.value != null)
|
|
|
|
_owner.destroy();
|
|
|
|
cowner.value.destroy();
|
|
|
|
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
} catch (Throwable ex) {
|
|
|
|
Log.e(ex);
|
|
|
|
Log.e(ex);
|
|
|
|
}
|
|
|
|
}
|
|
|
|