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

Commit 4c57537e authored by Steven Moreland's avatar Steven Moreland Committed by Gerrit Code Review
Browse files

Merge "Mark IDisplayService as deprecated."

parents ad23373a 5f74bbfe
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -63,18 +63,17 @@ static status_t startGraphicsAllocatorService() {
    return OK;
}

static status_t startDisplayService() {
static void startDisplayService() {
    using android::frameworks::displayservice::V1_0::implementation::DisplayService;
    using android::frameworks::displayservice::V1_0::IDisplayService;

    sp<IDisplayService> displayservice = new DisplayService();
    status_t err = displayservice->registerAsService();

    // b/141930622
    if (err != OK) {
        ALOGE("Could not register IDisplayService service.");
        ALOGE("Did not register (deprecated) IDisplayService service.");
    }

    return err;
}

int main(int, char**) {