Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppCleaner: Fix ACS automation not working on VIVO ROMs with Android 14 #1325

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

d4rken
Copy link
Member

@d4rken d4rken commented Jul 22, 2024

Vivo changed the target from a clickable text view:

14: className=android.widget.TextView, text=Clear cache, isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/button, pkgName=com.android.settings

to a nested textview with a clickable parent:

crawl():-----------11: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=6ca774f
crawl():------------12: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=e357d09
crawl():-------------13: className=android.widget.RelativeLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=6d52b0e
crawl():--------------14: className=android.widget.LinearLayout, text='null', isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/button, pkgName=com.android.settings, identity=6b5c92f
crawl():---------------15: className=android.widget.Button, text='Clear cache', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/vbutton_title, pkgName=com.android.settings, identity=80d2b3c

Vivo changed the target from a clickable text view:

```
14: className=android.widget.TextView, text=Clear cache, isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/button, pkgName=com.android.settings
```

to a nested textview with a clickable parent:

```
crawl():-----------11: className=android.widget.FrameLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=6ca774f
crawl():------------12: className=android.widget.LinearLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=e357d09
crawl():-------------13: className=android.widget.RelativeLayout, text='null', isClickable=false, isEnabled=true, viewIdResourceName=null, pkgName=com.android.settings, identity=6d52b0e
crawl():--------------14: className=android.widget.LinearLayout, text='null', isClickable=true, isEnabled=true, viewIdResourceName=com.android.settings:id/button, pkgName=com.android.settings, identity=6b5c92f
crawl():---------------15: className=android.widget.Button, text='Clear cache', isClickable=false, isEnabled=true, viewIdResourceName=com.android.settings:id/vbutton_title, pkgName=com.android.settings, identity=80d2b3c
```
@d4rken d4rken added bug Something isn't working as expected c: AppCleaner labels Jul 22, 2024
@d4rken d4rken merged commit 266a627 into main Jul 24, 2024
16 checks passed
@d4rken d4rken deleted the appcleaner-acs-vivo-android14 branch July 24, 2024 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected c: AppCleaner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant