Loading quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java +3 −3 Original line number Diff line number Diff line Loading @@ -3,7 +3,6 @@ package com.android.quickstep; import static com.android.launcher3.taskbar.TaskbarThresholdUtils.getFromNavThreshold; import static com.android.launcher3.util.Executors.MAIN_EXECUTOR; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.os.Bundle; Loading Loading @@ -208,8 +207,9 @@ public class QuickstepTestInformationHandler extends TestInformationHandler { RecentsAnimationDeviceState rads = new RecentsAnimationDeviceState(mContext); OverviewComponentObserver observer = new OverviewComponentObserver(mContext, rads); try { return observer.getContainerInterface() .getCreatedContainer().getRootView().getRootWindowInsets(); RecentsViewContainer container = observer.getContainerInterface().getCreatedContainer(); return container == null ? null : container.getRootView().getRootWindowInsets(); } finally { observer.onDestroy(); rads.destroy(); Loading Loading
quickstep/src/com/android/quickstep/QuickstepTestInformationHandler.java +3 −3 Original line number Diff line number Diff line Loading @@ -3,7 +3,6 @@ package com.android.quickstep; import static com.android.launcher3.taskbar.TaskbarThresholdUtils.getFromNavThreshold; import static com.android.launcher3.util.Executors.MAIN_EXECUTOR; import android.app.Activity; import android.content.Context; import android.content.res.Resources; import android.os.Bundle; Loading Loading @@ -208,8 +207,9 @@ public class QuickstepTestInformationHandler extends TestInformationHandler { RecentsAnimationDeviceState rads = new RecentsAnimationDeviceState(mContext); OverviewComponentObserver observer = new OverviewComponentObserver(mContext, rads); try { return observer.getContainerInterface() .getCreatedContainer().getRootView().getRootWindowInsets(); RecentsViewContainer container = observer.getContainerInterface().getCreatedContainer(); return container == null ? null : container.getRootView().getRootWindowInsets(); } finally { observer.onDestroy(); rads.destroy(); Loading