summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAndrii Kulian <akulian@google.com>2021-07-23 17:17:09 -0700
committerAndrii Kulian <akulian@google.com>2021-07-26 16:07:16 -0700
commit8c3b7511abb7946fa8a867f32d84ac7558ef82c1 (patch)
treeb9d386e391767c80950802a5af51720319c312ee /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta22be8fb7e3715b1d029ca11d2112fbeee6dfaaa (diff)
Notify split controller about activity configuration change
Track activity configuration changes, so that split controller has a chance to apply metrics-based rules like launching a placeholder. Not using ComponentCallbacks here, since they are only triggered for Application configuration changes, which might be problematic if there are multiple running activities with different sizes. They are also usually triggered before individual activity resources are updated. Also moved post-creation actions to onActivityPostCreated(), since onActivityCreated() is called from the base implementation in Activity#onCreate() and there is still a chance that app may perform some actions after calling super in its override. Bug: 194538838 Test: Configure a placeholder, launch in a small size, enlarge. Change-Id: Ied55d5f920890fa554cdd66419235d61ab03b440
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions