mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Fix for plaintext SMS import NPE.
// FREEBIE
This commit is contained in:
parent
9fc02c8ce1
commit
fd2fe9ebd7
@ -105,11 +105,13 @@ public class ApplicationMigrationService extends Service
|
||||
private void setState(ImportState state) {
|
||||
this.state = state;
|
||||
|
||||
if (this.handler != null) {
|
||||
Handler handler = this.handler.get();
|
||||
|
||||
if (handler != null) {
|
||||
handler.obtainMessage(state.state, state.progress).sendToTarget();
|
||||
}
|
||||
}
|
||||
|
||||
if (state.progress != null && state.progress.secondaryComplete == 0) {
|
||||
updateBackgroundNotification(state.progress.primaryTotal, state.progress.primaryComplete);
|
||||
|
Loading…
Reference in New Issue
Block a user