Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78934154 authored by Roman Birg's avatar Roman Birg Committed by Steve Kondik
Browse files

Telephony: fix SMS NPE



Ticket: CYNGNOS-1094

Change-Id: Ia3c4327a185e4c182a4e4ad6c91c01fd0e62a3aa
Signed-off-by: default avatarRoman Birg <roman@cyngn.com>
parent aa9bab9d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -624,7 +624,7 @@ public class SmsMessage {
     * Returns the service centre timestamp in currentTimeMillis() format
     */
    public long getTimestampMillis() {
        return mWrappedSmsMessage.getTimestampMillis();
        return mWrappedSmsMessage != null ? mWrappedSmsMessage.getTimestampMillis() : 0;
    }

    /**