- The permission is needed to run CarPowerManagerTest in ATS
Bug: 178415284
Test: atest com.google.android.car.ats.CarPowerManagerTest
Change-Id: I200640b7899115d25e1343825186793d86633bcb
As currently attaching IME screenshot is only valid during
switching between app tasks with IME window for aligning
with the IME window surface layer on the fullscreen activity.
The issue happens when SettingsPanelActivity (non-fullscreen activity)
launch another translucent activity and popup the wifi password dialog.
When user dismiss the dialog, it makes WifiDialogActivity
incidentally attachs the IME screenshot on SettingsPanelActivity
while performing translucent activity closing transition.
Since initially we only support IME screenshot when performing task
level app transition or switching apps with recents animation,
We won't support for the app activity with theming or popup the
non-fullscreen dialog with editor in case wrong IME screenshot
attaching as the above issue case during activity closing transition.
Add more checks to consolidate the attaching rule that valid only
when the task is IME layering target and performing task closing
transition.
Fix: 186080920
Test: atest DisplayContentTests#testAttachAndShowImeScreenshotOnTarget
Test: atest DisplayContentTests#testShowImeScreenshot
Test: manual as issue steps:
1) Open Internet connection from quick settings.
2) Choose a Wifi ssid which requires password.
3) Enter password and press Enter key.
4) Verify if the keyboard is still remain on the screen.
Expected is not.
Change-Id: I0a0a8322c5d1cd44e3a4520c7f5434b8bc5b8306
- Ensure that newly added buttons to the contextual group are not
visible by default, this can cause issues where they are clickable
if setButtonVisibility() is not called to ensure only one button
is visible
- Fix an issue where the rotation controller and context group buttons
were not updated on nav mode change (leading to floating rotation
button w/ 3 button nav and rotation context button w/ gestural nav).
This is a regression in S due to us not reinflating the entire nav
bar view on nav mode change.
- Move ime switcher handling to NavBar to be consistent with other
contextual buttons
- Prevent reloading nav bar multiple times on nav mode change
Fixes: 183475747
Test: Change nav modes and dump the context buttons to verify they
are updated correctly
Change-Id: I01779af237a46909f04fe76d74dd552af8a034e4
The core function of OHM is translate all windows down
instead of resize, it's unnecessary to set WCT & app bounds
that will introduce DA require to cache configuration in
DAInfo as well as handle configuration changes stuffs
This change ensure App Compat mode works good:
- Remove wct.setBounds() & wct.setAppBounds()
- Use float instead of bounds for transition/animation
- Remove unused code
- Reset setWindowCrop(leash, -1, -1) after rotate
- Reset setCornerRadius(leash, -1) after rotate
- Add dump() for OneHandedAnimationController
- Add dump() for OneHandedSurfaceTransactionHelper
Test: atest WMShellUnitTests
Test: maunal trigger OHM, rotate, and obseve function works
Bug: 184091042
Bug: 181091031
Change-Id: I401d9b8a79a2a1526b8683362a1e0330458141b1
Also differentiate between wireless charging and pluggedIn state in BatteryController.
Bug: 184912336
Test: Manual. SystemUITests.
Change-Id: Icbaf8f5b43adaa40b70ebdef200658c932dad19b
During the start activity process, the system will get a launch root
task to launch activity. The root tasks are created as a direct child
of a TDA, unless there is a launch-root-task set where the created
task would be a child task of the launch-root-task.
This CL make activity can start with a focus root task which is
created by the task organizer and has an adjacent task. For
legacy split screens, this CL doesn't change the original behavior.
Bug: 180079028
Test: atest MultiWindowTests
atest TaskDisplayAreaTests
Change-Id: Idf62ec2489eb1f05baddd3b527a0afc868426251
When stashing, currently it assumes the entire display is usable - not
taking into insets into consideration that can be caused by navigation
bar, etc.
Bug: 186698828
Test: Manual. Stashing PIP while w/ insets now stashes correctly.
Test: atest PipSnapAlgorithmTest
Change-Id: Ia6cbb8f21b666a4ba4ee10b84e3087b6a23cd982