Skip to content

Commit fd474d7

Browse files
Steven MorelandGerrit Code Review
authored andcommitted
Merge "document isBinderAlive" into main
2 parents 7b9adab + 309f4d0 commit fd474d7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

libs/binder/include/binder/IBinder.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ class [[clang::lto_visibility_public]] LIBBINDER_EXPORTED IBinder : public virtu
102102
*/
103103
virtual const String16& getInterfaceDescriptor() const = 0;
104104

105+
/**
106+
* Last known alive status, from last call. May be arbitrarily stale.
107+
* May be incorrect if a service returns an incorrect status code.
108+
*/
105109
virtual bool isBinderAlive() const = 0;
106110
virtual status_t pingBinder() = 0;
107111
virtual status_t dump(int fd, const Vector<String16>& args) = 0;

0 commit comments

Comments
 (0)