| 
					
				 | 
			
			
				@@ -33,7 +33,7 @@ public class AutoInstallService extends AccessibilityService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (int i = 0; i < nodes.size(); i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             AccessibilityNodeInfo node = nodes.get(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 执行按钮点击行为 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (node.getClassName().equals("android.widget.Button") && node.isEnabled()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if ("android.widget.Button".equals(node.getClassName()) && node.isEnabled()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 node.performAction(AccessibilityNodeInfo.ACTION_CLICK); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -47,7 +47,7 @@ public class AutoInstallService extends AccessibilityService { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         for (int i = 0; i < nodes.size(); i++) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             AccessibilityNodeInfo node = nodes.get(i); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 执行按钮点击行为 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (node.getClassName().equals("android.widget.TextView") && node.isEnabled()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if ("android.widget.TextView".equals(node.getClassName()) && node.isEnabled()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 node.performAction(AccessibilityNodeInfo.ACTION_CLICK); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 |