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

Commit 0978b192 authored by android-build-team Robot's avatar android-build-team Robot
Browse files

Snap for 5652667 from 0d097fa7 to qt-qpr1-release

Change-Id: Ib8278b21ded3fdca942b3d280c56bcff85109c08
parents ebfcc5b0 0d097fa7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@

#include <composer-command-buffer/2.2/ComposerCommandBuffer.h>
#include <gui/BufferQueue.h>
#include <hidl/HidlTransportSupport.h>
#include <hidl/HidlTransportUtils.h>

namespace android {
@@ -229,6 +230,7 @@ std::string Composer::dumpDebugInfo()

void Composer::registerCallback(const sp<IComposerCallback>& callback)
{
    android::hardware::setMinSchedulerPolicy(callback, SCHED_FIFO, 2);
    auto ret = mClient->registerCallback(callback);
    if (!ret.isOk()) {
        ALOGE("failed to register IComposerCallback");