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

Commit 9ecac8e3 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 11623990 from f92e52f2 to 24Q3-release

Change-Id: Idab3cb20021a90128eed6bf2d24ac4f363fe57c1
parents a3468613 f92e52f2
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -486,8 +486,7 @@ public abstract class ViewCapture {

        @Override
        public void onTrimMemory(int level) {
            if (ComponentCallbacks2.TRIM_MEMORY_RUNNING_CRITICAL == level
                    || ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW == level) {
            if (level >= ComponentCallbacks2.TRIM_MEMORY_BACKGROUND) {
                mNodesBg = new ViewPropertyRef[0];
                mFrameTimesNanosBg = new long[0];
                if (mRoot != null && mRoot.getContext() != null) {
@@ -505,7 +504,7 @@ public abstract class ViewCapture {

        @Override
        public void onLowMemory() {
            onTrimMemory(ComponentCallbacks2.TRIM_MEMORY_RUNNING_LOW);
            onTrimMemory(ComponentCallbacks2.TRIM_MEMORY_BACKGROUND);
        }
    }