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

Commit 8a6dc397 authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

Merge "Mark IDisplayService as deprecated." am: 4c57537e

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1880610

Change-Id: I0469f0c4ee12cd5598eb40b90b87c78cbab1c893
parents 131d8dd6 4c57537e
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**) {