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

Commit 779dc1fc authored by Carlos Martinez Romero's avatar Carlos Martinez Romero
Browse files

Remove redundant debug flag.

dumpsys result https://paste.googleplex.com/4984316764356608

Bug: 233818658
Test: manual
Change-Id: Ib89d765d2861cd6b9c61bef78ac15338581d97bb
parent 369cbd15
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -357,9 +357,6 @@ SurfaceFlinger::SurfaceFlinger(Factory& factory) : SurfaceFlinger(factory, SkipI
    // debugging stuff...
    char value[PROPERTY_VALUE_MAX];

    property_get("ro.bq.gpu_to_cpu_unsupported", value, "0");
    mGpuToCpuSupported = !atoi(value);

    property_get("ro.build.type", value, "user");
    mIsUserBuild = strcmp(value, "user") == 0;

@@ -5181,10 +5178,7 @@ void SurfaceFlinger::dumpAllLocked(const DumpArgs& args, const std::string& comp
        StringAppendF(&result, "  orientation=%s, isPoweredOn=%d\n",
                      toCString(display->getOrientation()), display->isPoweredOn());
    }
    StringAppendF(&result,
                  "  transaction-flags         : %08x\n"
                  "  gpu_to_cpu_unsupported    : %d\n",
                  mTransactionFlags.load(), !mGpuToCpuSupported);
    StringAppendF(&result, "  transaction-flags         : %08x\n", mTransactionFlags.load());

    if (const auto display = getDefaultDisplayDeviceLocked()) {
        std::string fps, xDpi, yDpi;
+0 −1
Original line number Diff line number Diff line
@@ -1109,7 +1109,6 @@ private:

    // constant members (no synchronization needed for access)
    const nsecs_t mBootTime = systemTime();
    bool mGpuToCpuSupported = false;
    bool mIsUserBuild = true;

    // Can only accessed from the main thread, these members