Search in sources :

Example 1 with RefreshOwnProfileJob

use of org.thoughtcrime.securesms.jobs.RefreshOwnProfileJob in project Signal-Android by WhisperSystems.

the class AttributesMigrationJob method performMigration.

@Override
public void performMigration() {
    Log.i(TAG, "Scheduling attributes upload and profile refresh job chain");
    ApplicationDependencies.getJobManager().startChain(new RefreshAttributesJob()).then(new RefreshOwnProfileJob()).enqueue();
}
Also used : RefreshAttributesJob(org.thoughtcrime.securesms.jobs.RefreshAttributesJob) RefreshOwnProfileJob(org.thoughtcrime.securesms.jobs.RefreshOwnProfileJob)

Example 2 with RefreshOwnProfileJob

use of org.thoughtcrime.securesms.jobs.RefreshOwnProfileJob in project Signal-Android by signalapp.

the class AttributesMigrationJob method performMigration.

@Override
public void performMigration() {
    Log.i(TAG, "Scheduling attributes upload and profile refresh job chain");
    ApplicationDependencies.getJobManager().startChain(new RefreshAttributesJob()).then(new RefreshOwnProfileJob()).enqueue();
}
Also used : RefreshAttributesJob(org.thoughtcrime.securesms.jobs.RefreshAttributesJob) RefreshOwnProfileJob(org.thoughtcrime.securesms.jobs.RefreshOwnProfileJob)

Aggregations

RefreshAttributesJob (org.thoughtcrime.securesms.jobs.RefreshAttributesJob)2 RefreshOwnProfileJob (org.thoughtcrime.securesms.jobs.RefreshOwnProfileJob)2