Refine the scrolling behavior for INewsHelper.java
In order to enhance the accuracy of the scrolling metrics collection, moved out the find UiObject from the scrollPage() to reduce uncertain time.
Bug: 164948634
Test: TF_GLOBAL_CONFIG=/Users/<ldap>/<workspace>/local-host-config.xml ./pts-tradefed run commandAndExit cuj/scroll/news \
--primary-abi-only \
--log-level verbose --log-level-display verbose \
--google-account:account-name \
--google-account:account-password \
--wifi-network\
--wifi-psk
Change-Id: I0397ebff28ba87d758f32b5c001699a77a0b7dad
Merged-In: I580c3d09301af8ddd4269d3a5817b4f8f26a37c4
1 file changed