mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-30 22:54:18 +00:00 
			
		
		
		
	Appshare: Updated to work with new sharing selector name.
On nexus 10 the app share selector has a new name, this commit checks for either and uses the appropriate one.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| @@ -120,6 +120,10 @@ public class UiAutomation extends UxPerfUiAutomation { | ||||
|         clickUiObject(BY_DESC, "Share", "android.widget.ImageView"); | ||||
|         UiScrollable applicationGrid = | ||||
|             new UiScrollable(new UiSelector().resourceId(googlephotos.getPackageID() + "application_grid")); | ||||
|         if (!applicationGrid.exists()){ | ||||
|             applicationGrid = | ||||
|                 new UiScrollable(new UiSelector().resourceId(googlephotos.getPackageID() + "share_expander")); | ||||
|         } | ||||
|         UiObject openApp = | ||||
|             new UiObject(new UiSelector().text(appName) | ||||
|                                          .className("android.widget.TextView")); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user