OSDN Git Service

Add back support for force resize developer option.
authorBryce Lee <brycelee@google.com>
Wed, 16 Aug 2017 17:04:52 +0000 (10:04 -0700)
committerBryce Lee <brycelee@google.com>
Wed, 16 Aug 2017 17:53:34 +0000 (10:53 -0700)
commitc857a5b6c47fe2816f43ad997f400e5ce3c221d2
tree2c14e25161be04868e6f04ac9ea7938c9f036407
parent73e3d9f58c9edd2db254f072bd82bcecb2c13275
Add back support for force resize developer option.

This functionality was lost when resizable was separated for PiP and
split screen. This changelist brings back this functionality by
taking the developer option flag into account when the TaskRecord
reports its support for split screen.

Fixes: 64010770
Test: turn on force resizable in developer settings, enter split
      screen with non-resizable task in the foreground.
Change-Id: I103943f0400389cac19f799b4e64e0607330f271
services/core/java/com/android/server/am/TaskRecord.java