summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2019-10-08 00:37:19 +0800
committerRiddle Hsu <riddlehsu@google.com>2019-10-08 12:29:51 +0800
commit6b76cd3c2eee43d40fbac3a719f2c68de5be6805 (patch)
tree90dea9fae6da39c16026e58c46301a3638566b8a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentd1549d248d757041111a0bae58459ee85f4ae9bf (diff)
Fix mis-overridden of activity level unifying
- 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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions