summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorBryce Lee <brycelee@google.com>2017-04-26 09:29:12 -0700
committerBryce Lee <brycelee@google.com>2017-05-09 16:13:51 -0700
commit39791594560b2326625b663ed6796882900c220f (patch)
treedb4e06445bea784502fc915834fa7b15c92632c3 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parentdea0438385393d9dab1579823b79e413c6e22f3b (diff)
Prevent non-fullscreen activities from influencing orientation
This changelist enforces that activities targeting O and beyond can only specify an orientation if they are fullscreen. The change ignores the orientation on the server side and throws an exception when the client has an orientation set in onCreate or invokes Activity#setRequestedOrientation. Fixes: 33483680 Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testNonFullscreenActivityProhibited Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testLegacyNonFullscreenActivityPermitted Change-Id: I4f7f79744918fad6465a537633dfadec8d05c6df
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions