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

Commit 592e50d9 authored by Graciela Wissen Putri's avatar Graciela Wissen Putri
Browse files

[1/n] Create flag for PackageManager.USER_MIN_ASPECT_RATIO_APP_DEFAULT

Currently, "App Default" is set to USER_MIN_ASPECT_RATIO_UNSET which
will apply device manufacturer's aspect ratio override over app's
specified aspect ratio.

To introduce pre-selection of fullscreen option when device manufacturer
has applied override, "App default" option needs to be separate from
unset user aspect ratio. "App default" will be set to
USER_MIN_ASPECT_RATIO_APP_DEFAULT instead, which will revert device
manufacturer's fullscreen override if available.

Bug: 310816437
Test: Make
Change-Id: Id5d6a0bdcaa0c08f9d1b2eab7f540bf978a0f7d4
parent 80ec90ac
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -36,3 +36,10 @@ flag {
  bug: "316139088"
  is_fixed_read_only: true
}

flag {
  name: "user_min_aspect_ratio_app_default"
  namespace: "large_screen_experiences_app_compat"
  description: "Whether the API PackageManager.USER_MIN_ASPECT_RATIO_APP_DEFAULT is available"
  bug: "310816437"
}