History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
036e3adce72b39ac5baefcf059891d6951206d81 19-Apr-2017 Andrii Kulian <akulian@google.com> Don't put non-resizeable activities on secondary displays

There is a contract that a non-resizeable activity cannot get
a configuration different from the global config (or fullscreen
config on primary display). This CL ensures that for launching on
secondary displays and checks if target display's config matches
the global config.
If a forced-resizeable activity is launched to a secondary display
or there was an attempt to launch a non-resizeable activity that
failed, corresponding toast message will be displayed.

Bug: 36777179
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testLaunchNonResizeableActivityOnSecondaryDisplay
Test: #testLaunchNonResizeableActivityWithSplitScreen
Test: #testMoveNonResizeableActivityToSecondaryDisplay
Change-Id: I5346afe740e78e4e5ba9a9694e97ac60b92663e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java
e6d157b93669ce00be0ff796c6617c63e2ccba5a 13-May-2016 Jorim Jaggi <jjaggi@google.com> Fix transition for forced resizable exit

Since the transition is picked from layout params from the activity
below, we need to manually override it.

Bug: 28750938
Change-Id: I7351c7d8bd14a393cba51d6afb1e644204217440
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java
863828763a4c94f44b67bc4aac0d2cde8b458797 19-Apr-2016 Winson <winsonc@google.com> Disallowing scrim activity from setting TaskDescription.

Bug: 28248314
Change-Id: Ifa2ed84a0a772ed3636ec4a8b94a165aebeb7049
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java
ab9b01ccb08a3d5194b32d9e7886067f841c2ba5 09-Apr-2016 Jorim Jaggi <jjaggi@google.com> Fix talk back announcement

Bug: 27950180
Change-Id: I8f201c6303e40d0249944d73b2b71eb0ceadfad8
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java
7b3936977fb6db8fcef5605d4ee2df48a4465663 08-Apr-2016 Jorim Jaggi <jjaggi@google.com> Update visuals of force resizable

Bug: 27327287
Change-Id: I32d30a8044f683e2f6287035250126999f623e15
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java
2adba07d75419462873dfeef40d4c983d832ed99 03-Mar-2016 Jorim Jaggi <jjaggi@google.com> Show a scrim activity if task is not resizable

Add a callback to TaskStackChangeListener which gets fired when the system
might need to inform the user that a specific app might not work in
multi-window.

Use that callback in SysUI to show a translucent activity which scrims the
activity behind to inform that it might not be resizable.

Debounce the information to once per multi-window session, to not make it
annoying.

Introduce launchTaskId to start an activity in an existing task, and protect
that with START_TASKS_FROM_RECENTS permission.

Bug: 27327287
Bug: 27431869
Change-Id: I89e8d653872ab01ba3c1e252b426e5481da0e6ca
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ForcedResizableInfoActivity.java