From c3441e69c06f21a7f7cc5582f99849da0507d744 Mon Sep 17 00:00:00 2001 From: Christopher Wiley Date: Tue, 10 Nov 2015 11:11:08 -0800 Subject: [PATCH] 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 --- include/utils/Errors.h | 1 + 1 file changed, 1 insertion(+) 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