summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorShivam Agrawal <shivamagrawal@google.com>2021-07-08 10:51:43 -0400
committerShivam Agrawal <shivamagrawal@google.com>2021-08-06 14:15:23 -0400
commit8bec600008c3e5b6e7f4841d5082e92b453d4903 (patch)
tree6adb274ccc504440aeeec331b15f6125b0982be1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentbebfe77990bffd878b68942b1d8633186274333b (diff)
Filter-Diff Screen Layout Changes for Activity Relaunch
Currently, an activity is relaunched from a resize only if the activity does not handle SCREEN_SIZE config changes and the new activity size crosses a width, height, or smallest width resource qualifier. A change in activity size may also change an activity’s screen layout. However, an activity is relaunched from a screen layout change if it does not handle SCREEN_LAYOUT config changes even if the screen layout did not cross a screen layout resource qualifier. This CL does three things: (1) Propogates screen layout qualifiers through the same path as width, height, and smallest width qualifiers in the AssetManager to make it available to the WindowManager. (2) Prevents an activity relaunch if the screen layout has been changed but does not cross a screen layout qualifier. (3) Adds tests for SizeConfigurationBuckets for the new screen layout logic as well as for existing logic. Test: atest FrameworksMockingCoreTests:SizeConfigurationBucketsTest Bug: b/192369163 b/187529743 Change-Id: I41d28e6492b76c4284c4dca2c1f3f5904fc5e91a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions