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

Commit ea7731ad authored by Christopher Wiley's avatar Christopher Wiley Committed by Alex Deymo
Browse files

libutils: Add UNEXPECTED_NULL status_t

We use this specifically in situations where we expect to read
an object from a Parcel, but fail because the object is null.

Bug: 25617251

(cherry picked from commit c3441e69)

Change-Id: I07e50c21ce979484f9a472de490b0bfded37a896
parent b10978e5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -73,6 +73,7 @@ enum {
    UNKNOWN_TRANSACTION = (UNKNOWN_ERROR + 6),
#endif    
    FDS_NOT_ALLOWED     = (UNKNOWN_ERROR + 7),
    UNEXPECTED_NULL     = (UNKNOWN_ERROR + 8),
};

// Restore define; enumeration is in "android" namespace, so the value defined