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

Commit bc4f2538 authored by Shadman Shadid's avatar Shadman Shadid Committed by Android (Google) Code Review
Browse files

Merge "Clean up the feature flag used to improve allocateBuffer thread prio" into main

parents 5eacf74c b2a2f599
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -939,11 +939,9 @@ public:
        auto gbp = getIGraphicBufferProducer();
        std::thread allocateThread([reqWidth, reqHeight, gbp = getIGraphicBufferProducer(),
                                    reqFormat = mReqFormat, reqUsage = mReqUsage]() {
            if (com_android_graphics_libgui_flags_allocate_buffer_priority()) {
            androidSetThreadName("allocateBuffers");
            pid_t tid = gettid();
            androidSetThreadPriority(tid, ANDROID_PRIORITY_DISPLAY);
            }

            gbp->allocateBuffers(reqWidth, reqHeight,
                                 reqFormat, reqUsage);
+0 −11
Original line number Diff line number Diff line
@@ -119,14 +119,3 @@ flag {
  bug: "340934031"
  is_fixed_read_only: true
} # wb_media_migration

flag {
  name: "allocate_buffer_priority"
  namespace: "wear_system_health"
  description: "Boost priority for buffer allocation"
  bug: "399701430"
  metadata {
    purpose: PURPOSE_BUGFIX
  }
  is_fixed_read_only: true
} # allocate_buffer_priority