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

Commit fdde895c authored by Jeff Tinker's avatar Jeff Tinker Committed by Android (Google) Code Review
Browse files

Merge "Skip tests when the drm scheme is not installed" into oc-dev

parents 04b086dd be310b2b
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ DrmHalVTSVendorModule* vendorModuleFactory();

class DrmHalVTSVendorModule {
   public:
    DrmHalVTSVendorModule() {}
    DrmHalVTSVendorModule() : installed(true) {}
    virtual ~DrmHalVTSVendorModule() {}

    /**
@@ -89,7 +89,15 @@ class DrmHalVTSVendorModule {
     */
    virtual std::string getServiceName() const = 0;

    /**
     * Set a flag in the vendor module to indicate whether or not the drm
     * scheme corresponding to this module is installed on the device.
     */
    void setInstalled(bool flag) {installed = flag;}
    bool isInstalled() const {return installed;}

   private:
    bool installed;
    DrmHalVTSVendorModule(const DrmHalVTSVendorModule&) = delete;
    void operator=(const DrmHalVTSVendorModule&) = delete;
};
+79 −2

File changed.

Preview size limit exceeded, changes collapsed.