- AWT#inSizeCompatMode is overridden by ActivityRecord but they
were used for different purposes.
- Add missing ConfigurationContainerListener of display level.
So the configuration got from ActivityRecord#getParent (Task)
is synced with TaskRecord.
- Initial Task with TaskRecord's resolved configuration instead.
That avoids the orientation being locked.
Bug: 80414790
Test: atest AppWindowTokenTests#testSizeCompatBounds
Test: Launch an unresizable portrait activity, after calling
setRequestedOrientation to rotate, the restart button
won't appear.
Test: 1. Enter split-screen in portrait.
2. Finish the activity in secondary.
3. Launch the same activity from recents.
4. Drag divider to top.
5. Check the orientation is still portrait.
Change-Id: Ib3b54a74e98d1e85ea4f7707f17bac51d6dbe21b
am: ce374538d5 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: I3c2c15efb6d0ede52dc5be3c0797076209b55add
am: b2cbf7c207 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: I91eed42c62ecc338e7e819032ad430d957d18273
am: e121d6d10a -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: Ic61150f73972e2ce9e06900d94ac61755bd351c6
am: 4821ae7fc6 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: Iab7ace52b4add9e7c3f63f439fd4ead520e9c8d4
am: 833d336899 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 3ceaa9b957 is in history
Change-Id: I222a55c751ed1d4eda8aad2e99f508063143def2
am: a2ba1ccfdc -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: Ibdd94e1e6425403022f04f2a7b91c6f1dba2b74e
am: ff059037d5 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: Id39ca9f51d9b61a43ad13c7bdb724e046b8e637b
am: 67e7268757 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: If638f3a41362dbbc07b101df3ddd9d51c2dfb103
am: cbab929395 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 09843a687b is in history
Change-Id: I91f64c2252e7ac3c09bea87c276d2fb5391e7e84
am: 9ec959b8f3 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 09843a687b is in history
Change-Id: I8cb6a74fb003c359cf81f5dbf84d77f675dd5b5c
Phone system ui made some changes recently which require
super_status_bar to be updated.
Bug: 142274450
Test: manual (build, flash, no crashing)
Change-Id: Icf1049d0264da57d435600d607c26a612fcaeb3b
am: 67e7268757 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: Ie018f1e0b233c1a36eb2a61379f7a15fabd9f073
am: d3618f8275 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: I84e294f2e9e192cfaf1c62cab4b05a1e8b5df7db
am: 3b8c4743f6 -s ours
am skip reason: change_id I0680034ed9315aa2c05282524d48faaed066ebd0 with SHA1 5136eefeb3 is in history
Change-Id: I5ad32c66fa4502e232b802241789977252ddec8e
Mark the marshaling functions for non-primitive parameters as being
@FastNative: they're all expected to complete quickly.
According to the table in CriticalNative.java, the difference between
a regular JNI call and a FastNative call is about 80ns, so this change
should shave about 160ns per non-primitive parameter off the latency
of a binder transaction. The actual savings will be greater as we also
use these Parcel methods to marshal and unmarshal complex objects like
PackageInfo sent as objects over Binder.
Bug: 142271139
Test: boots
Change-Id: I85c3ee8498640193b9c0777c8c5e7eb349c7b23c
With this change, we postpone IME show animation until IME layout is fully
drawn in WM.
Earlier, we were showing IME right after InputMethodService called
Window.show(), which didn't guarantee that layout draw was completed.
Fix: 139487540
Bug: 111084606
Test: Manually verified as follows:
1: Kill IME process or restart system to make sure IME window isn't
created.
2. Tap on edit field to make sure IME shows-up first time.
Change-Id: I35f3fdca43e6bae598a08237ba724962d575cb80
TaskStackListener can now know when
RecentTasks recents list has been
frozen and unfrozen.
Launcher needs this to know when to listen
for multiple swipe regions in quickstep
for apps with different orientations.
Fixes: 140116135
Test: Had Launcher be a consumer of new
listener and verified via logs and
debugger that it was sending the correct
callback when quickswitching apps.
Change-Id: I65fb92d2490c91837523b99563d4fef422dabb76
Remove FRIEND_TEST declarations for DimensionsInCondition_e2e tests
which have been removed
Test: bit statsd_test:*
Change-Id: I4642456000624b1a8117ce683cde20db8c6abff2