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

Commit eef08dc1 authored by Bruno BELANYI's avatar Bruno BELANYI Committed by Android (Google) Code Review
Browse files

Merge "SF: use 'base::GetBoolProperty'" into main

parents ed7a194f fd028785
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -864,9 +864,7 @@ void SurfaceFlinger::init() FTL_FAKE_GUARD(kMainThreadContext) {

    mPowerAdvisor->init();

    char primeShaderCache[PROPERTY_VALUE_MAX];
    property_get("service.sf.prime_shader_cache", primeShaderCache, "1");
    if (atoi(primeShaderCache)) {
    if (base::GetBoolProperty("service.sf.prime_shader_cache"s, true)) {
        if (setSchedFifo(false) != NO_ERROR) {
            ALOGW("Can't set SCHED_OTHER for primeCache");
        }