Loading packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,9 @@ public class RecentsActivity extends Activity implements RecentsView.RecentsView mRecentsView.setLayoutParams(new FrameLayout.LayoutParams( FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT)); mRecentsView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION); // Create the empty view LayoutInflater inflater = LayoutInflater.from(this); Loading packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java +4 −3 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.os.UserHandle; import android.provider.Settings; import android.view.LayoutInflater; import android.view.View; import android.view.WindowInsets; import android.widget.FrameLayout; import com.android.systemui.recents.Console; import com.android.systemui.recents.Constants; Loading Loading @@ -288,16 +289,16 @@ public class RecentsView extends FrameLayout implements TaskStackView.TaskStackV } @Override protected boolean fitSystemWindows(Rect insets) { public WindowInsets onApplyWindowInsets(WindowInsets insets) { Console.log(Constants.Log.UI.MeasureAndLayout, "[RecentsView|fitSystemWindows]", "insets: " + insets, Console.AnsiGreen); // Update the configuration with the latest system insets and trigger a relayout RecentsConfiguration config = RecentsConfiguration.getInstance(); config.updateSystemInsets(insets); config.updateSystemInsets(insets.getSystemWindowInsets()); requestLayout(); return true; return insets.consumeSystemWindowInsets(false, false, false, true); } /** Closes any open info panes */ Loading Loading
packages/SystemUI/src/com/android/systemui/recents/RecentsActivity.java +3 −0 Original line number Diff line number Diff line Loading @@ -249,6 +249,9 @@ public class RecentsActivity extends Activity implements RecentsView.RecentsView mRecentsView.setLayoutParams(new FrameLayout.LayoutParams( FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT)); mRecentsView.setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE | View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN | View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION); // Create the empty view LayoutInflater inflater = LayoutInflater.from(this); Loading
packages/SystemUI/src/com/android/systemui/recents/views/RecentsView.java +4 −3 Original line number Diff line number Diff line Loading @@ -30,6 +30,7 @@ import android.os.UserHandle; import android.provider.Settings; import android.view.LayoutInflater; import android.view.View; import android.view.WindowInsets; import android.widget.FrameLayout; import com.android.systemui.recents.Console; import com.android.systemui.recents.Constants; Loading Loading @@ -288,16 +289,16 @@ public class RecentsView extends FrameLayout implements TaskStackView.TaskStackV } @Override protected boolean fitSystemWindows(Rect insets) { public WindowInsets onApplyWindowInsets(WindowInsets insets) { Console.log(Constants.Log.UI.MeasureAndLayout, "[RecentsView|fitSystemWindows]", "insets: " + insets, Console.AnsiGreen); // Update the configuration with the latest system insets and trigger a relayout RecentsConfiguration config = RecentsConfiguration.getInstance(); config.updateSystemInsets(insets); config.updateSystemInsets(insets.getSystemWindowInsets()); requestLayout(); return true; return insets.consumeSystemWindowInsets(false, false, false, true); } /** Closes any open info panes */ Loading