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

Commit b2a2f599 authored by “Shadman's avatar “Shadman
Browse files

Clean up the feature flag used to improve allocateBuffer thread prio

Bug: 416937063
Test: app launch tests
Flag: EXEMPT clean up
Change-Id: Iaa36e374353adaaae3d51607a47ba2dc92db2c2e
parent 3d5eeeb9
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