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

Commit bbc06abe authored by Marc Hittinger's avatar Marc Hittinger Committed by Android (Google) Code Review
Browse files

Merge "Update defaults for isHighEndGfx settings."

parents f03b9a7b b38bb750
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -5477,15 +5477,6 @@ public final class ActivityThread {
        android.ddm.DdmHandleAppName.setAppName(data.processName,
                                                UserHandle.myUserId());

        if (data.persistent) {
            // Persistent processes on low-memory devices do not get to
            // use hardware accelerated drawing, since this can add too much
            // overhead to the process.
            if (!ActivityManager.isHighEndGfx()) {
                ThreadedRenderer.disable(false);
            }
        }

        if (mProfiler.profileFd != null) {
            mProfiler.startProfiling();
        }
+0 −6
Original line number Diff line number Diff line
@@ -1018,12 +1018,6 @@ public class StatusBar extends SystemUI implements DemoMode,
                new IconManager((ViewGroup) mKeyguardStatusBar.findViewById(R.id.statusIcons)));
        mIconController = Dependency.get(StatusBarIconController.class);

        if (!ActivityManager.isHighEndGfx()) {
            mStatusBarWindow.setBackground(null);
            mNotificationPanel.setBackground(new FastColorDrawable(context.getColor(
                    R.color.notification_panel_solid_background)));
        }

        mHeadsUpManager = new HeadsUpManager(context, mStatusBarWindow, mGroupManager);
        mHeadsUpManager.setBar(this);
        mHeadsUpManager.addListener(this);