mirror of
https://github.com/oxen-io/session-android.git
synced 2025-03-31 10:52:14 +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) {
|
private void setState(ImportState state) {
|
||||||
this.state = state;
|
this.state = state;
|
||||||
|
|
||||||
Handler handler = this.handler.get();
|
if (this.handler != null) {
|
||||||
|
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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user