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

Skip to content
Commit 9c7c9e67 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Add a method for querying universal resizability of packages

This provides a method for Settings to query whether a package can
be universal resizable. And because Settings only has the UI on
large screen device, it can use:
  ActivityRecord#canBeUniversalResizeable(info, wms,
      true /* isLargeScreen */, false /* forActivity */)

Bug: 374903057
Flag: com.android.window.flags.universal_resizable_by_default
Test: SizeCompatTests#testUniversalResizeable
Change-Id: I219c1f1e649e94f61cae0b144c50818ad129f696
parent 29f58020
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment