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