diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-05-14 16:07:51 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-05-14 20:44:19 +0800 |
commit | 3b0ceec95bba2b17a37f3e9e83966daeef35397d (patch) | |
tree | 4dd332d60dfa3822d7b5ce8dd0c866af8917358e /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | a08db2de291dc771b55e9bf3cacc51a6d2b2bc35 (diff) |
Make sure uibench test app load list content
If the test app is relaunched by configuration change (e.g. the
testing device is put in landscape), the fragment will be kept
but its content needs to reload. Otherwise it will show a loading
animation that causes unexpected frame count.
This change makes ShadowGridActivity, ClippedListActivity,
MainActivity inherit CompatListActivity that sets new list adapter
to the existing fragment. So the list can show correct content.
Bug: 156473870
Test: atest UiBenchJankTests
Change-Id: Ie608baa7362642554c014f805c797d09f4cf3117
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions