Apps > App Info > Advanced > Aspect ratio Adds link from aspect ratio app list page to app info. Stops activity if user chooses a different aspect ratio override. To enable feature: adb shell device_config put window_manager enable_app_compat_user_aspect_ratio_settings true adb shell am force-stop com.android.settings Bug: 287448187 Test: Manual All Settings CUJs passed atest SettingsRoboTests:UserAspectRatioDetailsTest atest SettingsSpaUnitTests:UserAspectRatioAppPreferenceTest Change-Id: Id47f291459e62267bf15d629c163dde73d96928a
Running Settings Robolectric tests
The full suite
$ croot
$ make RunSettingsRoboTests
Running a single test class
$ croot
$ make RunSettingsRoboTests ROBOTEST_FILTER=<ClassName>
For example:
make RunSettingsRoboTests ROBOTEST_FILTER=CodeInspectionTest
You can also use partial class name in ROBOTEST_FILTER. If the partial class name matches multiple file names, all of them will be executed.