Revert "Revert "Remove getStatus from Return<*>.""
This reverts commit 78039670bc4061f062bfc4e7d2c9682257d99fc8.
Change-Id: I0dba853f743c41ee128c7059238804ea04c91a06
diff --git a/base/include/hidl/Status.h b/base/include/hidl/Status.h
index f17c968..1be818d 100644
--- a/base/include/hidl/Status.h
+++ b/base/include/hidl/Status.h
@@ -172,12 +172,6 @@
return mStatus.isOk();
}
- // TODO(b/31348667) deprecate and replace with 'string description()'
- const Status& getStatus() const {
- mCheckedStatus = true;
- return mStatus;
- }
-
// For debugging purposes only
std::string description() const {
// Doesn't consider checked.