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

Commit e8c4b23a authored by Jayant Chowdhary's avatar Jayant Chowdhary
Browse files

Add documentation for valid use of removeProvider.



Test: N/A; comment only

Change-Id: I431b0961248851825c08823ef82d9df7049b6454
Signed-off-by: default avatarJayant Chowdhary <jchowdhary@google.com>
parent 45d20486
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -714,6 +714,10 @@ private:

    bool isLogicalCameraLocked(const std::string& id, std::vector<std::string>* physicalCameraIds);

    // No method corresponding to the same provider / member belonging to the
    // same provider should be used after this method is called since it'll lead
    // to invalid memory access (especially since this is called by ProviderInfo methods on hal
    // service death).
    status_t removeProvider(const std::string& provider);
    sp<StatusListener> getStatusListener() const;