kopia lustrzana https://github.com/ryukoposting/Signal-Android
rodzic
9fc02c8ce1
commit
fd2fe9ebd7
|
@ -105,11 +105,13 @@ public class ApplicationMigrationService extends Service
|
||||||
private void setState(ImportState state) {
|
private void setState(ImportState state) {
|
||||||
this.state = state;
|
this.state = state;
|
||||||
|
|
||||||
|
if (this.handler != null) {
|
||||||
Handler handler = this.handler.get();
|
Handler handler = this.handler.get();
|
||||||
|
|
||||||
if (handler != null) {
|
if (handler != null) {
|
||||||
handler.obtainMessage(state.state, state.progress).sendToTarget();
|
handler.obtainMessage(state.state, state.progress).sendToTarget();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (state.progress != null && state.progress.secondaryComplete == 0) {
|
if (state.progress != null && state.progress.secondaryComplete == 0) {
|
||||||
updateBackgroundNotification(state.progress.primaryTotal, state.progress.primaryComplete);
|
updateBackgroundNotification(state.progress.primaryTotal, state.progress.primaryComplete);
|
||||||
|
|
Ładowanie…
Reference in New Issue