The root cause is that the letterbox receives touches within the whole task,
which made the primary activity untouchable.
This CL changes to make the letterbox only cover the secondary
taskfragment area
Test: manual - repro steps in bug
Bug: 271592105
Change-Id: I2d724736d01a8fc50fe4c82c8b8cca2769d97d4f
This change adds a null check before adding the current connection
pool path's parent to the list of directories, since the parent might be
null. This avoids an NPE in SQLiteDatabase.dumpAll().
Test: run dumpsys dbinfo, verify that it no longer times out
Bug: 281043011
Change-Id: Iec7fa9d0941d79dfa034f117c35c30797c7d3113
A surface may no longer be available on callback, which results in a
Throwable exception. We've seen this mainly during tests. Capture and
log the exception to prevent a crash.
Fixes: 277481883
Test: manual
Change-Id: Ie121aec4f1ff58cff432b94120efae00bdb97268
This is a very targeted fix because we expect the old pipeline to be
able to be deleted in an upcoming release, so we don't want to
re-architect the world.
Bug: 225902574
Test: atest NetworkControllerWifiTest (The `vcnOnlyOnUnderlyingNetwork`
test fails without this fix and passes with it.)
Test: manual: verify QS tile works correctly in non-carrier merged
scenarios
Test: adb shell dumpsys activity service
com.android.systemui/.SystemUIService NetworkController still works and
has the `isDefaultConnectionValidated` column
Change-Id: I9bc007f47b991a20ca9caa85af839963f268486a
Change-Id: I2371b76a3a3a4fe679444122385ee97c7f57e2b3
(or the device is in airplane mode)
The old pipeline's WifiSignalController only sent updates to
MobileSignalController if the wifi info was carrier merged *and* wifi or
carrier merged was the default connection or the device was in airplane
mode. The new pipeline previously didn't check this default status,
which caused the new pipeline to keep polling the carrier merged info
instead of the normal cellular info.
Also increases the size of the connectivity buffer, since investigating
the BRs attached to this bug revealed that the buffer cut off too early.
Bug: 278618530
Test: atest MobileConnectionsRepositoryTest
Change-Id: Ib9dde0234c38921bb67179a138f9cc8c60e7d669
Using the real wifi repo will let us send the same network capabilities
objects to both the default network callback and the normal network
callback in tests. This makes the tests more reflective of production
scenarios.
This is in preparation for the CL that fixes b/278618530, since that CL
will rely more heavily on updating both the default and non-default
network callbacks with information.
Bug: 278618530
Test: atest MobileConnectionsRepositoryTest
Change-Id: I917506fc3c04cd63a0236cdf356cd26719c20337
Currently shell is not aware of letterbox info of activity.
Especially PiP animation assume the surface is task which
should be put at 0,0 in either task display area or a
multi-window container after expanding.
By using a local leash, the position of activity surface won't
be erased by the end of pip animation, and the animation will
look better by including the area of activity offset.
Bug: 280028520
Test: In a ignore-orientation display or split screen.
Task[A,B], B requested fixed orientation to trigger letterbox.
B enter PiP, then then expand to original position.
The offset from letterbox should not be changed.
Change-Id: I1a24703ce0d9976d0f5dfeda0569226a5afa908c
The sound dose method already covers the volume based warnings that
comply with 10.6.5 of IEC62368-1. We do not need to implement the 10.6.5
requirements when sound dose method is enabled.
Test: manual with flag override
Bug: 280748088
Change-Id: I3abc8b4f57f89ff9553ec80cc6f754f57e4ace29
* changes:
Remove transition state tracing
Update transition dumping structure
Add real to elapsed offset to shell transition trace
Update WM side transition trace file name
The surface was not unfreeze if the WindowContainer is closing and
changing after [1].
Always check and unfreeze the surface if needed when the transition
is done.
[1] d19ad2aa09
Bug: 280754787
Test: click web link on chat while having a Meet call
Change-Id: I98618477a828eb72b2173af6988e804471139e81
Using the DIALER and SMS role holders to replace the shortucts in the
launcher.
Bug: 279035836
Test: btest a.d.g.WorkTelephonyTest
Change-Id: I9e6dc0c8b751901f27b2744c2c2b9111e80906d6
I134c8c4e keeps a split pair in the background, the split layout might
not be updated properly if the next entering split comes with rotation.
This makes sure to update the split layout to show the divider with the
correct orientation.
Fix: 280876344
Test: atest WMShellFlickerTests:DismissSplitScreenByGoHomeBenchmark
Change-Id: I47659b791cc479b92aa1d1851663d65e8a93aeab
If the frame of a non-fill-screen app window contains the content frame
of navigation bar, it should be able to decide the icon color of the
bar. Note the content frame here is the navigation bar area subtract the
display cutout area.
Fix: 234602646
Test: Open an app which shifts its main window down by 200px, and see if
the icon color of navigation bar can be controlled by the app.
Change-Id: I4dfeefe0f438922153cf26d217f9beddf88ad4c0
The strings will no longer be shared with the mini-resolver
for apps vs browser versions.
Test: Manually
Bug: 273907884
Change-Id: Ie61b7d4965ec5abe46a820d2dcca362b1e34ad34
This test use FLAG_FIRST_CUSTOM which just same as
FLAG_IS_DIVIDER_BAR, and we did some special hanlde for divider.
Change test to using FLAG_IS_DIVIDER_BAR for readability and also
fix test assertion.
Fix: 280796126
Test: atest RemoteTransitionTest
Change-Id: I969947b4a2738a0760ccef2658ecd495e57edf54