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

Commit 183580ea authored by Steven Moreland's avatar Steven Moreland Committed by Automerger Merge Worker
Browse files

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

Merge "Mark IDisplayService as deprecated." am: 4c57537e am: 8a6dc397 am: 59a742c2 am: f757fa6f

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

Change-Id: I9eec3689df6987b03cbf33d83efe1e69640c8f10
parents e88cb403 f757fa6f
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**) {