diff options
author | Christopher Wiley <wiley@google.com> | 2015-11-10 11:11:08 -0800 |
---|---|---|
committer | Christopher Wiley <wiley@google.com> | 2015-11-10 11:12:43 -0800 |
commit | c3441e69c06f21a7f7cc5582f99849da0507d744 (patch) | |
tree | 08b9496a081458df1ae00dfb0c957c1ee89d34ee /include | |
parent | 8bc7a4d4438d52e140ce835b5fc25a453e3de082 (diff) | |
download | core-c3441e69c06f21a7f7cc5582f99849da0507d744.tar.gz core-c3441e69c06f21a7f7cc5582f99849da0507d744.tar.bz2 core-c3441e69c06f21a7f7cc5582f99849da0507d744.zip |
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
Change-Id: Id0b6118b19a932998b5028e30dc15d70e4d7f9c3
Diffstat (limited to 'include')
-rw-r--r-- | include/utils/Errors.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils/Errors.h b/include/utils/Errors.h index 08ddcd25c..16e1fa2c2 100644 --- a/include/utils/Errors.h +++ b/include/utils/Errors.h @@ -72,6 +72,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 |